[Android] Limit the size of the cover to 512px.
Ludovic Fauvet
git at videolan.org
Fri Oct 19 15:23:29 CEST 2012
vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Oct 19 14:28:52 2012 +0200| [f4bdb0ff01a9c9b279a3cd5c537b1a8981919b65] | committer: Ludovic Fauvet
Limit the size of the cover to 512px.
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f4bdb0ff01a9c9b279a3cd5c537b1a8981919b65
---
vlc-android/src/org/videolan/vlc/AudioService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 727519b..3a33003 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -599,7 +599,7 @@ public class AudioService extends Service {
}
private Bitmap getCover() {
- return AudioUtil.getCover(this, mCurrentMedia, 0);
+ return AudioUtil.getCover(this, mCurrentMedia, 512);
}
private final IAudioService.Stub mInterface = new IAudioService.Stub() {
More information about the Android
mailing list