On 22.02.2023 21:41, Drew Abbott wrote:
Hello,

I am trying to build Chromium 110 with ffmpeg version 5.1.2. One of
the errors I get while building has to do with the API for accessing
first_dts. It looks like previously it was just a member of AVStream,
but now it can only be accessed with av_stream_get_first_dts:
https://github.com/chromium/chromium/commit/b94755e4633045be96ab5e0bdde0db7e16a804bd
I can see now first_dts is a member of FFStream, but I don't know how
to go from an AVStream to an FFStream without using internals of
libavformat, if that is even possible. How was first_dts accessed in
5.1.2 from an AVStream?

first_dts is a purely internal field of libavformat, you can't access it from outside of it. av_stream_get_first_dts() is not a function I see anywhere in the ffmpeg codebase.
_______________________________________________
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