【发布时间】:2013-02-13 05:32:13
【问题描述】:
使用 MediaPlayer 时,我会在 LogCat 中不断重复以下几行调试消息:
02-13 14:30:52.090: V/MediaPlayer(21345): getVideoWidth
02-13 14:30:52.090: V/MediaPlayer-JNI(21345): getVideoWidth: 480
02-13 14:30:52.090: V/MediaPlayer(21345): getVideoHeight
02-13 14:30:52.090: V/MediaPlayer-JNI(21345): getVideoHeight: 360
02-13 14:30:52.100: V/MediaPlayer-JNI(21345): isPlaying: 0
我的缓冲区很快就会填满,我错过了其他重要消息。反正有没有禁用这个?在 LogCat 中做一个独占过滤器不起作用,因为缓冲区仍然在后台填满。
【问题讨论】:
-
请给我看看你的代码
-
你知道
02-13 17:32:02.174: W/AudioFlinger(34): write blocked for 92 msecs, 350 delayed writes, thread 0xb3f0这样的消息吗? -
抱歉,我无法分享代码,但我没有看到任何类似的消息。
标签: android media-player logcat messages