Skip to content

Commit

Permalink
notify users of metadata update by EIT
Browse files Browse the repository at this point in the history
  • Loading branch information
0p1pp1 authored and 0p1pp1 committed Aug 2, 2018
1 parent b230101 commit 29ec522
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libavformat/mpegts.c
Expand Up @@ -2580,6 +2580,8 @@ static void eit_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
lang[3] = '\0';
av_dict_set(&stream->metadata, "language2", lang, 0);
}

stream->event_flags |= AVSTREAM_EVENT_FLAG_METADATA_UPDATED;
}
break;
default:
Expand Down

0 comments on commit 29ec522

Please sign in to comment.