Opened 12 years ago

Closed 12 years ago

#4068 closed patch (fixed)

mythcommflag bug w/ patch

Reported by: Mark Steckel <mjs@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: mythcommflag
Cc: Ticket locked: no

Description

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 )

{

Change History (1)

comment:1 Changed 12 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [14656]) Fix bug in handling code for mythtranscode's --inversecut parameter.

Closes #4068 using patch by Mark Steckel.

Note: See TracTickets for help on using tickets.