summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-01 22:14:32 +0100
committerwm4 <wm4@nowhere>2016-02-01 22:14:32 +0100
commit5c8378b71aaa4fbfda69ed9f50fe10f40cd124f2 (patch)
tree910c0840b089edbbae8a3cc1c6da60d4e06cb904 /player/core.h
parentab318aeea84f51fa0adcfb09a8a43abc67dae1cd (diff)
downloadmpv-5c8378b71aaa4fbfda69ed9f50fe10f40cd124f2.tar.bz2
mpv-5c8378b71aaa4fbfda69ed9f50fe10f40cd124f2.tar.xz
player: use different variable to indicate coverart
Slightly better.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/player/core.h b/player/core.h
index b144ab6936..90ceeb1d08 100644
--- a/player/core.h
+++ b/player/core.h
@@ -171,6 +171,10 @@ struct vo_chain {
struct mp_image_params input_format;
struct dec_video *video_src;
+
+ // - video consists of a single picture, which should be shown only once
+ // - do not sync audio to video in any way
+ bool is_coverart;
};
// Like vo_chain, for audio.
@@ -325,9 +329,6 @@ typedef struct MPContext {
double audio_drop_throttle;
// Number of mistimed frames.
int mistimed_frames_total;
- /* Set if audio should be timed to start with video frame after seeking,
- * not set when e.g. playing cover art */
- bool sync_audio_to_video;
bool hrseek_active; // skip all data until hrseek_pts
bool hrseek_framedrop; // allow decoder to drop frames before hrseek_pts
bool hrseek_lastframe; // drop everything until last frame reached