decodebin2: Deprecate new-decoded-pad and removed-decoded-pad signals

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.
This commit is contained in:
Sebastian Dröge 2010-12-11 17:18:49 +01:00
parent 42dee942d4
commit 09ff04a00a

View 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 * This signal gets emitted as soon as a new pad of the same type as one of
* the valid 'raw' types is added. * the valid 'raw' types is added.
*
* Deprecated: Use GstElement::pad-added instead of this signal.
*
*/ */
gst_decode_bin_signals[SIGNAL_NEW_DECODED_PAD] = gst_decode_bin_signals[SIGNAL_NEW_DECODED_PAD] =
g_signal_new ("new-decoded-pad", G_TYPE_FROM_CLASS (klass), 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 * @pad: The pad that was removed
* *
* This signal is emitted when a 'final' caps pad has been 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] = gst_decode_bin_signals[SIGNAL_REMOVED_DECODED_PAD] =
g_signal_new ("removed-decoded-pad", G_TYPE_FROM_CLASS (klass), g_signal_new ("removed-decoded-pad", G_TYPE_FROM_CLASS (klass),