Skip to content

Commit

Permalink
fix: hardware encoder stash in 7d55
Browse files Browse the repository at this point in the history
mask the 7d55 for encoder

Log: make the video record use softencode

Bug: https://pms.uniontech.com/bug-view-278369.html
  • Loading branch information
shuaijie committed Oct 21, 2024
1 parent 33b0f61 commit fcd674b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcam/libcam_encoder/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,7 @@ static encoder_video_context_t *encoder_video_init_vaapi(encoder_context_t *enco

if (0x8086 == dev->vendor_id) { // intel gpu support vaapi, vendor_id :0x8086 can find from file pci.ids
//Iris Xe Graphics don't suppot vaapi, so softening coding.
if (dev->device_id == 0xa7a0) {
if (dev->device_id == 0xa7a0 || dev->device_id == 0x7d55) {
is_vaapi = HW_VAAPI_FAIL1;
return NULL;
}
Expand Down

0 comments on commit fcd674b

Please sign in to comment.