appsrc with GST_FORMAT_BYTES cannot query duration

gyunaev gyunaev at ulduzsoft.com
Sun Mar 27 07:36:44 UTC 2016


Thanks to Nicolas and Sebastian, changing the appsrc format to
GST_FORMAT_TIME fixed the seeking issue. 

For those having a similar issue and fixing it like that, note that:

1. You must timestamp the buffers instead of using offset and offset_end;
and

2. Your seek callback now retrieves a time position, not the offset - you
need to convert it to file offset yourself before calling your seek
implementation.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/appsrc-with-GST-FORMAT-BYTES-cannot-query-duration-tp4676539p4676581.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list