Commit 314c1984 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '0f789322'

* commit '0f789322':
  flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 9f97f7c5 0f789322
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment