diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index 8e83212..addb9cb 100644
|
a
|
b
|
void TV::HandleStateChange(PlayerContext *mctx, PlayerContext *ctx)
|
| 2621 | 2621 | // I have to use dynamic_cast to check the renderer type. |
| 2622 | 2622 | // If the dynamic cast returns 0 then it is NOT omx renderer. |
| 2623 | 2623 | #ifdef USING_OPENMAX |
| 2624 | | VideoOutput *testVideoOutput = ctx->player->GetVideoOutput(); |
| 2625 | | if (dynamic_cast<VideoOutputOMX*>(testVideoOutput) == 0 |
| 2626 | | && !weDisabledGUI) |
| | 2624 | bool isOpenMaxRender = false; |
| | 2625 | if (ctx != 0 && ctx->player != 0 ) |
| | 2626 | { |
| | 2627 | VideoOutput *testVideoOutput = ctx->player->GetVideoOutput(); |
| | 2628 | if (testVideoOutput != 0 |
| | 2629 | && dynamic_cast<VideoOutputOMX*>(testVideoOutput) == 0) |
| | 2630 | { |
| | 2631 | isOpenMaxRender = true; |
| | 2632 | } |
| | 2633 | } |
| | 2634 | if (isOpenMaxRender && !weDisabledGUI) |
| 2627 | 2635 | #else |
| 2628 | 2636 | if (!weDisabledGUI) |
| 2629 | 2637 | #endif |