Opened 8 years ago

Closed 8 years ago

#11746 closed Bug Report - General (fixed)

VAAPI decoder not always used

Reported by: JYA Owned by: JYA
Priority: critical Milestone: 0.27
Component: MythTV - Video Playback Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


Under most circumstances, VAAPI can only be used for the first video opened. If another video is opened right after (like when using live TV and changing channels); then VAAPI will not be used.

Instead VAAPI display creation will fail with an error and decoding will default to ffmpeg for following videos.

Error displayed is: "Already have a VAAPI display of a different type"

Reason is that to detect VAAPI availability, a temporary VAAPI display is created with the type X11 when there's already an OpenGL one being used.

The VAAPIDisplay shouldn't be re-used when we're only trying to check VAAPI capabilities

Change History (1)

comment:1 Changed 8 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: newclosed

In 57ee0522bb3d053c67d984a4d6872bd49b71fc32/mythtv:

Allow VAAPI profile to be used more than once in a row.

Fixes #11746

Note: See TracTickets for help on using tickets.