Commit 64c734ad authored by Geoffrey Métais's avatar Geoffrey Métais

Revert "Only setMedia when we have to"

This reverts commit 72c0f919.
It was breaking repeat feature
parent 395b590c
......@@ -1698,8 +1698,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
final Media media = new Media(VLCInstance.get(), mw.getUri());
VLCOptions.setMediaOptions(media, this, flags | mw.getFlags());
if (mMediaPlayer.getMedia() == null || !mw.getUri().equals(mMediaPlayer.getMedia().getUri()))
if (mw .getType() != MediaWrapper.TYPE_VIDEO || mw.hasFlag(MediaWrapper.MEDIA_FORCE_AUDIO)
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