mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gstelement.c: On paused->ready, set pad->caps to NULL, as is the documented behaviour in this state change. Fixes...
Original commit message from CVS: * gst/gstelement.c: (activate_pads): On paused->ready, set pad->caps to NULL, as is the documented behaviour in this state change. Fixes playback of series of media files when visualization is enabled in Totem.
This commit is contained in:
parent
c80125e55b
commit
c27821d70c
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/gstelement.c: (activate_pads):
|
||||
On paused->ready, set pad->caps to NULL, as is the documented
|
||||
behaviour in this state change. Fixes playback of series of
|
||||
media files when visualization is enabled in Totem.
|
||||
|
||||
2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
|
||||
|
|
|
@ -1887,6 +1887,8 @@ activate_pads (GstPad * pad, GValue * ret, gboolean * active)
|
|||
{
|
||||
if (!gst_pad_set_active (pad, *active))
|
||||
g_value_set_boolean (ret, FALSE);
|
||||
else if (!*active)
|
||||
gst_pad_set_caps (pad, NULL);
|
||||
|
||||
gst_object_unref (pad);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue