[mythtv] mythcommflag patch

Mark Steckel mjs at qwsa.com
Mon Oct 8 23:31:58 UTC 2007


The following diff corrects a bug in mythcommflag when using the cmd 
line option "--inversecut". Without the added line, the option 
processing never advances past the optional cut list. Further, the 
current option handling code for "--honorcutlist" is similar to 
"--inversecut" but it already includes the "++argpos;" line.


--- programs/mythtranscode/main.cpp     (revision 14577)
+++ programs/mythtranscode/main.cpp     (working copy)
@@ -271,6 +271,7 @@
                  QStringList cutlist;
                  cutlist = QStringList::split( " ", a.argv()[argpos + 1]);
                  deleteMap[0] = 1;
+                ++argpos;
                  for (QStringList::Iterator it = cutlist.begin();
                       it != cutlist.end(); ++it )

More information about the mythtv-dev mailing list