Unified · Split
| @@ -15,6 +15,9 @@ libavutil: 2017-10-21 · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | API changes, most recent first: | 16 | API changes, most recent first: |
| 17 | 17 | ||
| 18 | 2020-xx-xx - xxxxxxxxxx - lavf 58.64.100 - avformat.h | ||
| 19 | Add AVSTREAM_EVENT_FLAG_NEW_PACKETS. | ||
| 20 | |||
| 18 | 2020-xx-xx - xxxxxxxxxx - lavu 56.60.100 - buffer.h | 21 | 2020-xx-xx - xxxxxxxxxx - lavu 56.60.100 - buffer.h |
| 19 | Add a av_buffer_replace() convenience function. | 22 | Add a av_buffer_replace() convenience function. |
| 20 | 23 | ||
| @@ -995,6 +995,12 @@ typedef struct AVStream { · 994 unmodified lines | |||
| 995 | * it into the file | 995 | * it into the file |
| 996 | */ | 996 | */ |
| 997 | #define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 | 997 | #define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 |
| 998 | /** | ||
| 999 | * - demuxing: new packets for this stream were read from the file. This | ||
| 1000 | * event is informational only and does not guarantee that new packets | ||
| 1001 | * for this stream will necessarily be returned from av_read_frame(). | ||
| 1002 | */ | ||
| 1003 | #define AVSTREAM_EVENT_FLAG_NEW_PACKETS (1 << 1) | ||
| 998 | 1004 | ||
| 999 | /** | 1005 | /** |
| 1000 | * Real base framerate of the stream. | 1006 | * Real base framerate of the stream. |
| @@ -1533,6 +1533,8 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt) · 1532 unmodified lines | |||
| 1533 | ret = 0; | 1533 | ret = 0; |
| 1534 | st = s->streams[pkt->stream_index]; | 1534 | st = s->streams[pkt->stream_index]; |
| 1535 | 1535 | ||
| 1536 | st->event_flags |= AVSTREAM_EVENT_FLAG_NEW_PACKETS; | ||
| 1537 | |||
| 1536 | /* update context if required */ | 1538 | /* update context if required */ |
| 1537 | if (st->internal->need_context_update) { | 1539 | if (st->internal->need_context_update) { |
| 1538 | if (avcodec_is_open(st->internal->avctx)) { | 1540 | if (avcodec_is_open(st->internal->avctx)) { |
| @@ -32,7 +32,7 @@ · 31 unmodified lines | |||
| 32 | // Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium) | 32 | // Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium) |
| 33 | // Also please add any ticket numbers that you believe might be affected here | 33 | // Also please add any ticket numbers that you believe might be affected here |
| 34 | #define LIBAVFORMAT_VERSION_MAJOR 58 | 34 | #define LIBAVFORMAT_VERSION_MAJOR 58 |
| 35 | #define LIBAVFORMAT_VERSION_MINOR 63 | 35 | #define LIBAVFORMAT_VERSION_MINOR 64 |
| 36 | #define LIBAVFORMAT_VERSION_MICRO 100 | 36 | #define LIBAVFORMAT_VERSION_MICRO 100 |
| 37 | 37 | ||
| 38 | #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ | 38 | #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ |