From 19dde186a0b530cf07fe0b3439a53f9c69ee1369 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 7 Jul 2014 17:36:50 +0200 Subject: demux: print initial metadata This was accidentally broken in 7e209185, and metadata was printed only when it changed. --- demux/demux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demux/demux.c b/demux/demux.c index 08c7e24a30..b04adbaabb 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -461,6 +461,7 @@ static struct demuxer *open_given_type(struct mpv_global *global, .glog = log, .filename = talloc_strdup(demuxer, stream->url), .metadata = talloc_zero(demuxer, struct mp_tags), + .events = DEMUX_EVENT_METADATA, }; demuxer->params = params; // temporary during open() int64_t start_pos = stream_tell(stream); -- cgit v1.2.3