How to reset time in elements when pipeline is running ?

stic at free.fr stic at free.fr
Tue Sep 16 09:06:08 PDT 2014


I am not sure where to look... I look into gnlcomposition around here http://cgit.freedesktop.org/gstreamer/gnonlin/tree/gnl/gnlcomposition.c#n707, but that's not very clear to me.
Can you be more specific about where to look or about the logic to apply ?

Is it the same as sending a new segment event ? Because I tried sending a new segment event to the corresponding source pads but it had not effect....

----- Mail original -----
De: "Nicolas Dufresne" <nicolas.dufresne at collabora.com>
À: gstreamer-devel at lists.freedesktop.org
Envoyé: Mardi 16 Septembre 2014 15:59:39
Objet: Re: How to reset time in elements when pipeline is running ?


Le 2014-09-12 07:42, stic at free.fr a écrit :
> 1 - I tried resetting buffer timestamp with buffer probe callback, one probe for video, another for audio:
The best is to update the segment information, which is used to 
translate the timestamp. Have a look at gnonlin for reference of doing this.

Nicolas
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list