summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-16 07:11:12 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:05 +0300
commit9b06b5ed85ec28097428e7fe35631ce3a04685b5 (patch)
tree8fbb0ad6eecb1f337e153d5c6eb7fa2378b805f4 /mplayer.c
parent0d59f81e546946648dfca93da6b74479d31369bc (diff)
downloadmpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.bz2
mpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.xz
Move correct_pts to options struct
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 22a8bda189..488ff3e85b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2242,11 +2242,12 @@ err_out:
static double update_video(int *blit_frame)
{
+ struct MPOpts *opts = &mpctx->opts;
sh_video_t * const sh_video = mpctx->sh_video;
//-------------------- Decode a frame: -----------------------
double frame_time;
*blit_frame = 0; // Don't blit if we hit EOF
- if (!correct_pts) {
+ if (!opts->correct_pts) {
unsigned char* start=NULL;
void *decoded_frame = NULL;
int drop_frame=0;