On 09/01/2017 12:38, Anton Khirnov wrote:
> Quoting Luca Barbato (2017-01-09 11:36:47)
>> On 09/01/2017 10:47, Anton Khirnov wrote:
>>> The patch is fine with me, but more generally I'd say that as long
>>> as the muxer is open, the AVIOContext belongs to it and the caller
>>> touching it in any way is invalid.
>>
>> Shall we add an avformat_report_progress() or similar?
> 
> Perhaps a field in AVFormatContext which stores the number of bytes
> written so far?
> 

Should be quite easy to implement, basically at the end of every
avformat write call we'd have to take the value from avio and store it
to avformat.

lu
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to