On 2022-06-14 01:51 pm, Marton Balint wrote:


On Tue, 14 Jun 2022, Gyan Doshi wrote:

Add new flag AVFMT_START_REALTIME for the couple of demuxers that set it
internally.

I don't think this is the same semantics.

start_time_realtime is the time when the stream was originally captured, and not when the stream was received. So you can't simply use av_gettime() in the demuxers for that field.

I saw that in the rtsp read_packet. I thought of adding a new field but think the semantics are close enough to serve the purpose of a rough sync so I added the flag for the demuxers that receive origin timestamp.

I can update the doxy to record this difference. Or should I add a new field?

Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to