mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-04 07:46:33 +08:00
Added hardware filtering
This commit is contained in:
@@ -95,7 +95,7 @@ func main() {
|
||||
}
|
||||
|
||||
// Set hardware frame content
|
||||
hardwareFrameContext.SetPixelFormat(hardwarePixelFormat)
|
||||
hardwareFrameContext.SetHardwarePixelFormat(hardwarePixelFormat)
|
||||
hardwareFrameContext.SetSoftwarePixelFormat(softwarePixelFormat)
|
||||
hardwareFrameContext.SetWidth(*width)
|
||||
hardwareFrameContext.SetHeight(*height)
|
||||
|
Reference in New Issue
Block a user