Skip to content

Commit

Permalink
V1.1.0.23.
Browse files Browse the repository at this point in the history
Fixed two android bugs.
  • Loading branch information
jinbangfei committed Jul 24, 2017
1 parent a16dd19 commit b7d2024
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file modified android/qplayerTest/app/libs/arm64-v8a/libQPlayer.so
Binary file not shown.
Binary file modified android/qplayerTest/app/libs/armeabi-v7a/libQPlayer.so
Binary file not shown.
Binary file modified android/qplayerTest/app/libs/armeabi/libQPlayer.so
Binary file not shown.
Binary file modified android/qplayerTest/app/libs/x86/libQPlayer.so
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private static void audioDataFromNative(Object baselayer_ref, byte[] data, int s
// Log.v("audioDataFromNative", String.format("Size %d Time %d", size, lTime));
MediaPlayer player = (MediaPlayer)((WeakReference)baselayer_ref).get();
if (player == null)
return;
return;
}

private static void videoDataFromNative(Object baselayer_ref, byte[] data, int size, long lTime, int nFlag)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public int onEvent(int nID, int nArg1, int nArg2, Object obj) {
if (nID == BasePlayer.QC_MSG_PLAY_OPEN_DONE) {

// m_Player.SetParam(BasePlayer.QCPLAY_PID_SendOut_AudioBuff, 0, null);
m_Player.SetParam(BasePlayer.QCPLAY_PID_SendOut_VideoBuff, 0, null);
// m_Player.SetParam(BasePlayer.QCPLAY_PID_SendOut_VideoBuff, 0, null);

m_nDuration = (int)m_Player.GetDuration();
m_Player.Play ();
Expand Down

0 comments on commit b7d2024

Please sign in to comment.