]> git.sesse.net Git - ffmpeg/commit
ffmpeg: Use hardware config metadata with encoders
authorMark Thompson <sw@jkqxz.net>
Mon, 13 Apr 2020 15:33:20 +0000 (16:33 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 26 Apr 2020 17:38:25 +0000 (18:38 +0100)
commit8abd3b202821e9c491f44d097686402aafdda7c5
tree6439bf7128bee3479d5c74b044f472800f8ef089
parente2542124059f5960ac2bbd94183012814263f20d
ffmpeg: Use hardware config metadata with encoders

This can support encoders which want frames and/or device contexts.  For
the device case, it currently picks the first initialised device of the
desired type to give to the encoder - a new option would be needed if it
were necessary to choose between multiple devices of the same type.
fftools/ffmpeg.c
fftools/ffmpeg_hw.c