mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-28 22:07:39 +00:00
removed commented code in BackgroundPlayer
This commit is contained in:
@@ -135,9 +135,6 @@ public class BackgroundPlayer extends Service /*implements MediaPlayer.OnPrepare
|
|||||||
//so calling the blocking prepare() method should be ok
|
//so calling the blocking prepare() method should be ok
|
||||||
mediaPlayer.prepare();
|
mediaPlayer.prepare();
|
||||||
|
|
||||||
//alternatively:
|
|
||||||
//mediaPlayer.setOnPreparedListener(this);
|
|
||||||
//mediaPlayer.prepareAsync(); //prepare async to not block main thread
|
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
ioe.printStackTrace();
|
ioe.printStackTrace();
|
||||||
Log.e(TAG, "video source:" + source);
|
Log.e(TAG, "video source:" + source);
|
||||||
|
|||||||
Reference in New Issue
Block a user