{"action":"created","issue":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/541","labels_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/541/comments","events_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/541/events","html_url":"https://github.com/Bilibili/ijkplayer/issues/541","id":111096548,"number":541,"title":"android 电信米4 home ijkplayer 硬解销毁重新创建","user":{"login":"changjiashuai","id":4496625,"avatar_url":"https://avatars.githubusercontent.com/u/4496625?v=3","gravatar_id":"","url":"https://api.github.com/users/changjiashuai","html_url":"https://github.com/changjiashuai","followers_url":"https://api.github.com/users/changjiashuai/followers","following_url":"https://api.github.com/users/changjiashuai/following{/other_user}","gists_url":"https://api.github.com/users/changjiashuai/gists{/gist_id}","starred_url":"https://api.github.com/users/changjiashuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changjiashuai/subscriptions","organizations_url":"https://api.github.com/users/changjiashuai/orgs","repos_url":"https://api.github.com/users/changjiashuai/repos","events_url":"https://api.github.com/users/changjiashuai/events{/privacy}","received_events_url":"https://api.github.com/users/changjiashuai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T03:34:21Z","updated_at":"2015-10-23T10:41:38Z","closed_at":"2015-10-23T10:41:38Z","body":"```\r\n按home键 log：\r\n10-13 11:24:33.442 8118-10042/com.insta360.explore W/System.err: java.lang.IllegalStateException\r\n10-13 11:24:33.442 8118-10042/com.insta360.explore W/System.err:     at android.media.MediaCodec.releaseOutputBuffer(Native Method)\r\n10-13 11:24:33.442 8118-10042/com.insta360.explore W/System.err:     at dalvik.system.NativeStart.run(Native Method)\r\n10-13 11:24:33.442 8118-10042/com.insta360.explore E/IJKMEDIA: SDL_AMediaCodecJava_releaseOutputBuffer: releaseOutputBuffer\r\n10-13 11:24:33.462 8118-8118/com.insta360.explore I/TAG: onInfo(): [702,0]\r\n10-13 11:24:33.512 8118-10042/com.insta360.explore W/System.err: java.lang.IllegalStateException\r\n10-13 11:24:33.512 8118-10042/com.insta360.explore W/System.err:     at android.media.MediaCodec.releaseOutputBuffer(Native Method)\r\n10-13 11:24:33.512 8118-10042/com.insta360.explore W/System.err:     at dalvik.system.NativeStart.run(Native Method)\r\n10-13 11:24:33.512 8118-10042/com.insta360.explore E/IJKMEDIA: SDL_AMediaCodecJava_releaseOutputBuffer: releaseOutputBuffer\r\n10-13 11:24:33.752 8118-8118/com.insta360.explore I/TAG: onPuase isPlaying=false\r\n10-13 11:24:34.252 8118-8118/com.insta360.explore W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection\r\n\r\n----\r\n点app图标重新回来log：\r\n10-13 11:25:41.382 8118-8118/com.insta360.explore I/TAG: onResume()\r\n10-13 11:25:41.472 8118-10042/com.insta360.explore W/System.err: java.lang.IllegalStateException\r\n10-13 11:25:41.472 8118-10042/com.insta360.explore W/System.err:     at android.media.MediaCodec.releaseOutputBuffer(Native Method)\r\n10-13 11:25:41.472 8118-10042/com.insta360.explore W/System.err:     at dalvik.system.NativeStart.run(Native Method)\r\n10-13 11:25:41.472 8118-10042/com.insta360.explore E/IJKMEDIA: SDL_AMediaCodecJava_releaseOutputBuffer: releaseOutputBuffer\r\n10-13 11:25:41.472 8118-10042/com.insta360.explore E/IJKMEDIA: SDL_VoutOverlayAMediaCodec_releaseFrame: SDL_AMediaCodec_releaseOutputBuffer: failed (-10000)\r\n10-13 11:25:41.482 8118-10042/com.insta360.explore W/System.err: java.lang.IllegalStateException\r\n10-13 11:25:41.482 8118-10042/com.insta360.explore W/System.err:     at android.media.MediaCodec.releaseOutputBuffer(Native Method)\r\n10-13 11:25:41.482 8118-10042/com.insta360.explore W/System.err:     at dalvik.system.NativeStart.run(Native Method)\r\n10-13 11:25:41.482 8118-10042/com.insta360.explore E/IJKMEDIA: SDL_AMediaCodecJava_releaseOutputBuffer: releaseOutputBuffer\r\n10-13 11:25:41.482 8118-10042/com.insta360.explore E/IJKMEDIA: SDL_VoutOverlayAMediaCodec_releaseFrame: SDL_AMediaCodec_releaseOutputBuffer: failed (-10000)\r\n10-13 11:25:41.492 8118-10096/com.insta360.explore I/IJKMEDIA: quirk: reconfigure with new codec\r\n10-13 11:25:41.492 8118-10096/com.insta360.explore I/IJKMEDIA: SDL_AMediaCodecJava_delete\r\n10-13 11:25:41.492 252-1233/? E/: Destroy C2D instance\r\n10-13 11:25:41.492 252-1233/? E/: Destroy C2D instance\r\n10-13 11:25:41.502 8118-11304/com.insta360.explore I/OMXClient: Using client-side OMX mux.\r\n10-13 11:25:41.592 8118-10096/com.insta360.explore E/IJKMEDIA: configure 0x1d30050e 0x1d200502\r\n10-13 11:25:41.592 8118-11304/com.insta360.explore I/ACodec: DRC Mode: Dynamic Buffer Mode\r\n10-13 11:25:41.622 8118-10030/com.insta360.explore I/TAG: onRenderSurfaceSizeChanged() playing=true\r\n10-13 11:25:41.642 8118-8118/com.insta360.explore I/TAG: onWindowFocusChanged() hasFocus=true\r\n10-13 11:25:41.642 8118-8118/com.insta360.explore I/TAG: onWindowFocusChanged() isBind=true\r\n10-13 11:25:43.642 8118-10096/com.insta360.explore I/IJKMEDIA: quirk: reconfigure with new codec\r\n10-13 11:25:43.642 8118-10096/com.insta360.explore I/IJKMEDIA: SDL_AMediaCodecJava_delete\r\n10-13 11:25:43.642 252-20715/? E/: Destroy C2D instance\r\n10-13 11:25:43.642 252-20715/? E/: Destroy C2D instance\r\n10-13 11:25:43.652 8118-11352/com.insta360.explore I/OMXClient: Using client-side OMX mux.\r\n10-13 11:25:43.732 8118-10096/com.insta360.explore E/IJKMEDIA: configure 0x22c00522 0x1d200502\r\n10-13 11:25:43.742 8118-11352/com.insta360.explore I/ACodec: DRC Mode: Dynamic Buffer Mode\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA: SDL_AMediaCodecJava_dequeueOutputBuffer: INFO_OUTPUT_FORMAT_CHANGED\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA: AMEDIACODEC__INFO_OUTPUT_FORMAT_CHANGED\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA: AMEDIACODEC__INFO_OUTPUT_FORMAT_CHANGED\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA:     width-height: (2880 x 1440)\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA:     color-format: (QCOM_FORMATYUV420PackedSemiPlanar32m: 0x7fa30c04)\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA:     stride:       (2944)\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA:     slice-height: (1440)\r\n10-13 11:25:44.852 8118-10095/com.insta360.explore I/IJKMEDIA:     crop:         (0, 0, 2879, 1439)\r\n10-13 11:25:47.402 8118-8118/com.insta360.explore W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection\r\n\r\n从log看codec 被销毁又重新创建的，现在我想实现的效果是，按home退出，点击图标重新后来继续播放，有什么方法可以设置不用销毁吗？@bbcallen"},"comment":{"url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/comments/150540722","html_url":"https://github.com/Bilibili/ijkplayer/issues/541#issuecomment-150540722","issue_url":"https://api.github.com/repos/Bilibili/ijkplayer/issues/541","id":150540722,"user":{"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},"created_at":"2015-10-23T10:41:38Z","updated_at":"2015-10-23T10:41:38Z","body":"Possibly fixed"}}