summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-19 23:54:21 +0100
committerwm4 <wm4@nowhere>2014-12-19 23:54:21 +0100
commit9f4b01400ea515b295ad9f0b92d011e80ed0389f (patch)
tree44c2991220f5ca349d62afaf823250a95b323784 /player/core.h
parentfcd2ea760108ebc1c3eb59e443407e91b8a33e6b (diff)
downloadmpv-9f4b01400ea515b295ad9f0b92d011e80ed0389f.tar.bz2
mpv-9f4b01400ea515b295ad9f0b92d011e80ed0389f.tar.xz
player: print only changed tags
The code in the demuxer etc. was changed to update all metadata/tags at once, instead of changing each metadata field. As a consequence, printing of the tags to the terminal was also changed to print everything on each change. Some users didn't like this. Add a very primitive way to avoid printing fields with the same value again if metadata is marked as changed. This is not always correct (could print unchanged fields anyway), but usually works. (In general, a rather roundabout way to reflect a changed title with ICY streaming...) Fixes #813 (let's call it a "policy change").
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index 344e55df19..d6360c5135 100644
--- a/player/core.h
+++ b/player/core.h
@@ -196,6 +196,7 @@ typedef struct MPContext {
double video_offset;
struct demuxer *demuxer;
+ struct mp_tags *tags;
struct track **tracks;
int num_tracks;