Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop play crash #4

Open
qingkouwei opened this issue Feb 12, 2020 · 0 comments
Open

stop play crash #4

qingkouwei opened this issue Feb 12, 2020 · 0 comments

Comments

@qingkouwei
Copy link
Owner

2020-01-15 17:49:07.126 20740-20740/com.wodekouwei.demo D/KeyEvent: obtain, mHwFlags=0
2020-01-15 17:49:07.206 20740-20740/com.wodekouwei.demo D/KeyEvent: obtain, mHwFlags=0
2020-01-15 17:49:07.216 20740-20740/com.wodekouwei.demo I/oarplayer_jni: [SrsPlayer_onPause():131]pause...
2020-01-15 17:49:07.238 20740-20845/com.wodekouwei.demo I/audio_player: [get_audio_frame():65]audio play state is not playing...
2020-01-15 17:49:07.239 20740-20845/com.wodekouwei.demo D/AudioTrack: stop() called with 467968 frames delivered
2020-01-15 17:49:07.360 20740-20767/com.wodekouwei.demo D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2020-01-15 17:49:07.364 20740-20740/com.wodekouwei.demo W/InputMethodManager: startInputReason = 1
2020-01-15 17:49:07.376 20740-20767/com.wodekouwei.demo W/libEGL: EGLNativeWindowType 0xcb768808 disconnect failed
2020-01-15 17:49:07.377 20740-20767/com.wodekouwei.demo D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2020-01-15 17:49:07.400 20740-20767/com.wodekouwei.demo W/libEGL: EGLNativeWindowType 0xcd339008 disconnect failed
2020-01-15 17:49:07.432 20740-20848/com.wodekouwei.demo I/audio_player: [get_audio_frame():65]audio play state is not playing...
2020-01-15 17:49:07.432 20740-20845/com.wodekouwei.demo D/AudioTrack: stop() called with 0 frames delivered
2020-01-15 17:49:07.432 20740-20842/com.wodekouwei.demo W/ACodec: forcing OMX state to Idle when received shutdown in ExecutingState
2020-01-15 17:49:07.435 20740-20848/com.wodekouwei.demo I/audio_decode_thread: [audio_decode_thread():93]thread ==> audio_decode_thread exit
2020-01-15 17:49:07.436 20740-20833/com.wodekouwei.demo E/srs_player: [read_thread():275]thread ==> read_thread exit
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #00 pc 0065e1e4 /vendor/lib/egl/libGLES_mali.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #1 pc 003b5fcc /vendor/lib/egl/libGLES_mali.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #2 pc 0037bffc /vendor/lib/egl/libGLES_mali.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #3 pc 003739c4 /vendor/lib/egl/libGLES_mali.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #4 pc 0037aa78 /vendor/lib/egl/libGLES_mali.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #5 pc 00379340 /vendor/lib/egl/libGLES_mali.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #6 pc 000eb869 /data/app/com.wodekouwei.demo-U2rMMMECfan3yACajn2ayw==/lib/arm/liboarp-lib.so
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #7 pc 000eb4dd /data/app/com.wodekouwei.demo-U2rMMMECfan3yACajn2ayw==/lib/arm/liboarp-lib.so (oar_player_gl_thread+320)
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #8 pc 00048c1f /system/lib/libc.so (_ZL15__pthread_startPv+22)
2020-01-15 17:49:07.546 20740-20847/com.wodekouwei.demo D/graphic: #09 pc 0001b09f /system/lib/libc.so (__start_thread+32)
2020-01-15 17:49:07.547 20740-20847/com.wodekouwei.demo W/mali_winsys: native_window_api_disconnect failed: -19
2020-01-15 17:49:07.547 20740-20847/com.wodekouwei.demo W/libEGL: EGLNativeWindowType 0xcb768008 disconnect failed
2020-01-15 17:49:07.547 20740-20847/com.wodekouwei.demo I/oar_player_gl_thread: [oar_player_gl_thread():258]thread ==> oar_player_gl_thread exit
2020-01-15 17:49:13.582 20740-20836/com.wodekouwei.demo W/ACodec: forcing OMX state to Idle when received shutdown in ExecutingState
2020-01-15 17:49:13.691 20740-20835/com.wodekouwei.demo D/SurfaceUtils: disconnecting from surface 0xe2bed808, reason disconnectFromSurface
2020-01-15 17:49:13.700 20740-20846/com.wodekouwei.demo I/video_decode_thread: [video_decode_hw_thread():109]thread ==> video_decode_hw_thread exit
2020-01-15 17:49:13.738 20740-20740/com.wodekouwei.demo I/oarplayer_jni: [SrsPlayer_release():105]release...
2020-01-15 17:49:13.741 20740-20740/com.wodekouwei.demo D/ActivityThread: Remove activity client record, r= ActivityRecord{5bb84fb token=android.os.BinderProxy@2522894 {com.wodekouwei.demo/com.wodekouwei.demo.PlayerAty}} token= android.os.BinderProxy@2522894
2020-01-15 17:49:15.233 20740-20740/com.wodekouwei.demo W/InputMethodManager: startInputReason = 8
2020-01-15 17:49:15.357 20740-20740/com.wodekouwei.demo V/ActivityThread: Finishing stop of ActivityRecord{f3245be token=android.os.BinderProxy@29c6bbd {com.wodekouwei.demo/com.wodekouwei.demo.MainActivity}}
2020-01-15 17:49:15.692 20740-20767/com.wodekouwei.demo W/libEGL: EGLNativeWindowType 0xcb768808 disconnect failed
2020-01-15 17:49:16.087 20740-20740/com.wodekouwei.demo V/ActivityThread: Handle window ActivityRecord{f3245be token=android.os.BinderProxy@29c6bbd {com.wodekouwei.demo/com.wodekouwei.demo.MainActivity}} visibility: false

oar_player_gl_thread.c
static void release_egl(oarplayer * oar) {
oar_video_render_context *ctx = oar->video_render_ctx;
if (ctx->display == EGL_NO_DISPLAY) return;
//glClear(GL_COLOR_BUFFER_BIT);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant