mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Warn if input has cropping information
Cropping is not supported by VAAPI encode.
This commit is contained in:
parent
ef2f89bbcc
commit
909bcedc58
2 changed files with 23 additions and 0 deletions
|
|
@ -314,6 +314,10 @@ typedef struct VAAPIEncodeContext {
|
|||
int idr_counter;
|
||||
int gop_counter;
|
||||
int end_of_stream;
|
||||
|
||||
// The encoder does not support cropping information, so warn about
|
||||
// it the first time we encounter any nonzero crop fields.
|
||||
int crop_warned;
|
||||
} VAAPIEncodeContext;
|
||||
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue