-
- Downloads
ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes.
Originally, AVFormatContext and a metadata dict were provided to ff_vorbis_comment(),
but this presented issues if an AVStream was being updated or the metadata on
AVFormatContext wasn't actually being updated. To remedy this, ff_vorbis_stream_comment()
explicitly updates a stream's metadata and sets any necessary flags.
ff_vorbis_comment() does not modify any flags, and any calls to it that update
AVFormatContext's metadata (just a single call) must also update
AVFormatContext.event_flags after detecting any metadata changes to the provided
dictionary, as signaled by a positive return value.
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
Showing
- libavformat/flacdec.c 4 additions, 1 deletionlibavformat/flacdec.c
- libavformat/oggdec.h 3 additions, 0 deletionslibavformat/oggdec.h
- libavformat/oggparsecelt.c 1 addition, 1 deletionlibavformat/oggparsecelt.c
- libavformat/oggparseflac.c 1 addition, 1 deletionlibavformat/oggparseflac.c
- libavformat/oggparseogm.c 1 addition, 1 deletionlibavformat/oggparseogm.c
- libavformat/oggparseopus.c 1 addition, 1 deletionlibavformat/oggparseopus.c
- libavformat/oggparsespeex.c 1 addition, 1 deletionlibavformat/oggparsespeex.c
- libavformat/oggparsetheora.c 1 addition, 1 deletionlibavformat/oggparsetheora.c
- libavformat/oggparsevorbis.c 19 additions, 4 deletionslibavformat/oggparsevorbis.c
Loading
Please register or sign in to comment