[Android] VideoPlayer: use internal libVLC instance

Jean-Baptiste Kempf git at videolan.org
Mon Oct 15 12:50:56 CEST 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 15 12:50:45 2012 +0200| [04a1ed6cd1833ad2ba15e9a6840c562fa51be2d7] | committer: Jean-Baptiste Kempf

VideoPlayer: use internal libVLC instance

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=04a1ed6cd1833ad2ba15e9a6840c562fa51be2d7
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 94a501e..876a69a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1048,7 +1048,7 @@ public class VideoPlayerActivity extends Activity {
 
                 @Override
                 public void onDismiss(DialogInterface dialog) {
-                    mSpeedLabel.setText(String.format(java.util.Locale.US, "%.2fx", LibVLC.getExistingInstance().getRate()));
+                    mSpeedLabel.setText(String.format(java.util.Locale.US, "%.2fx", mLibVLC.getRate()));
                 }
             });
             d.show();



More information about the Android mailing list