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

Can you update with 2.12 #1

Open
sanoj26692 opened this issue Oct 31, 2020 · 2 comments
Open

Can you update with 2.12 #1

sanoj26692 opened this issue Oct 31, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@sanoj26692
Copy link

Many function are deprecated, update with 2.12

@squti
Copy link
Owner

squti commented Nov 4, 2020

Which functions are deprecated?

@sanoj26692
Copy link
Author

sanoj26692 commented Nov 5, 2020

Untitled

And also some time i get this error. but the same video is played when try to play it again. Am working with 2.12.1 exoplayer version.

2020-11-05 21:24:01.207 6374-6815/com.example.jlplayer E/ACodec: [OMX.IMG.MSVDX.Decoder.AVC] setPortMode on output to DynamicANWBuffer failed w/ err -1010 2020-11-05 21:24:01.691 6374-6606/com.example.jlplayer E/MediaMetadataRetrieverJNI: getFrameAtTime: videoFrame is a NULL pointer 2020-11-05 21:24:03.184 6374-6834/com.example.jlplayer E/BufferQueueProducer: [] Can not get hwsched service 2020-11-05 21:24:03.525 6374-6605/com.example.jlplayer E/MediaMetadataRetrieverJNI: getFrameAtTime: videoFrame is a NULL pointer 2020-11-05 21:24:04.992 6374-6854/com.example.jlplayer E/BufferQueueProducer: [] Can not get hwsched service 2020-11-05 21:24:04.997 6374-6849/com.example.jlplayer E/ACodec: [OMX.IMG.MSVDX.Decoder.AVC] setPortMode on output to DynamicANWBuffer failed w/ err -1010 2020-11-05 21:24:05.090 677-1317/? E/BufferQueueProducer: [SurfaceView - com.example.jlplayer/Activity.VideoPlayer#0] setMaxDequeuedBufferCount: requested buffer count 1 is less than minimum 2 2020-11-05 21:24:05.091 6374-6849/com.example.jlplayer E/Surface: IGraphicBufferProducer::setBufferCount(1) returned Invalid argument 2020-11-05 21:24:05.092 6374-6849/com.example.jlplayer E/ACodec: native_window_set_buffer_count failed: Invalid argument (22) 2020-11-05 21:24:05.099 6374-6846/com.example.jlplayer E/ExoPlayerImplInternal: Playback error com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:564) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:166) at android.os.HandlerThread.run(HandlerThread.java:65) Caused by: java.lang.IllegalArgumentException at android.media.MediaCodec.native_setSurface(Native Method) at android.media.MediaCodec.setOutputSurface(MediaCodec.java:1967) at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.setOutputSurfaceV23(MediaCodecVideoRenderer.java:1242) at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.setSurface(MediaCodecVideoRenderer.java:516) at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.handleMessage(MediaCodecVideoRenderer.java:478) at com.google.android.exoplayer2.ExoPlayerImplInternal.deliverMessage(ExoPlayerImplInternal.java:1402) at com.google.android.exoplayer2.ExoPlayerImplInternal.sendMessageToTarget(ExoPlayerImplInternal.java:1368) at com.google.android.exoplayer2.ExoPlayerImplInternal.sendMessageInternal(ExoPlayerImplInternal.java:1343) at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:499) at android.os.Handler.dispatchMessage(Handler.java:104)  at android.os.Looper.loop(Looper.java:166)  at android.os.HandlerThread.run(HandlerThread.java:65)  2020-11-05 21:24:05.316 1145-7119/? E/WindowManager: win=Window{90a8b32 u0 com.example.jlplayer/Activity.FVideoActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false

@squti squti added the good first issue Good for newcomers label Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants