diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index 6e9e1ea..9b9511b 100644
|
a
|
b
|
void TV::HandleStateChange(PlayerContext *mctx, PlayerContext *ctx)
|
| 2610 | 2610 | QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)); |
| 2611 | 2611 | mainWindow->setGeometry(player_bounds); |
| 2612 | 2612 | mainWindow->ResizePainterWindow(player_bounds.size()); |
| 2613 | | // PGB Do not disable the GUI when using openmax decoder, |
| | 2613 | // PGB Do not disable the GUI when using openmax renderer, |
| 2614 | 2614 | // to ensure that space next to letterbox pictures |
| 2615 | 2615 | // is painted. |
| 2616 | | QString decName = ctx->player->GetDecoder()->GetCodecDecoderName(); |
| 2617 | | if (decName != "openmax" && !weDisabledGUI) |
| | 2616 | bool isOpenMaxRender = false; |
| | 2617 | if (ctx && ctx->player) |
| | 2618 | { |
| | 2619 | VideoOutput *vo = ctx->player->GetVideoOutput(); |
| | 2620 | isOpenMaxRender = vo && vo->GetName() == "openmax"; |
| | 2621 | } |
| | 2622 | if (!isOpenMaxRender && !weDisabledGUI) |
| 2618 | 2623 | { |
| 2619 | 2624 | weDisabledGUI = true; |
| 2620 | 2625 | GetMythMainWindow()->PushDrawDisabled(); |
diff --git a/mythtv/libs/libmythtv/videoout_omx.h b/mythtv/libs/libmythtv/videoout_omx.h
index 11be950..4760377 100644
|
a
|
b
|
class VideoOutputOMX : public VideoOutput, private OMXComponentCtx
|
| 32 | 32 | virtual bool ApproveDeintFilter(const QString&) const; |
| 33 | 33 | virtual bool SetDeinterlacingEnabled(bool interlaced); |
| 34 | 34 | virtual bool SetupDeinterlace(bool interlaced, const QString& ovrf=""); |
| | 35 | virtual QString GetName(void) const { return kName; } // = "openmax" |
| 35 | 36 | virtual bool IsPIPSupported(void) const { return true; } |
| 36 | 37 | virtual bool IsPBPSupported(void) const { return true; } |
| 37 | 38 | virtual QRect GetPIPRect(PIPLocation, MythPlayer* = NULL, bool = true) const; |
diff --git a/mythtv/libs/libmythtv/videooutbase.h b/mythtv/libs/libmythtv/videooutbase.h
index 5e29143..c8ca444 100644
|
a
|
b
|
class VideoOutput
|
| 145 | 145 | |
| 146 | 146 | bool AllowPreviewEPG(void) const; |
| 147 | 147 | |
| | 148 | virtual QString GetName(void) const { return QString(); } |
| 148 | 149 | virtual bool IsPIPSupported(void) const { return false; } |
| 149 | 150 | virtual bool IsPBPSupported(void) const { return false; } |
| 150 | 151 | virtual bool NeedExtraAudioDecode(void) const { return false; } |