Quoting Soft Works (2021-09-19 00:08:18) > Signed-off-by: softworkz <softwo...@hotmail.com> > --- > doc/APIchanges | 3 +++ > libavformat/avformat.h | 9 +++++++++ > libavformat/utils.c | 5 +++++ > libavformat/version.h | 2 +- > 4 files changed, 18 insertions(+), 1 deletion(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index cf6105c99e..fee94ccadd 100644 > --- a/doc/APIchanges > +++ b/doc/APIchanges > @@ -14,6 +14,9 @@ libavutil: 2021-04-27 > > API changes, most recent first: > > +2021-04-27 - xxxxxxxxxx - lavf 59.6.100 - avformat.h > + Add av_stream_get_codec_properties() > + > 2021-09-17 - xxxxxxxxxx - lavu 57.5.101 - buffer.h > Constified the input parameters in av_buffer_replace(), av_buffer_ref(), > and av_buffer_pool_buffer_get_opaque(). > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index 3a5bc8a06d..89ed984d1d 100644 > --- a/libavformat/avformat.h > +++ b/libavformat/avformat.h > @@ -2763,6 +2763,15 @@ int > avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt, > */ > AVRational av_stream_get_codec_timebase(const AVStream *st); > > +/** > + * Get the internal codec properties from a stream.
This is a bad idea. We do not want to hardcode "internal codec properties" into the API. -- Anton Khirnov _______________________________________________ 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".