summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dxr3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r--libvo/vo_dxr3.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c
index 94f3de2056..9f64e24868 100644
--- a/libvo/vo_dxr3.c
+++ b/libvo/vo_dxr3.c
@@ -164,17 +164,12 @@ static uint32_t config(uint32_t scr_width, uint32_t scr_height, uint32_t width,
reg.val = MVCOMMAND_SYNC;
ioctl(fd_control, EM8300_IOCTL_WRITEREG, &reg);
- /* Flush the buffer and make sure it is clean by syncing it */
- ioval = EM8300_SUBDEVICE_VIDEO;
- ioctl(fd_control, EM8300_IOCTL_FLUSH, &ioval);
+ /* Clean buffer by syncing it */
fsync(fd_video);
ioval = 0x900;
ioctl(fd_control, EM8300_IOCTL_SCR_SETSPEED, &ioval);
ioval = 0;
ioctl(fd_control, EM8300_IOCTL_SCR_SET, &ioval);
- /* We'll be nice and flush the audio buffer as well */
- ioval = EM8300_SUBDEVICE_AUDIO;
- ioctl(fd_control, EM8300_IOCTL_FLUSH, &ioval);
/* Store some variables statically that we need later in another scope */
img_format = format;