decodebin2: Deprecate new-decoded-pad and removed-decoded-pad signals
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 11 Dec 2010 16:18:49 +0000 (17:18 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 11 Dec 2010 16:18:49 +0000 (17:18 +0100)
They're really the same as pad-added and pad-removed from GstElement
and it doesn't make sense to have two signals for the same thing.

gst/playback/gstdecodebin2.c

index c4be4af..bcf4731 100644 (file)
@@ -596,6 +596,9 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
    *
    * This signal gets emitted as soon as a new pad of the same type as one of
    * the valid 'raw' types is added.
+   *
+   * Deprecated: Use GstElement::pad-added instead of this signal.
+   *
    */
   gst_decode_bin_signals[SIGNAL_NEW_DECODED_PAD] =
       g_signal_new ("new-decoded-pad", G_TYPE_FROM_CLASS (klass),
@@ -610,6 +613,9 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
    * @pad: The pad that was removed
    *
    * This signal is emitted when a 'final' caps pad has been removed.
+   *
+   * Deprecated: Use GstElement::pad-removed instead of this signal.
+   *
    */
   gst_decode_bin_signals[SIGNAL_REMOVED_DECODED_PAD] =
       g_signal_new ("removed-decoded-pad", G_TYPE_FROM_CLASS (klass),