Commit bf845dfb authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Edward Wang

Video: Intercept MediaPlayerTimeChanged event

Avoid useless and numerous error logs.
Signed-off-by: Edward Wang's avatarEdward Wang <edward.c.wang@compdigitec.com>
parent 030a20a1
......@@ -888,6 +888,9 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
Log.i(TAG, "HardwareAccelerationError");
activity.handleHardwareAccelerationError();
break;
case EventHandler.MediaPlayerTimeChanged:
// avoid useless error logs
break;
default:
Log.e(TAG, String.format("Event not handled (0x%x)", msg.getData().getInt("event")));
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment