MediaPlayer: Add missing null check
Signed-off-by: Dario Casalinuovo <[email protected]>
This commit is contained in:
committed by
Dario Casalinuovo
parent
b0c69e8490
commit
beddc8eefa
@@ -302,7 +302,8 @@ Controller::SetTo(const PlaylistItemRef& item)
|
||||
trackSupplierDeleter.Detach();
|
||||
|
||||
// prevent blocking the creation of new overlay buffers
|
||||
fVideoView->DisableOverlay();
|
||||
if (fVideoView)
|
||||
fVideoView->DisableOverlay();
|
||||
|
||||
// get video properties (if there is video at all)
|
||||
bool useOverlays = fVideoView ? fVideoView->UseOverlays() : true;
|
||||
|
||||
Reference in New Issue
Block a user