diff options
author | wm4 <wm4@nowhere> | 2014-09-01 22:12:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-01 22:12:39 +0200 |
commit | 2f537bafa5c047373e13e597d66d8cbcc6ccf1f4 (patch) | |
tree | a848197569bc9126b73aede38d29f772b157e1a3 /player | |
parent | 0aaf688c2d39a9e7a4753ffd94a6bc7995eeed23 (diff) | |
download | mpv-2f537bafa5c047373e13e597d66d8cbcc6ccf1f4.tar.bz2 mpv-2f537bafa5c047373e13e597d66d8cbcc6ccf1f4.tar.xz |
demux: get rid of old wrapper
demux_info_get() used to be central, but was turned into a wrapper, and
now there was only one caller left. Get rid of it.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 0f6dca2f2e..6c163c172b 100644 --- a/player/command.c +++ b/player/command.c @@ -234,7 +234,7 @@ static int mp_property_media_title(void *ctx, struct m_property *prop, if (name && name[0]) return m_property_strdup_ro(action, arg, name); if (mpctx->master_demuxer) { - name = demux_info_get(mpctx->master_demuxer, "title"); + name = mp_tags_get_str(mpctx->master_demuxer->metadata, "title"); if (name && name[0]) return m_property_strdup_ro(action, arg, name); } |