diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-06-23 23:02:31 +0300 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-06-23 23:02:31 +0300 |
commit | b1e1da52fe2e7320363fdaa0cdd276847e25bf53 (patch) | |
tree | 626b8c306915e23a0daefb3e39f64beccd70675a /libavformat/internal.h | |
parent | 388f0957660027418ef931adaf21346e19ec2b67 (diff) | |
parent | e1eb0fc960163402bbb4e630185790488f7d28ed (diff) |
Merge commit 'e1eb0fc960163402bbb4e630185790488f7d28ed'
* commit 'e1eb0fc960163402bbb4e630185790488f7d28ed':
movenc: Use packets in interleaving queues for the duration at the end of fragments
Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 99015271b6..6b7f677950 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -620,4 +620,14 @@ int ff_get_packet_palette(AVFormatContext *s, AVPacket *pkt, int ret, uint32_t * */ int ff_bprint_to_codecpar_extradata(AVCodecParameters *par, struct AVBPrint *buf); +/** + * Find the next packet in the interleaving queue for the given stream. + * The packet is not removed from the interleaving queue, but only + * a pointer to it is returned. + * + * @return a pointer to the next packet, or NULL if no packet is queued + * for this stream. + */ +const AVPacket *ff_interleaved_peek(AVFormatContext *s, int stream); + #endif /* AVFORMAT_INTERNAL_H */ |