History

vaapi_encode: Warn if input has cropping information

Cropping is not supported by VAAPI encode.

Mark Thompson committed 7 years ago

Commit 909bced1 parent ef2f89b2 files · +23 −0Browse files

Showing the changes to libavcodec/vaapi_encode.h (1 of 2 files). Show all

Unified · Split

libavcodec/vaapi_encode.h+4−0
@@ -314,6 +314,10 @@ typedef struct VAAPIEncodeContext { · 313 unmodified lines
314314 int idr_counter;
315315 int gop_counter;
316316 int end_of_stream;
317+
318+ // The encoder does not support cropping information, so warn about
319+ // it the first time we encounter any nonzero crop fields.
320+ int crop_warned;
317321 } VAAPIEncodeContext;
318322
319323 enum {

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