GNOME Bugzilla – Bug 720836
Gstreamer Playbin setting states
Last modified: 2014-01-14 21:43:30 UTC
Issue: Video not playing smoothly and if user issue stop command, same video will start playing back again. State transitioning does not work properly. When Rygel gets following message.Types from the GST bus, rygel should not be setting the GST states PLAYING or PAUSED. GST itself capable of handling the BUFFERING and CLOCK_LOST. It confuses the Gstreamer and as a result video freezing and video stop does not working properly. Our Gstreamer team have confirmed that rygel should not be handling following message types in GST point of view. MessageType.BUFFERING: MessageType.CLOCK_LOST: by removing following state changing statements in both cases, now stop command works properly and video is playing back lot smoother than before. //this.playbin.set_state (State.PAUSED); //this.playbin.set_state (State.PLAYING); Please let us know any feedback. Thanks, Siva
Created attachment 264645 [details] [review] Patch to disable changing the gst state during BUFFERING and CLOCK_LOST
I'm more than happy to remove this; I was told we should handle it, though. I'll prepare a patch to remove the whole message handling.
Created attachment 264674 [details] [review] renderer-gst: Don't handle buffering/clock-lost Signed-off-by: Jens Georg <mail@jensge.org>
Can you check whether this patch works for you as well?
Yes. Verified that renderer-gst:don't handle buffering/clock-lost patch also works fine.
Attachment 264674 [details] pushed as 943a61d - renderer-gst: Don't handle buffering/clock-lost