summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-07-10 21:05:10 +0000
committerMichael Hunold <devnull@localhost>2003-07-10 21:05:10 +0000
commitb30489e7b2ad6d5fbb77c6287acf18e7893a3fbf (patch)
tree58b49b337fa1b782b03fa9bd5446e70ea141a05a /linux/drivers/media/common
parentf3471bf5a2e82070c94106881a57762ebf864e2a (diff)
downloadmediapointer-dvb-s2-b30489e7b2ad6d5fbb77c6287acf18e7893a3fbf.tar.gz
mediapointer-dvb-s2-b30489e7b2ad6d5fbb77c6287acf18e7893a3fbf.tar.bz2
Change the temporal order of the fields for the ALTERNATE mode, ie. wait
for an even frame to start with, not an odd frame. This makes applications happy that expect this (ie. tvtime), but don't specify the correct mode instead. We behave now like bttv...
Diffstat (limited to 'linux/drivers/media/common')
-rw-r--r--linux/drivers/media/common/saa7146_hlp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c
index 32cc90748..85e0546e7 100644
--- a/linux/drivers/media/common/saa7146_hlp.c
+++ b/linux/drivers/media/common/saa7146_hlp.c
@@ -969,8 +969,8 @@ static void program_capture_engine(struct saa7146_dev *dev, int planar)
}
/* wait for o_fid_a/b / e_fid_a/b toggle only if rps register 0 is not set*/
- WRITE_RPS0(CMD_PAUSE | CMD_OAN | CMD_SIG0 | e_wait);
WRITE_RPS0(CMD_PAUSE | CMD_OAN | CMD_SIG0 | o_wait);
+ WRITE_RPS0(CMD_PAUSE | CMD_OAN | CMD_SIG0 | e_wait);
/* set rps register 0 */
WRITE_RPS0(CMD_WR_REG | (1 << 8) | (MC2/4));
@@ -994,8 +994,8 @@ static void program_capture_engine(struct saa7146_dev *dev, int planar)
/* wait for o_fid_a/b / e_fid_a/b toggle */
if ( vv->last_field == V4L2_FIELD_INTERLACED ) {
- WRITE_RPS0(CMD_PAUSE | e_wait);
WRITE_RPS0(CMD_PAUSE | o_wait);
+ WRITE_RPS0(CMD_PAUSE | e_wait);
} else if ( vv->last_field == V4L2_FIELD_TOP ) {
WRITE_RPS0(CMD_PAUSE | o_wait);
} else if ( vv->last_field == V4L2_FIELD_BOTTOM ) {