You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '0f789322efa78a672e4c3027e5cc12b8a947043a'
* commit '0f789322efa78a672e4c3027e5cc12b8a947043a': flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -523,6 +523,7 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
|
|||||||
!strcmp(key, "datastream"))
|
!strcmp(key, "datastream"))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
s->event_flags |= AVFMT_EVENT_FLAG_METADATA_UPDATED;
|
||||||
if (amf_type == AMF_DATA_TYPE_BOOL) {
|
if (amf_type == AMF_DATA_TYPE_BOOL) {
|
||||||
av_strlcpy(str_val, num_val > 0 ? "true" : "false",
|
av_strlcpy(str_val, num_val > 0 ? "true" : "false",
|
||||||
sizeof(str_val));
|
sizeof(str_val));
|
||||||
|
Reference in New Issue
Block a user