Mercurial > mplayer.hg
comparison libvo/vo_dxr3.c @ 8317:d1ed5c592696
Use MVCOMMAND_SYNC
author | mswitch |
---|---|
date | Fri, 29 Nov 2002 21:40:37 +0000 |
parents | 5b39e79af5fe |
children | 9e958d71f73d |
comparison
equal
deleted
inserted
replaced
8316:6548f6a4216b | 8317:d1ed5c592696 |
---|---|
4 * Copyright (C) 2002 David Holm <dholm@iname.com> | 4 * Copyright (C) 2002 David Holm <dholm@iname.com> |
5 * | 5 * |
6 */ | 6 */ |
7 | 7 |
8 /* ChangeLog added 2002-01-10 | 8 /* ChangeLog added 2002-01-10 |
9 * 2002-01-03: | 9 * 2002-11-03: |
10 * Cleaned up syncing code and renamed setup variables so | 10 * Cleaned up syncing code and renamed setup variables so |
11 * they can be accessed from the GUI. | 11 * they can be accessed from the GUI. |
12 * | 12 * |
13 * 2002-01-02: | 13 * 2002-11-02: |
14 * Added native overlay support, activate with :overlay | 14 * Added native overlay support, activate with :overlay |
15 * you have to run dxr3view to modify settings (or manually | 15 * you have to run dxr3view to modify settings (or manually |
16 * edit the files in ~/.overlay. | 16 * edit the files in ~/.overlay. |
17 * | 17 * |
18 * 2002-10-29: | 18 * 2002-10-29: |
416 | 416 |
417 /* Start em8300 prebuffering and sync engine */ | 417 /* Start em8300 prebuffering and sync engine */ |
418 #ifdef MVCOMMAND_SYNC | 418 #ifdef MVCOMMAND_SYNC |
419 reg.microcode_register = 1; | 419 reg.microcode_register = 1; |
420 reg.reg = 0; | 420 reg.reg = 0; |
421 reg.val = MVCOMMAND_START; | 421 reg.val = MVCOMMAND_SYNC; |
422 ioctl(fd_control, EM8300_IOCTL_WRITEREG, ®); | 422 ioctl(fd_control, EM8300_IOCTL_WRITEREG, ®); |
423 #endif | 423 #endif |
424 | 424 |
425 #ifdef EM8300_IOCTL_FLUSH | 425 #ifdef EM8300_IOCTL_FLUSH |
426 /* Clean buffer by syncing it */ | 426 /* Clean buffer by syncing it */ |