Reasons for losing a clock?

Sebastian Dröge sebastian at centricular.com
Mon Jan 26 04:37:20 PST 2015


On Mo, 2015-01-26 at 02:57 -0800, Ralph wrote:
> My test application works, but my final C# WPF application using GStreamer
> 1.4.5 plays video at wrong speed because of losing the clock.
> 
> Initially the clock is reported to work correctly:
> 
> But when the pipeline state changes from READY to PAUSED, the clock is lost:
> 
> Any idea why it happens?

You mean when you change the pipeline state from PAUSED to READY? That
would be expected. Or how/when does the pipeline go back to READY after
it was running already?

What's your pipeline, what file formats, streaming protocols, etc do you
use?

Whenever you get a CLOCK_LOST message on the bus, you'll also need to
set the pipeline shortly to PAUSED and then back to PLAYING (if the
pipeline was supposed to be in PLAYING). See the gst-launch code for an
example.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150126/a4e7795a/attachment-0001.sig>


More information about the gstreamer-devel mailing list