GNOME Bugzilla – Bug 585569
rtsp/rtp streaming fails when skipping explicit PAUSED state change
Last modified: 2009-06-15 16:47:16 UTC
Attaching a pygst test program. Run it without arguments to get this: 0:00:01.166385865 19608 0x1058c40 WARN rtpsource rtpsource.c:925:calculate_jitter: cannot get current time 0:00:01.371305072 19608 0x1058c40 WARN rtpsource rtpsource.c:925:calculate_jitter: cannot get current time 0:00:01.591286913 19608 0x1058c40 WARN rtpsource rtpsource.c:925:calculate_jitter: cannot get current time [...] and no playback. If you comment in the intermediate state change to PAUSED, it works: ## p.set_state (gst.STATE_PAUSED) p.set_state (gst.STATE_PLAYING) --> p.set_state (gst.STATE_PAUSED) p.set_state (gst.STATE_PLAYING) Doesn't make much sense at all; I debugged it a little and it seems that the pipeline clock isn't distributed correctly for some reason...
Created attachment 136437 [details] Test program
true and interesting indeed.
commit d881bf69d1337e5bdd72dc3d238fb291d7322196 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Jun 15 18:44:45 2009 +0200 bin: make sure we set the next state correctly When the continue function is scheduled, make sure we set the next state instead of the pending state. Add some more debug info. fixes #585569