Commit 3b2762a5 authored by Wim Taymans's avatar Wim Taymans Committed by Jan Schmidt

gst/playback/gstdecodebin2.c: When handling a delayed-caps notification case,...

gst/playback/gstdecodebin2.c: When handling a delayed-caps notification case, mark the group as dynamic so that the n...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (analyze_new_pad):
When handling a delayed-caps notification case, mark
the group as dynamic so that the nbdynamic count is
incremented and decremented correctly. Fixes: #449156
Patch by: Wim Taymans <wim@fluendo.com>
parent ae6fd1b3
2007-06-20 Jan Schmidt <thaytan@mad.scientist.com>
* gst/playback/gstdecodebin2.c: (analyze_new_pad):
When handling a delayed-caps notification case, mark
the group as dynamic so that the nbdynamic count is
incremented and decremented correctly. Fixes: #449156
Patch by: Wim Taymans <wim@fluendo.com>
2007-06-19 Andy Wingo <wingo@pobox.com>
* gst-libs/gst/audio/gstbaseaudiosink.c
......@@ -838,10 +838,14 @@ any_caps:
setup_caps_delay:
{
/* connect to caps notification */
if (group)
if (group) {
GROUP_MUTEX_LOCK (group);
group->nbdynamic++;
GST_LOG ("Group %p has now %d dynamic elements", group, group->nbdynamic);
GROUP_MUTEX_UNLOCK (group);
g_signal_connect (G_OBJECT (pad), "notify::caps",
G_CALLBACK (caps_notify_group_cb), group);
else
} else
g_signal_connect (G_OBJECT (pad), "notify::caps",
G_CALLBACK (caps_notify_cb), dbin);
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment