[PATCH] dvb: av7110: fix VIDEO_SET_DISPLAY_FORMAT
authorJohannes Stezenbach <js@linuxtv.org>
Tue, 17 May 2005 04:54:26 +0000 (21:54 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:28 +0000 (07:59 -0700)
VIDEO_SET_DISPLAY_FORMAT ioctl fixed:
set videostate.display_format, not videostate.video_format (Oliver Endriss)

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/ttpci/av7110_av.c

index 2c3b0b32b8d7c0ed6b4abcf2bff70347d3d4ee1d..f90e1cf2419c009817c22c2bc109905be126ea7e 100644 (file)
@@ -1075,7 +1075,7 @@ static int dvb_video_ioctl(struct inode *inode, struct file *file,
                }
                if (ret < 0)
                        break;
-               av7110->videostate.video_format = format;
+               av7110->videostate.display_format = format;
                ret = av7110_fw_cmd(av7110, COMTYPE_ENCODER, SetPanScanType,
                                    1, (u16) val);
                break;