Tomas Härdin (12024-03-30):
> Players can implement sorting if they wish.

API break.

> One potential solution is to do this style of parsing when the input is
> non-seekable. But then we have the silly situation where streamed and
> non-streamed behavior differs considerably.

Sure, better break both cases than only one.

> Finally I will note that sorting does not happen when subtitles are
> muxed in say mkv or avi, so the behavior is not even consistent across
> demuxers that support subtitles.

AVI or MKV demuxer do not sort their packets because the packets are
supposed to be already sorted; ASS demuxer sorts its packets because
there is no guarantee the text are sorted in the file. [exploding head
emoji]

-- 
  Nicolas George
_______________________________________________
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