MediaPlayer: Add missing null check

Signed-off-by: Dario Casalinuovo <[email protected]>
This commit is contained in:
Markus Himmel
2016-01-06 13:17:39 +01:00
committed by Dario Casalinuovo
parent b0c69e8490
commit beddc8eefa
+1
View File
@@ -302,6 +302,7 @@ Controller::SetTo(const PlaylistItemRef& item)
trackSupplierDeleter.Detach(); trackSupplierDeleter.Detach();
// prevent blocking the creation of new overlay buffers // prevent blocking the creation of new overlay buffers
if (fVideoView)
fVideoView->DisableOverlay(); fVideoView->DisableOverlay();
// get video properties (if there is video at all) // get video properties (if there is video at all)