[mythtv-commits] mythtv/fixes/0.24 commit: bbfb6b02a by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Mon Feb 28 01:04:18 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-02-27T17:03:59-08:00
   Push Date:  2011/02/27 17:04:16 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  bbfb6b02ab10c1fe1da1711415ac82a1e4642486
   Changeset:  https://github.com/MythTV/mythtv/commit/bbfb6b02a

Log:

Make MPEG2fixup::ProcessVideo return int

I'm not 100% sure what the original author was trying to do here, but this
code is broken.  Returning 0, 1, -1 for a bool makes no sense, and comparing
bool < 0 makes even less sense.  Rather than trying to unravel what he was
trying to do, let's make this a simple int return so the return codes should
have some effect.

Fixes #9549
(cherry picked from commit 0234965c20b1d0fd8243ed395e3e6229e790d672)

Modified:

   mythtv/programs/mythtranscode/mpeg2fix.cpp
   mythtv/programs/mythtranscode/mpeg2fix.h



More information about the mythtv-commits mailing list