1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

avformat/avio{,buf}: introduce public AVIOContext::bytes_{read,written}

Such fields can be seen as generally useful in cases where the
API user is not implementing custom AVIO callbacks, but still would
like to know if data is being read or written out, such as in case
data is being read from input but no AVPacket has been received yet.
This commit is contained in:
Jan Ekström
2021-10-18 00:35:48 +03:00
parent a5622ed16f
commit 682bafdb12
5 changed files with 30 additions and 4 deletions

View File

@@ -14,6 +14,9 @@ libavutil: 2021-04-27
API changes, most recent first:
2021-10-18 - xxxxxxxxxx - lavf 59.8.100 - avio.h
Introduce public bytes_{read,written} statistic fields to AVIOContext.
2021-10-13 - xxxxxxxxxx - lavf 59.7.100 - avio.h
Deprecate AVIOContext.written. Originally added as a private entry in
commit 3f75e5116b900f1428aa13041fc7d6301bf1988a, its grouping with