mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gst/playback/gstdecodebin.c: Use realpad for signal.
Original commit message from CVS: * gst/playback/gstdecodebin.c: (try_to_link_1): Use realpad for signal.
This commit is contained in:
parent
05c3ee812c
commit
b3c629c72f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/playback/gstdecodebin.c: (try_to_link_1):
|
||||
Use realpad for signal.
|
||||
|
||||
2005-01-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_base_init):
|
||||
|
|
|
@ -523,7 +523,7 @@ try_to_link_1 (GstDecodeBin * decode_bin, GstPad * pad, GList * factories)
|
|||
}
|
||||
}
|
||||
/* make sure we catch unlink signals */
|
||||
sig = g_signal_connect (G_OBJECT (pad), "unlinked",
|
||||
sig = g_signal_connect (G_OBJECT (GST_PAD_REALIZE (pad)), "unlinked",
|
||||
G_CALLBACK (unlinked), decode_bin);
|
||||
/* keep a ref to the signal id so that we can disconnect the signal callback */
|
||||
g_object_set_data (G_OBJECT (pad), "unlinked_id", GINT_TO_POINTER (sig));
|
||||
|
|
Loading…
Reference in a new issue