Ticket #5844: mpeg2encoder_description.diff.txt

File mpeg2encoder_description.diff.txt, 1.9 KB (added by robert.mcnamara@…, 15 years ago)

Patch to change MPEG-2 encoder type descriptions

Line 
1Index: libs/libmythtv/dbcheck.cpp
2===================================================================
3--- libs/libmythtv/dbcheck.cpp  (revision 18755)
4+++ libs/libmythtv/dbcheck.cpp  (working copy)
5@@ -4920,7 +4920,7 @@
6 "INSERT INTO playgroup VALUES ('Default','',30,5,100);",
7 "INSERT INTO profilegroups VALUES (1,'Software Encoders (v4l based)','V4L',"
8 "                                      1,NULL);",
9-"INSERT INTO profilegroups VALUES (2,'MPEG-2 Encoders (PVR-x50, PVR-500)',"
10+"INSERT INTO profilegroups VALUES (2,'IVTV MPEG-2 Encoders (PVR-x50, PVR-500, HVR-1600)',"
11 "                                      'MPEG',1,NULL);",
12 "INSERT INTO profilegroups VALUES (3,"
13 " 'Hardware MJPEG Encoders (Matrox G200-TV, Miro DC10, etc)','MJPEG',1,NULL);",
14Index: libs/libmythtv/videosource.cpp
15===================================================================
16--- libs/libmythtv/videosource.cpp      (revision 18755)
17+++ libs/libmythtv/videosource.cpp      (working copy)
18@@ -1789,7 +1789,7 @@
19         QObject::tr("MJPEG capture card (Matrox G200, DC10)"), "MJPEG");
20 # ifdef USING_IVTV
21     setting->addSelection(
22-        QObject::tr("MPEG-2 encoder card (PVR-x50, PVR-500)"), "MPEG");
23+        QObject::tr("IVTV MPEG-2 encoder card (PVR-x50, PVR-500, HVR-1600)"), "MPEG");
24 # endif // USING_IVTV
25 # ifdef USING_HDPVR
26     setting->addSelection(
27Index: libs/libmythtv/recordingprofile.cpp
28===================================================================
29--- libs/libmythtv/recordingprofile.cpp (revision 18755)
30+++ libs/libmythtv/recordingprofile.cpp (working copy)
31@@ -1081,7 +1081,7 @@
32 
33         QSize defaultsize(768, 576), maxsize(768, 576);
34         bool transcoding = profName.left(11) == "Transcoders";
35-        bool ivtv = profName.left(34) == "MPEG-2 Encoders (PVR-x50, PVR-500)";
36+        bool ivtv = profName.left(34) == "IVTV MPEG-2 Encoders (PVR-x50, PVR-500, HVR-1600)";
37 
38         if (transcoding)
39         {