projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c04e0
)
flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata...
author
Andrew Stone
<andrew@clovar.com>
Tue, 12 Aug 2014 21:03:52 +0000
(17:03 -0400)
committer
Anton Khirnov
<anton@khirnov.net>
Wed, 13 Aug 2014 16:23:28 +0000
(16:23 +0000)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/flvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/flvdec.c
b/libavformat/flvdec.c
index
b9391c3
..
56c932c
100644
(file)
--- a/
libavformat/flvdec.c
+++ b/
libavformat/flvdec.c
@@
-498,6
+498,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));