]> git.sesse.net Git - ffmpeg/commit
amfenc: Do not automatically download/upload unknown hardware input frames
authorMark Thompson <sw@jkqxz.net>
Sat, 14 Apr 2018 14:46:00 +0000 (15:46 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 15 Apr 2018 15:46:12 +0000 (16:46 +0100)
commit73ed6fa9d77da8cd4f34742dd0f56e64aa714786
tree04b5c650a19a8d1d9e6972225eb02fc4dd54e8b5
parentff1be6c9a694ee019608288fd25f1c869f7f51b7
amfenc: Do not automatically download/upload unknown hardware input frames

Supplying a hardware input frame which is not in the input hardware frames
context is not allowed by the API, so additional code to handle it is not
necessary.  Further, handling it automatically results in very low
performance - it is more appropriate to fail immediately so that the user
can fix their incorrect setup.
libavcodec/amfenc.c