Skip to content

Commit

Permalink
Add support hardware auto discovery for Rockchip
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Dec 5, 2023
1 parent 4bdfa62 commit 8d9f870
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/ffmpeg/hardware/hardware_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,16 @@ func ProbeHardware(bin, name string) string {
if run(bin, ProbeV4L2M2MH264) {
return EngineV4L2M2M
}
if run(bin, ProbeRKMPPH264) {
return EngineRKMPP
}
case "h265":
if run(bin, ProbeV4L2M2MH265) {
return EngineV4L2M2M
}
if run(bin, ProbeRKMPPH265) {
return EngineRKMPP
}
}

return EngineSoftware
Expand Down

0 comments on commit 8d9f870

Please sign in to comment.