Resetting time stamp in source

classic Classic list List threaded Threaded
4 messages Options
Vnd
Reply | Threaded
Open this post in threaded view
|

Resetting time stamp in source

Vnd
Hi,

I have custom source plugin where time stamps are provided by the driver.
When there are issue in the capture driver recovers ans starts time stamp from zero, in that case the next element which has QOS enabled is dropping the buffers.

How to reset the pipeline time stamp ??  so that all element will get synced to new time stamps.

I tried to create new segment with running time as zero no luck.
 

~ Vinod
Vnd
Reply | Threaded
Open this post in threaded view
|

Re: Resetting time stamp in source

Vnd
Any help on this ??
Reply | Threaded
Open this post in threaded view
|

Re: Resetting time stamp in source

Jan Alexander Steffens
Your source should be based on GstBaseSrc, which has a function called gst_base_src_new_seamless_segment that I think can help you.

On Mon, Jul 4, 2016 at 10:54 AM Vinod K <[hidden email]> wrote:
Any help on this ??



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Resetting-time-stamp-in-source-tp4678353p4678398.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Vnd
Reply | Threaded
Open this post in threaded view
|

Re: Resetting time stamp in source

Vnd
Thanks for the reply.
I tried configuring to gst_base_src_new_seamless_segment (baseSrc, 0,-1,0);
but it didn't work for me.
Let me debug further. i think demuser in the pipeline is adjusting the timestamp.