Ticket #222: dvb_recordts.patch
File dvb_recordts.patch, 1.8 KB (added by , 19 years ago) |
---|
-
libs/libmythtv/videosource.cpp
1013 1013 { 1014 1014 setLabel(QObject::tr("Record in TS format instead of PS.")); 1015 1015 setHelpText( 1016 QObject::tr("Disables Transport Stream to Program Stream " 1017 "conversion. TS recording results in slightly bigger " 1018 "files, but reduces the risk of processing errors.")); 1016 QObject::tr("Disables the built-in Transport Stream (TS) to " 1017 "Program Stream (PS) conversion. TS generally " 1018 "works better with MythTV so most people probably " 1019 "want this enabled.")); 1019 1020 }; 1020 1021 }; 1021 1022 -
libs/libmythtv/dbcheck.cpp
10 10 #include "mythdbcon.h" 11 11 12 12 /// This is the DB schema version expected by the running MythTV instance. 13 const QString currentDatabaseVersion = "109 0";13 const QString currentDatabaseVersion = "1091"; 14 14 15 15 static bool UpdateDBVersionNumber(const QString &newnumber); 16 16 static bool performActualUpdate(const QString updates[], QString version, … … 1991 1991 return false; 1992 1992 } 1993 1993 1994 if (dbver == "1090") 1995 { 1996 const QString updates[] = { 1997 "ALTER TABLE capturecard CHANGE dvb_recordts dvb_recordts INT DEFAULT '1';", 1998 "UPDATE capturecard SET dvb_recordts=1;", 1999 "" 2000 }; 2001 2002 if (!performActualUpdate(updates, "1091", dbver)) 2003 return false; 2004 } 2005 1994 2006 // Drop xvmc_buffer_settings at some point 1995 2007 // Drop dead DVB tables eventually, too 1996 2008