mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
parent
01d27ee084
commit
c0956342b2
1 changed files with 2 additions and 2 deletions
|
@ -2607,7 +2607,7 @@ pad_added_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
|
||||||
G_CALLBACK (notify_tags_cb), ntdata, (GClosureNotify) g_free,
|
G_CALLBACK (notify_tags_cb), ntdata, (GClosureNotify) g_free,
|
||||||
(GConnectFlags) 0);
|
(GConnectFlags) 0);
|
||||||
g_object_set_data (G_OBJECT (sinkpad), "playbin2.notify_tags_handler",
|
g_object_set_data (G_OBJECT (sinkpad), "playbin2.notify_tags_handler",
|
||||||
(gpointer) notify_tags_handler);
|
(gpointer) (guintptr) notify_tags_handler);
|
||||||
|
|
||||||
/* store the pad in the array */
|
/* store the pad in the array */
|
||||||
GST_DEBUG_OBJECT (playbin, "pad %p added to array", sinkpad);
|
GST_DEBUG_OBJECT (playbin, "pad %p added to array", sinkpad);
|
||||||
|
@ -2709,7 +2709,7 @@ pad_removed_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
|
||||||
gulong notify_tags_handler;
|
gulong notify_tags_handler;
|
||||||
|
|
||||||
notify_tags_handler =
|
notify_tags_handler =
|
||||||
(gulong) g_object_get_data (G_OBJECT (peer),
|
(guintptr) g_object_get_data (G_OBJECT (peer),
|
||||||
"playbin2.notify_tags_handler");
|
"playbin2.notify_tags_handler");
|
||||||
if (notify_tags_handler != 0)
|
if (notify_tags_handler != 0)
|
||||||
g_signal_handler_disconnect (G_OBJECT (peer), notify_tags_handler);
|
g_signal_handler_disconnect (G_OBJECT (peer), notify_tags_handler);
|
||||||
|
|
Loading…
Reference in a new issue