Skip to content
Snippets Groups Projects
Commit 1fff2f56 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Video player: sanity check

parent efabaaac
No related branches found
No related tags found
No related merge requests found
Pipeline #6537 passed with stage
in 3 minutes and 57 seconds
......@@ -1457,6 +1457,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
WorkersKt.runIO(new Runnable() {
@Override
public void run() {
if (mService == null) return;
int audioTrack = (int) media.getMetaLong(MediaWrapper.META_AUDIOTRACK);
if (audioTrack != 0 || mCurrentAudioTrack != -2)
mService.setAudioTrack(media.getId() == 0L ? mCurrentAudioTrack : audioTrack);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment