[PATCH/solution] Re: [mythtv] Possible problem: MythTV + SECAM TV-OUT: OSD modify

Coume - MythTVtalk.com coume at mythtvtalk.com
Fri Sep 10 05:14:26 EDT 2004


Ok, so here is a way to modify the source to get the OSD working in all the cases,
There is only one word to modify, I don't know much if a patch is really needed, anyway here is the solution:

***** CUT *******
--- libs/libmythtv/ivtvdecoder.cpp      2004-09-10 09:41:21.411202664 +0200
+++ libs/libmythtv/ivtvdecoder.cpp      2004-09-10 09:44:09.249687336 +0200
@@ -127,7 +127,7 @@
         perror("VIDIOC_G_STD");
     else
     {
-        if (std & V4L2_STD_PAL)
+        if (std & V4L2_STD_625_50)
             ntsc = false;
     } 

*******CUT ******

The constant V4L2_STD_625_50 is already defined in the file: libs/libmythtv/videodev2_myth.h

#define V4L2_STD_625_50      (V4L2_STD_PAL      |\
             V4L2_STD_PAL_N      |\
             V4L2_STD_PAL_Nc   |\
             V4L2_STD_SECAM) 

Let me know if someone applied it to the source.

HTH
Regards,
Ludovic


More information about the mythtv-dev mailing list