Transmit absolute time

Sebastian Dröge sebastian at centricular.com
Sat Oct 24 10:42:32 PDT 2015


On Sa, 2015-10-24 at 19:23 +0200, Pietro Bonfa' wrote:
> On 10/24/2015 06:29 PM, Sebastian Dröge wrote:
> > By timestamping from outside appsrc, you don't really know when the
> > element reached the PLAYING state. You can only get the base time
> > (and
> > are guaranteed to get a clock) when the element is in PLAYING. And
> > should not produce any buffers before that.
> 
> That's good to know. I erroneously thought that the "need-data"
> signal
> was emitted only when the Element is in playing state.

It probably should when using appsrc in live mode :) Can you file a bug
about that?

But you probably should just capture frames in your pace, and just push
them to appsrc... instead of waiting for appsrc to tell you that it
wants data.


-- 
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/20151024/ebb24c70/attachment.sig>


More information about the gstreamer-devel mailing list