videotoolbox: require hardware acceleration
authorStefano Pigozzi <stefano.pigozzi@gmail.com>
Fri, 21 Aug 2015 06:56:24 +0000 (08:56 +0200)
committerwm4 <nfxjfg@googlemail.com>
Tue, 29 Sep 2015 21:55:11 +0000 (23:55 +0200)
commit78cc19f15ead41909ddaf85cd5bad10036a93883
treee1169777cba9c377a256ea224afacf6e1acd5a04
parent98ed0716fb79004f97a8348b29557c25c21afa32
videotoolbox: require hardware acceleration

VideoToolbox also implements a software decoder for h264, and will fallback to
using it if the file cannot be decoded on the GPU. In these cases though,
we want the hwaccel to fail so that we can use the libavcodec software decoder
instead of the Apple one.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
libavcodec/videotoolbox.c