On 29.05.2019, at 19:51, Swaraj Hota <swarajhota...@gmail.com> wrote:
>> 
>> Entirely depends on the purpose.
>> If the aim is to have a working demuxer, I think it is acceptable from what 
>> I looked at.
>> I guess the only concern might be that not supporting piped input would be a 
>> bit of a regression from the first patch.
> 
> Is there another simpler way to support piped input? Can you explain a
> bit?

The mov demuxer code isn't really all that complicated.
The basic idea is: if the input is not seekable, decided whether to read audio 
or video based on which one has the lowest file position (a bit like your 
original patch, but using it only for the "audio or video next" decision.
If input is seekable, pick the stream with the lowest next timestamp as your 
patch does now.
It should be not that complicated in principle, but the details can make it a 
pain sometimes.
_______________________________________________
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