[mythtv-commits] Ticket #6883: mythcommflag and mythtranscode can get wrong verbose level from mythbackend
MythTV
mythtv at cvs.mythtv.org
Sat Aug 22 00:16:43 UTC 2009
#6883: mythcommflag and mythtranscode can get wrong verbose level from mythbackend
---------------------------------------------+------------------------------
Reporter: David Asher <asherml at gmail.com> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
---------------------------------------------+------------------------------
The %VERBOSELEVEL% option in the job queue passes a 32b integer into the
job. A common use is with the "-V" option for mythcommflag. When the
backend is running with "--verbose all", this will pass "-V 4294967295".
Unfortunately mythcommflag parses this using QString::toInt(). Since the
passed number is too large for a signed 32b integer, it returns 0 --
turning off all messages. The trivial attached patch fixes this for both
mythcommflag and mythtranscode.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6883>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list