aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-13 23:36:25 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-13 23:36:30 +0200
commit314c198413bf4cc07190ba3b828d693cc474db9d (patch)
tree7ef1ac8a04392044a8a8b68fbde5b9ff2fe74c38
parent9f97f7c5463874c60ca9a74bb8b21982e6b8f53d (diff)
parent0f789322efa78a672e4c3027e5cc12b8a947043a (diff)
downloadffmpeg-314c198413bf4cc07190ba3b828d693cc474db9d.tar.gz
Merge commit '0f789322efa78a672e4c3027e5cc12b8a947043a'
* commit '0f789322efa78a672e4c3027e5cc12b8a947043a': flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes. Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/flvdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 5702db1c4b..8d9ed8b24d 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -523,6 +523,7 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
!strcmp(key, "datastream"))
return 0;
+ s->event_flags |= AVFMT_EVENT_FLAG_METADATA_UPDATED;
if (amf_type == AMF_DATA_TYPE_BOOL) {
av_strlcpy(str_val, num_val > 0 ? "true" : "false",
sizeof(str_val));