Skip to content
Snippets Groups Projects

[3.0] avcodec: vaapi: fetch profile if not available

Merged Thomas Guillem requested to merge tguillem/vlc:3.0-vaapi-fix-profile into 3.0.x
All threads resolved!

The profile might not be available from Open(). It's rare case may happen if our hxxx packetizer is not loaded because the demuxer prevents it (b_packetized = false).

For the current issue, the extra data is set midstream by lavc (and not by our mkv demux).

The 4.0 branch does not need this patch since the VAAPI initialisation is done by lavc.

Thanks Steve for the hint, the same thing is done in directx_va.c.

Co-authored-by: Steve Lhomme robux4@ycbcr.xyz

Fixes #27163 (closed)

Edited by Steve Lhomme

Merge request reports

Merge request pipeline #246564 passed

Merge request pipeline passed for 7c897c4d

Approved by

Merged by Steve LhommeSteve Lhomme 2 years ago (Jul 29, 2022 2:25pm UTC)

Merge details

  • Changes merged into 3.0.x with 7c897c4d.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #247747 passed

Pipeline passed for 7c897c4d on 3.0.x

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thomas Guillem added 1 commit

    added 1 commit

    • 81624ed4 - avcodec: vaapi: fetch profile if not available

    Compare with previous version

  • Denis Charmet approved this merge request

    approved this merge request

  • mentioned in issue #27163 (closed)

  • Denis Charmet unapproved this merge request

    unapproved this merge request

  • Denis Charmet approved this merge request

    approved this merge request

  • Thomas Guillem resolved all threads

    resolved all threads

  • Steve Lhomme
  • François Cartegnie
  • Thomas Guillem added 1 commit

    added 1 commit

    • 2f1f34ee - avcodec: vaapi: use profile from AVCodecContext

    Compare with previous version

  • Thomas Guillem resolved all threads

    resolved all threads

  • Author Maintainer

    Updated with a new version. That was indeed a bug #27163 (closed).

  • Rémi Denis-Courmont approved this merge request

    approved this merge request

  • Author Maintainer

    For the record, I still think that my previous version is safer, specially for 3.0 only.

    cf. 7d95dac7

  • Denis Charmet resolved all threads

    resolved all threads

  • Jean-Baptiste Kempf approved this merge request

    approved this merge request

  • MR Acceptance result

    :tada: This MergeRequest has been Accepted! Congratulations.

    MR acceptance checks details:

    • :white_check_mark: MR should be considered mergeable by Gitlab
    • :white_check_mark: Last pipeline should be successful
    • :white_check_mark: MergeRequest should have at least one external review and/or vote
    • :white_check_mark: All threads should be resolved, and score >= 0
    • :white_check_mark: MergeRequest should have no activity (threads/votes) for (24h/24h)

    This message was automatically generated by homer-bot.

  • Steve Lhomme added 22 commits

    added 22 commits

    Compare with previous version

  • Steve Lhomme enabled an automatic merge when the pipeline for 7c897c4d succeeds

    enabled an automatic merge when the pipeline for 7c897c4d succeeds

  • merged

  • changed milestone to %3.0.18

  • Please register or sign in to reply
    Loading