mpegts: buffer offset set to GST_BUFFER_OFFSET_NONE
Submitted by Milos Seleceni
Link to original bug (#774837)
Description
Hi, in mpegtsmux.c in function mpegtsmux_collected_buffer the input buffer has offset set to GST_BUFFER_OFFSET_NONE which is valid if we do not know it. In case of video stream this buffer offset should be the frame number stored in this buffer. I need that frame number to write it into the timecode property of Jpeg2000 ELSM header. I'm not able to track it back where the buffers are created and how to set right offset value.
Is it bug or we do not know the offset at this time ?
Can you help me to understand where the buffers are created and how can I add the correct offset? I guess that frame number should be already known when the mpegtsmux receive the buffer.