[mythtv] Fwd: [PATCH] Add profile groups

Geoffrey Hausheer ou401cru02 at sneakemail.com
Sat Sep 13 12:39:54 EDT 2003


On Sat, 13 Sep 2003 12:09:45 -0400, "Isaac Richards ijr-at-po.cwru.edu
|mythtv/1.0-Allow|" <e6kbhbk35r0t at sneakemail.com> said:
> The only problem that I can see right off is that mjpeg cards are of type 
> 'V4L' in the database.
> 
> Isaac
Actually, browsing thorugh the code, there doesn't appear to be anything
that relies on the 'V4L' cardtype, so just adding this one line patch
should be good enough:
ndex: libs/libmythtv/videosource.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/videosource.cpp,v
retrieving revision 1.31
diff -u -r1.31 videosource.cpp
--- libs/libmythtv/videosource.cpp      27 Aug 2003 15:41:50 -0000     
1.31
+++ libs/libmythtv/videosource.cpp      13 Sep 2003 16:36:14 -0000
@@ -209,6 +209,7 @@
 {
     setLabel("Card type");
     addSelection("Standard V4L or MJPEG capture card", "V4L");
+    addSelection("Hardware MJJPEG capture card", "MJPEG");
     addSelection("Hardware MPEG Encoder card", "MPEG");
     addSelection("pcHDTV ATSC capture card", "HDTV");
 };

The next step is to automatically limit the availiable profile-settings
based on the profile-group type, but that isn't critical, and souldn't be
too dificult.

.Geoff


More information about the mythtv-dev mailing list