[Bug 722767] element: add function to sync element state with target state of the parent

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 11 12:20:22 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722767
  GStreamer | gstreamer (core) | 1.x

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-02-11 20:20:19 UTC ---
The problem I see with this is that it can cause the child element to run ahead
of the parent bin, e.g.

1) set_state(bin, PLAYING)
2) bin goes to READY
3) child is added, sync_state_with_parent() => set_state(child, PLAYING)
4) child goes to PLAYING directly
...
5) bin goes to PAUSED


Not sure if that is a problem. It seems weird though. And we need to check the
code in GstBin to see if it could cause the child element in the above example
to go from PLAYING to PAUSED, and then later back to PLAYING.

-- 
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