From 2f537bafa5c047373e13e597d66d8cbcc6ccf1f4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 1 Sep 2014 22:12:39 +0200 Subject: 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. --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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); } -- cgit v1.2.3