Skip to content

Commit 29ec522

Browse files
0p1pp10p1pp1
authored andcommitted
notify users of metadata update by EIT
1 parent b230101 commit 29ec522

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libavformat/mpegts.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2580,6 +2580,8 @@ static void eit_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
25802580
lang[3] = '\0';
25812581
av_dict_set(&stream->metadata, "language2", lang, 0);
25822582
}
2583+
2584+
stream->event_flags |= AVSTREAM_EVENT_FLAG_METADATA_UPDATED;
25832585
}
25842586
break;
25852587
default:

0 commit comments

Comments
 (0)