summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-07 17:36:50 +0200
committerwm4 <wm4@nowhere>2014-07-07 18:00:41 +0200
commit19dde186a0b530cf07fe0b3439a53f9c69ee1369 (patch)
tree78f214caa5fe520995ffe3e5896c37c68ad50630
parente2b0416ae155039d940846336224b29f6d8655e5 (diff)
downloadmpv-19dde186a0b530cf07fe0b3439a53f9c69ee1369.tar.bz2
mpv-19dde186a0b530cf07fe0b3439a53f9c69ee1369.tar.xz
demux: print initial metadata
This was accidentally broken in 7e209185, and metadata was printed only when it changed.
-rw-r--r--demux/demux.c1
1 files changed, 1 insertions, 0 deletions
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);