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

Yet another OMX.amlogic.avc.decoder.awesome seek issue after ENDED #5203

Closed
consp1racy opened this issue Dec 5, 2018 · 0 comments
Closed
Assignees

Comments

@consp1racy
Copy link

Issue description

The exact same thing as here #2120 happens on another device.

Reproduction steps

  1. Start MP4 playback with repeating enabled.
  2. Turn off repeating.
  3. Wait for video to finish.
  4. Turn on repeating.

Video should start playing automatically from the beginning. Instead the output is stuck on last frame.

Link to test content

The device is this one https://www.framexx.com/framexx-sign/

Version of ExoPlayer being used

2.9.2

Device(s) and version(s) of Android being used

"MBX Quad-Core Enjoy TV Box" running Android 4.4.2

A full bug report captured from the device

stvm8-bugreport.txt

The solution

Update MediaCodecRenderer.codecNeedsEosFlushWorkaround as so:

private static boolean codecNeedsEosFlushWorkaround(String name) {
    return (Util.SDK_INT <= 23 && "OMX.google.vorbis.decoder".equals(name))
            || (Util.SDK_INT <= 19
            && ("hb2000".equals(Util.DEVICE)
            || "stvm8".equals(Util.DEVICE))
            && ("OMX.amlogic.avc.decoder.awesome".equals(name)
            || "OMX.amlogic.avc.decoder.awesome.secure".equals(name)));
}

where "stvm8" is the device in question.

This has been tested (with the non-secure variant) and it solved the described issue.

@erdemguven erdemguven self-assigned this Dec 6, 2018
andrewlewis pushed a commit that referenced this issue Dec 10, 2018
Issue:#5203
PiperOrigin-RevId: 224726041
@ojw28 ojw28 closed this as completed Dec 12, 2018
@ojw28 ojw28 reopened this Dec 14, 2018
@ojw28 ojw28 closed this as completed Dec 14, 2018
ojw28 pushed a commit that referenced this issue Dec 19, 2018
Issue:#5203
PiperOrigin-RevId: 224726041
@google google locked and limited conversation to collaborators May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants