[mythtv-commits] Ticket #4068: mythcommflag bug w/ patch

MythTV mythtv at cvs.mythtv.org
Tue Oct 9 21:16:06 UTC 2007


#4068: mythcommflag bug w/ patch
-----------------------------------------+----------------------------------
 Reporter:  Mark Steckel <mjs at qwsa.com>  |       Owner:  ijr    
     Type:  patch                        |      Status:  new    
 Priority:  minor                        |   Milestone:  unknown
Component:  mythtv                       |     Version:  head   
 Severity:  medium                       |     Mlocked:  0      
-----------------------------------------+----------------------------------
 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.

 Thanks
 Mark

 ps: the diff appears to be slightly misformatted by the tracking system.
 The single change is the addition of the line containing "++argpos;"


 --- 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 )
                  {

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4068>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list