summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_libmpeg2.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-24 08:20:59 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-25 07:15:07 +0300
commit7dc42263486bd45d2ba830f065a8556c02aaf7c8 (patch)
treea0de8adf7c187eac03007da37d2ee539b375ddff /libmpcodecs/vd_libmpeg2.c
parentbb679dd40a80e72272dec0c8621b888f4365852c (diff)
downloadmpv-7dc42263486bd45d2ba830f065a8556c02aaf7c8.tar.bz2
mpv-7dc42263486bd45d2ba830f065a8556c02aaf7c8.tar.xz
Move vd_use_slices to options struct
Diffstat (limited to 'libmpcodecs/vd_libmpeg2.c')
-rw-r--r--libmpcodecs/vd_libmpeg2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd_libmpeg2.c b/libmpcodecs/vd_libmpeg2.c
index c8ca0e92b6..369c1da685 100644
--- a/libmpcodecs/vd_libmpeg2.c
+++ b/libmpcodecs/vd_libmpeg2.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include "config.h"
-
+#include "options.h"
#include "mp_msg.h"
#include "vd_internal.h"
@@ -214,7 +214,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
}
mpeg2_skip(mpeg2dec, 0); //mpeg2skip skips frames until set again to 0
- use_callback = (!framedrop && vd_use_slices &&
+ use_callback = (!framedrop && sh->opts->vd_use_slices &&
(info->current_picture->flags&PIC_FLAG_PROGRESSIVE_FRAME)) ?
MP_IMGFLAG_DRAW_CALLBACK:0;