El Miércoles, 11 de Abril de 2007, Hans Verkuil escribió:
> On Tuesday 10 April 2007 23:22, Martin Dauskardt wrote:
> > > > Can someone verify this? It looks good, but I'd appreciate it if
> > > > someone
> > > > can do additional testing.
> > >
> > > This patch does wierd things to my XV output on the 350's
> > > framebuffer on my PPC machine. When playing back a recording in
> > > MythTV the video output is black. When playing back a xvid, mplayer
> > > quits after 2 seconds.
> > >
> > > - Rick
> >
> > The patch works without any problems here on two machines, one using
> > also the PVR 350 decoder. Without the patch radio is stuttering. Do
> > you really think your problem is caused by the patch? It is hard to
> > imagine how the encoder stuff could have effects on the ivtv X-driver
>
> I agree with Martin. Rick, can you check again?
>
> Regards,
>
>       Hans
>

Other solution could be make the VIDIOC_INT_S_CRYSTAL_FREQ ioctl accesible, so 
I can call it when changing to radio. The attached patch do it.

Jose Alberto



diff -r 520f7d68c8b4 linux/drivers/media/video/ivtv/ivtv-ioctl.c
--- a/linux/drivers/media/video/ivtv/ivtv-ioctl.c	Wed Apr 25 00:38:22 2007 -0300
+++ b/linux/drivers/media/video/ivtv/ivtv-ioctl.c	Fri Apr 27 01:58:43 2007 +0200
@@ -694,6 +694,14 @@ static int ivtv_debug_ioctls(struct file
 	case VIDIOC_INT_RESET:
 		ivtv_reset_ir_gpio(itv);
 		break;
+
+	case VIDIOC_INT_S_CRYSTAL_FREQ:
+		if (itv->hw_flags & IVTV_HW_SAA7115)
+		{
+			struct v4l2_crystal_freq *crystal_freq = arg;
+			ivtv_saa7115(itv, VIDIOC_INT_S_CRYSTAL_FREQ, crystal_freq);
+			break;
+		}
 
 	default:
 		return -EINVAL;
@@ -1456,6 +1464,7 @@ static int ivtv_v4l2_do_ioctl(struct ino
 	case VIDIOC_G_CHIP_IDENT:
 	case VIDIOC_INT_S_AUDIO_ROUTING:
 	case VIDIOC_INT_RESET:
+	case VIDIOC_INT_S_CRYSTAL_FREQ:
 		if (ivtv_debug & IVTV_DBGFLG_IOCTL) {
 			printk(KERN_INFO "ivtv%d ioctl: ", itv->num);
 			v4l_printk_ioctl(cmd);
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to