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

Philips TV (QM163E) crashes when switching surface #4104

Closed
bwalter opened this issue Apr 9, 2018 · 0 comments
Closed

Philips TV (QM163E) crashes when switching surface #4104

bwalter opened this issue Apr 9, 2018 · 0 comments

Comments

@bwalter
Copy link

bwalter commented Apr 9, 2018

We are using in our app multiple players and dynamically switch the surface. This behaviour makes ExoPlayer crash or produce an ANR on one specific Philips TV model (QM163E). We could not reproduce this behaviour on other Android devices (mobile and TVs), even not on other Philips TV models (MT5593FHT_EU, PH7M_EU_5596).

This has been confirmed using ExoPlayer versions 2.7.1, 2.7.0, 2.6.x, 2.5.x.

This seems to be related to: #3835

Applying the workaround by adding it to the list in MediaCodecVideoRender/codecNeedsSetOutputSurfaceWorkaround() for OMX.MTK.VIDEO.DECODER.AVC fixes the issue:

private static boolean codecNeedsSetOutputSurfaceWorkaround(String name) {
    return ...
        || ((...
                || "QM16XE_U".equals(Util.DEVICE)) // Philips QM163E
            && "OMX.MTK.VIDEO.DECODER.AVC".equals(name))
        || ...;
  }

Affected devices:

  • Philips TV (QM163E)

Not affected:

  • All Android mobile phones tested
  • Other Philips TVs (MT5593FHT_EU, PH7M_EU_5596)
  • Other Android TVs tested

bugreport-NZH54D-2018-04-03-16-40-08.zip

@erdemguven erdemguven self-assigned this Apr 12, 2018
@erdemguven erdemguven added the bug label Apr 12, 2018
ojw28 pushed a commit that referenced this issue Apr 16, 2018
Issue: #4104

-------------
Created by MOE: https:/google/moe
MOE_MIGRATED_REVID=192629223
@ojw28 ojw28 closed this as completed Apr 16, 2018
@google google locked and limited conversation to collaborators Sep 11, 2018
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