[Android] video: don't spam the logs with "event not handled" because of MediaPlayerPositionChanged
Sébastien Toque
git at videolan.org
Thu Feb 14 00:35:33 CET 2013
vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Thu Feb 14 00:30:54 2013 +0100| [8664ffd7cfd5987f13a7e35aceb522ec2fcf0d3b] | committer: Sébastien Toque
video: don't spam the logs with "event not handled" because of MediaPlayerPositionChanged
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8664ffd7cfd5987f13a7e35aceb522ec2fcf0d3b
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 3 +++
1 file changed, 3 insertions(+)
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 8585b08..c64a3e2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -614,6 +614,9 @@ public class VideoPlayerActivity extends Activity {
case EventManager.MediaPlayerVout:
activity.handleVout(msg);
break;
+ case EventManager.MediaPlayerPositionChanged:
+ //don't spam the logs
+ break;
default:
Log.e(TAG, String.format("Event not handled (0x%x)", msg.getData().getInt("event")));
break;
More information about the Android
mailing list