[gstreamer-bugs] [Bug 608484] [playbin2] problem with redirect and reset to READY

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 1 03:55:35 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=608484
  GStreamer | gst-plugins-base | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152716|none                        |accepted-commit_now
             status|                            |

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-02-01 11:55:29 UTC ---
Review of attachment 152716:
 --> (https://bugzilla.gnome.org/review?bug=608484&attachment=152716)

Cool, thanks for the fix, please commit (btw, there's a typo in the commit
message: "chaged").

::: gst/playback/gsturidecodebin.c
@@ +1181,3 @@
       gst_bin_remove (GST_BIN_CAST (bin), decoder);
+      /* restore some properties we might have changed */
+      g_object_set (G_OBJECT (decoder), "sink-caps", NULL, NULL);

FWIW, g_object_set() takes a gpointer as first argument, so the G_OBJECT cast
is not strictly necessary here.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list