]> git.sesse.net Git - ffmpeg/commit
ffmpeg_hw: Treat empty device string as no device setting
authorMark Thompson <sw@jkqxz.net>
Mon, 6 May 2019 14:30:24 +0000 (15:30 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 2 Jun 2019 21:58:22 +0000 (22:58 +0100)
commita4448637380d9397a7ea5d644e9853af90a66a89
tree82fcc5a87c5dc48927f20a5fe60b97fc51fb2835
parent1f8b36329f20ea08eafe3823b1e1b3785d74768d
ffmpeg_hw: Treat empty device string as no device setting

The implementation will use some default in this case.  The empty string
is not a meaningful device for any existing hardware type, and indeed
OpenCL treats it identically to no device already to work around the lack
of this setting on the command line.
fftools/ffmpeg_hw.c