clock allocation in PAUSED state

Sebastian Dröge sebastian at centricular.com
Wed Jan 15 07:51:08 PST 2014


On Mi, 2014-01-15 at 21:14 +0530, Yogesh Tyagi wrote:
> Thanks for your reply.
> 
> I wanted to enable the discontinuity handling in my demux element based on
> the arrival time of the discontinuous PCRs by calling one api (provided by
> hardware demux) which required that a clock must be set on demux before
> doing this.This api also cannot be called after my demux got the PCR. Now
> as per Gstreamer design,I can only assign clock to demux while moving to
> PLAY state, and by that my demux gets the PCR so it doesn't let me call the
> api for handling demux discontinuity. That's why I wanted that I have a
> clock in PAUSED state.

This sounds like your hardware demuxer has its own clock already? But
especially it sounds like your hardware demuxer only works live, i.e. it
will fail when PAUSED.

Take a look at the rtpjitterbuffer element for example, it does
something that sounds similar to what you want to do.


In any case, you can always use the system clock and it will always
provide you with advancing time.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- 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/20140115/7dfb4785/attachment-0001.pgp>


More information about the gstreamer-devel mailing list