Please sign in to comment.
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
- Loading branch information...
Showing with 6 additions and 3 deletions.