[FFmpeg-devel] [PATCH 10/18] lavf: move AVStream.*index_entries* to AVStreamInternal

James Almer jamrial at gmail.com
Mon Nov 16 17:20:21 EET 2020


On 11/16/2020 3:01 AM, Anton Khirnov wrote:
> Quoting Xiang, Haihao (2020-11-16 06:16:55)
>>
>> This change breaks the compiling of gst-libav (
>> https://gitlab.freedesktop.org/gstreamer/gst-libav), I filed
>> https://trac.ffmpeg.org/ticket/8988 to track this regression.
> 
> This is not a regression, it's a bug in gst-libav. These fields are
> private and have always been private, applications accessing them are
> broken.

Looking at that ticket, it seems gst-libav wants the timestamp for a 
given index entry. Unless this can already be achieved in some other 
way, it could maybe be implemented cleanly with a new public function 
(We have av_index_search_timestamp() to fetch an index from a timestamp 
after all).


More information about the ffmpeg-devel mailing list