Commit d0eaf470 authored by Geoffrey Métais's avatar Geoffrey Métais

Continue playback when screencasting

parent 686bbb37
...@@ -656,7 +656,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS ...@@ -656,7 +656,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
mPlaybackStarted = true; mPlaybackStarted = true;
IVLCVout vlcVout = mService.getVout(); final IVLCVout vlcVout = mService.getVout();
if (vlcVout != null && vlcVout.areViewsAttached()) { if (vlcVout != null && vlcVout.areViewsAttached()) {
if (mService.isPlayingPopup()) { if (mService.isPlayingPopup()) {
mService.stop(); mService.stop();
...@@ -2615,7 +2615,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS ...@@ -2615,7 +2615,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
// Get the title // Get the title
if (itemTitle == null && !TextUtils.equals(mUri.getScheme(), "content")) if (itemTitle == null && !TextUtils.equals(mUri.getScheme(), "content"))
title = mUri.getLastPathSegment(); title = mUri.getLastPathSegment();
} else if (mService.hasMedia() && mService.hasRenderer()){ } else if (mService.hasMedia() && !mDisplayManager.isPrimary()){
onPlaying(); onPlaying();
} else { } else {
mService.loadLastPlaylist(Constants.PLAYLIST_TYPE_VIDEO); mService.loadLastPlaylist(Constants.PLAYLIST_TYPE_VIDEO);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment