[mythtv-commits] mythtv branch master updated by beirdo. v0.26-pre-89-gc5a9262

Git Repo Owner noreply at mythtv.org
Wed Apr 18 01:51:28 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user beirdo.
       via  c5a9262355a51b2d2b0465234d79b527c3907e84 (commit)
      from  9839dd77c2f494e7ae18ef75266e7090e57e02fc (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 c5a9262355a51b2d2b0465234d79b527c3907e84
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 18:51:34 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c5a9262355a51b2d2b0465234d79b527c3907e84

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



-----------------------------------------------------------------------

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