diff options
author | wm4 <wm4@nowhere> | 2014-02-06 13:41:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-06 13:41:20 +0100 |
commit | eb1ec14b67462c6a1420e2fa67b8213cad83b297 (patch) | |
tree | 1b31c7c323dfb21da94bf0cf5528e5093f3b5476 /player | |
parent | 5693b5ae16217eb62f4fad43ab90a310dfca4f41 (diff) | |
download | mpv-eb1ec14b67462c6a1420e2fa67b8213cad83b297.tar.bz2 mpv-eb1ec14b67462c6a1420e2fa67b8213cad83b297.tar.xz |
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.
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |