diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-16 07:11:12 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:41:05 +0300 |
commit | 9b06b5ed85ec28097428e7fe35631ce3a04685b5 (patch) | |
tree | 8fbb0ad6eecb1f337e153d5c6eb7fa2378b805f4 /mplayer.c | |
parent | 0d59f81e546946648dfca93da6b74479d31369bc (diff) | |
download | mpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.bz2 mpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.xz |
Move correct_pts to options struct
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |