[mythtv-commits] mythtv branch fixes/0.25 updated by beirdo. v0.25-34-g9cb904e

Git Repo Owner noreply at mythtv.org
Wed Apr 18 02:21:53 UTC 2012

The branch, fixes/0.25 has been updated on the
mythtv repository by gitolite user beirdo.
       via  9cb904e9b9998ea94eadba4db54c0af10dc893f0 (commit)
      from  9dbbc06c096b8268a41e91689fe30f2f43eb54ba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9cb904e9b9998ea94eadba4db54c0af10dc893f0
Author:    Gavin Hurlbut <ghurlbut at mythtv.org> at Tue, 17 Apr 2012 18:47:09 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Tue, 17 Apr 2012 19:21:55 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9cb904e9b9998ea94eadba4db54c0af10dc893f0

Convert the use of player_ctx in mythtranscode to QPointer<>
We have far too many places in the transcode code path that delete player_ctx
and return.  Unfortunately, freeing "transcode" also will try to delee
player_ctx, but it's already deleted, and not nulled out.  Rather than putting
many instances of "player_ctx = NULL", I opted to make PlayerContext a
QObject, and then just use QPointer<PlayerContext> as this will clear itself
to NULL as soon as it is destroyed.

Fixes #10616
(cherry picked from commit c5a9262355a51b2d2b0465234d79b527c3907e84)


Summary of changes:
 mythtv/libs/libmythtv/playercontext.h     |    4 +++-
 mythtv/programs/mythtranscode/transcode.h |    5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)


More information about the mythtv-commits mailing list