[gstreamer-bugs] [Bug 597550] basesrc: sometimes no buffers produced after PLAYING - PAUSED - PLAYING
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Oct 15 07:35:36 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=597550
GStreamer | gstreamer (core) | 0.10.24
Wim Taymans <wim.taymans> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.26
--- Comment #2 from Wim Taymans <wim.taymans at gmail.com> 2009-10-15 14:35:30 UTC ---
commit e9f2714ff946b3260439d981747b2159dcc4e00a
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Thu Oct 15 16:30:36 2009 +0200
basesrc: fix race in PLAYING->PAUSED->PLAYING
When we quickly switch from PLAYING to PAUSED and back to PLAYING it's
possible
in some cases that the task refuses to start, This is because when we go to
PAUSED, we unschedule the clock timeout, which could return UNSCHEDULED
when
we're back to PLAYING, causing the task to PAUSE again with a wrong-state.
This patch checks if we are running when we return with an UNSCHEDULED
return
value and if we are, try to create a new buffer.
Fixes #597550
--
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