Ticket #228: v4l2-palmodes.patch
File v4l2-palmodes.patch, 2.2 KB (added by , 19 years ago) |
---|
-
libs/libmythtv/channel.cpp
94 94 return V4L2_STD_ATSC_8_VSB; 95 95 else if (fmt == "PAL") 96 96 return V4L2_STD_PAL; 97 else if (fmt == "PAL-BG") 98 return V4L2_STD_PAL_BG; 99 else if (fmt == "PAL-DK") 100 return V4L2_STD_PAL_DK; 101 else if (fmt == "PAL-I") 102 return V4L2_STD_PAL_I; 103 else if (fmt == "PAL-60") 104 return V4L2_STD_PAL_60; 97 105 else if (fmt == "SECAM") 98 106 return V4L2_STD_SECAM; 99 107 else if (fmt == "PAL-NC") … … 114 122 return VIDEO_MODE_ATSC; 115 123 else if (fmt == "PAL") 116 124 return VIDEO_MODE_PAL; 125 else if (fmt == "PAL-BG") 126 return VIDEO_MODE_PAL; 127 else if (fmt == "PAL-DK") 128 return VIDEO_MODE_PAL; 129 else if (fmt == "PAL-I") 130 return VIDEO_MODE_PAL; 131 else if (fmt == "PAL-60") 132 return VIDEO_MODE_PAL; 117 133 else if (fmt == "SECAM") 118 134 return VIDEO_MODE_SECAM; 119 135 else if (fmt == "PAL-NC") … … 138 154 return "ATSC"; 139 155 else if (mode == V4L2_STD_PAL) 140 156 return "PAL"; 157 else if (mode == V4L2_STD_PAL_BG) 158 return "PAL-BG"; 159 else if (mode == V4L2_STD_PAL_DK) 160 return "PAL-DK"; 161 else if (mode == V4L2_STD_PAL_I) 162 return "PAL-I"; 163 else if (mode == V4L2_STD_PAL_60) 164 return "PAL-60"; 141 165 else if (mode == V4L2_STD_SECAM) 142 166 return "SECAM"; 143 167 else if (mode == V4L2_STD_PAL_Nc) -
setup/backendsettings.cpp
88 88 gc->addSelection("NTSC"); 89 89 gc->addSelection("ATSC"); 90 90 gc->addSelection("PAL"); 91 gc->addSelection("PAL-BG"); 92 gc->addSelection("PAL-DK"); 93 gc->addSelection("PAL-I"); 94 gc->addSelection("PAL-60"); 91 95 gc->addSelection("SECAM"); 92 96 gc->addSelection("PAL-NC"); 93 97 gc->addSelection("PAL-M");