[mythtv] How to make sure v4l2 is being used (compile flag?)

David George david at thegeorges.us
Fri Nov 26 22:43:55 UTC 2004


On 11/26/2004 05:21 PM, Martin Forssen wrote:

>I see the same symptoms.
>
>On 24 Nov, David George wrote:
>  
>
>>Which buffer 0 and 1 errors are those?  Please post the error messages.
>>    
>>
>
>2004-11-22 22:02:11.038 Changing from None to WatchingLiveTV
>VIDIOCMCAPTUREi0: Invalid argument
>VIDIOCMCAPTUREi1: Invalid argument
>VIDIOCMCAPTURE0: Invalid argument
>VIDIOCMCAPTURE1: Invalid argument
>VIDIOCMCAPTURE0: Invalid argument
>VIDIOCMCAPTURE1: Invalid argument
>
>and the last two lines repeats ad infinitum.
>  
>
Are you still seeing these now that you removed the using_v4l2 = false 
hardcode from NuppelVideoRecorder.cpp?

Just a cursory look at the code (I've never had occasion to look at nvr 
in the past), I would guess that perhaps the initial height or width are 
out of range for the VIDIOCMCAPTURE ioctl.

>I realized why it is using v4l1. That is hardcoded on line 875 of
>libs/libmythtv/NuppelVideoRecorder.cpp. The line was introduced in
>version 1.182. If I comment out that line it works a little bit better
>for me. I still have very bad picture (may be my antenna) and the
>picture freezes every now and then (I will look into that).
>  
>
Yikes, that's not good.  It was probably left over from some testing 
that someone was doing.  That line should probably be removed.

--
David



More information about the mythtv-dev mailing list