diff options
Diffstat (limited to 'gst/playback/gstdecodebin2.c')
-rw-r--r-- | gst/playback/gstdecodebin2.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index fcefecda3..e4726eba0 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -253,13 +253,6 @@ enum static GstBinClass *parent_class; static guint gst_decode_bin_signals[LAST_SIGNAL] = { 0 }; -static const GstElementDetails gst_decode_bin_details = -GST_ELEMENT_DETAILS ("Decoder Bin", - "Generic/Bin/Decoder", - "Autoplug and decode to raw media", - "Edward Hervey <edward.hervey@collabora.co.uk>, " - "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); - static GstStaticCaps default_raw_caps = GST_STATIC_CAPS (DEFAULT_RAW_CAPS); static void do_async_start (GstDecodeBin * dbin); @@ -852,7 +845,11 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass) gst_element_class_add_pad_template (gstelement_klass, gst_static_pad_template_get (&decoder_bin_src_template)); - gst_element_class_set_details (gstelement_klass, &gst_decode_bin_details); + gst_element_class_set_details_simple (gstelement_klass, + "Decoder Bin", "Generic/Bin/Decoder", + "Autoplug and decode to raw media", + "Edward Hervey <edward.hervey@collabora.co.uk>, " + "Sebastian Dröge <sebastian.droege@collabora.co.uk>"); gstelement_klass->change_state = GST_DEBUG_FUNCPTR (gst_decode_bin_change_state); |