Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 8 months ago

Closed 8 months ago

#11746 closed Bug Report - General (fixed)

VAAPI decoder not always used

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

Description

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

Attachments (0)

Change History (1)

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

  • Resolution set to fixed
  • Status changed from new to closed

In 57ee0522bb3d053c67d984a4d6872bd49b71fc32/mythtv:

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

Fixes #11746

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.