From eb1ec14b67462c6a1420e2fa67b8213cad83b297 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 6 Feb 2014 13:41:20 +0100 Subject: demux: handle tag updates differently Instead of printing lines like: Demuxer info GENRE changed to Alternative Rock Just output all tags once they change. The assumption is that individual tags rarely change, while all tags change in the common case. This changes tag updates to use polling. This could be fixed later, although the ICY stuff makes it a bit painful, so maybe it will remain this way. Also remove DEMUXER_CTRL_UPDATE_INFO. This was intended to check for tag updates, but now we use a different approach. --- player/loadfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') diff --git a/player/loadfile.c b/player/loadfile.c index 13335db886..685d87d380 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1256,7 +1256,7 @@ goto_reopen_demuxer: ; } reselect_demux_streams(mpctx); - demux_info_print(mpctx->master_demuxer); + demux_info_update(mpctx->master_demuxer); print_file_properties(mpctx); #if HAVE_ENCODING -- cgit v1.2.3