{"action":"created","issue":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/2308","repository_url":"https://api.github.com/repos/Bilibili/ijkplayer","labels_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/2308/labels{/name}","comments_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/2308/comments","events_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/2308/events","html_url":"https://github.com/Bilibili/ijkplayer/issues/2308","id":190614770,"number":2308,"title":"求助：黑屏,MediaCodec问题","user":{"login":"FatPaper","id":18322647,"avatar_url":"https://avatars.githubusercontent.com/u/18322647?v=3","gravatar_id":"","url":"https://api.github.com/users/FatPaper","html_url":"https://github.com/FatPaper","followers_url":"https://api.github.com/users/FatPaper/followers","following_url":"https://api.github.com/users/FatPaper/following{/other_user}","gists_url":"https://api.github.com/users/FatPaper/gists{/gist_id}","starred_url":"https://api.github.com/users/FatPaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FatPaper/subscriptions","organizations_url":"https://api.github.com/users/FatPaper/orgs","repos_url":"https://api.github.com/users/FatPaper/repos","events_url":"https://api.github.com/users/FatPaper/events{/privacy}","received_events_url":"https://api.github.com/users/FatPaper/received_events","type":"User","site_admin":false},"labels":[{"id":293159840,"url":"https://api.github.com/repos/Bilibili/ijkplayer/labels/need-more-information","name":"need-more-information","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"bbcallen","id":835728,"avatar_url":"https://avatars.githubusercontent.com/u/835728?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcallen","html_url":"https://github.com/bbcallen","followers_url":"https://api.github.com/users/bbcallen/followers","following_url":"https://api.github.com/users/bbcallen/following{/other_user}","gists_url":"https://api.github.com/users/bbcallen/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcallen/subscriptions","organizations_url":"https://api.github.com/users/bbcallen/orgs","repos_url":"https://api.github.com/users/bbcallen/repos","events_url":"https://api.github.com/users/bbcallen/events{/privacy}","received_events_url":"https://api.github.com/users/bbcallen/received_events","type":"User","site_admin":false},"assignees":[{"login":"bbcallen","id":835728,"avatar_url":"https://avatars.githubusercontent.com/u/835728?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcallen","html_url":"https://github.com/bbcallen","followers_url":"https://api.github.com/users/bbcallen/followers","following_url":"https://api.github.com/users/bbcallen/following{/other_user}","gists_url":"https://api.github.com/users/bbcallen/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcallen/subscriptions","organizations_url":"https://api.github.com/users/bbcallen/orgs","repos_url":"https://api.github.com/users/bbcallen/repos","events_url":"https://api.github.com/users/bbcallen/events{/privacy}","received_events_url":"https://api.github.com/users/bbcallen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-21T04:16:34Z","updated_at":"2016-11-24T03:38:51Z","closed_at":null,"body":"根据demo代码在某些手机上播放某些视频（开启MediaCodec情况下），将播放页面切换至后台掉用播放pause，然后切换至前台调用start，MediaCodec会状态异常，跟踪了下代码，在IjkVideoView的onSurfaceCreated里将bindSurfaceHolder(mMediaPlayer,mSurfaceHolder);注释掉，MediaCodec就不会状态异常，请教一下可能是什么原因引起的\r\nMediaCodec log:\r\n11-21 12:14:40.352 28329-29129/com.ppfuns.smi W/System.err: java.lang.IllegalStateException\r\n11-21 12:14:40.352 28329-29129/com.ppfuns.smi W/System.err:     at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)\r\n11-21 12:14:40.352 28329-29129/com.ppfuns.smi W/System.err:     at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1046)"},"comment":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/comments/262683297","html_url":"https://github.com/Bilibili/ijkplayer/issues/2308#issuecomment-262683297","issue_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/2308","id":262683297,"user":{"login":"FatPaper","id":18322647,"avatar_url":"https://avatars.githubusercontent.com/u/18322647?v=3","gravatar_id":"","url":"https://api.github.com/users/FatPaper","html_url":"https://github.com/FatPaper","followers_url":"https://api.github.com/users/FatPaper/followers","following_url":"https://api.github.com/users/FatPaper/following{/other_user}","gists_url":"https://api.github.com/users/FatPaper/gists{/gist_id}","starred_url":"https://api.github.com/users/FatPaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FatPaper/subscriptions","organizations_url":"https://api.github.com/users/FatPaper/orgs","repos_url":"https://api.github.com/users/FatPaper/repos","events_url":"https://api.github.com/users/FatPaper/events{/privacy}","received_events_url":"https://api.github.com/users/FatPaper/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T03:38:51Z","updated_at":"2016-11-24T03:38:51Z","body":"一直黑屏，有声音，然后过段时间声音也没了，感觉是把缓存播放完后就没了"}}
{"actor":{"display_login":"FatPaper"}}