History

lavfi/overlay_vaapi: set input region for overlay video to NULL

Otherwise main and overlay videos share the same input region. Note NULL pointer imples the whole overlay video will be processed.

Haihao Xiang committed 3 years ago

Commit 2aad9761 parent a9a2dda1 file · +1 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_overlay_vaapi.c+1−0
@@ -237,6 +237,7 @@ static int overlay_vaapi_blend(FFFrameSync *fs) · 236 unmodified lines
237 params[1].blend_state = &blend_state;237 params[1].blend_state = &blend_state;
238 238
239 params[1].surface = (VASurfaceID)(uintptr_t)input_overlay->data[3];239 params[1].surface = (VASurfaceID)(uintptr_t)input_overlay->data[3];
240 params[1].surface_region = NULL;
240 params[1].output_region = &overlay_region;241 params[1].output_region = &overlay_region;
241 }242 }
242 243

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t