diff options
author | wm4 <wm4@nowhere> | 2017-01-10 16:49:06 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-10 16:49:06 +0100 |
commit | c000b37e9abd926fffff79c4f3056e1700a0e849 (patch) | |
tree | f89252e5356f97383a85ff4faef46470f3f45e67 /sub/lavc_conv.c | |
parent | ed937b6eca269c653fcaa39db14c2623dd3d2862 (diff) |
vd_lavc: complicated improved fallback behavior for --hwdec=cuda
The ffmpeg cuda wrappers need more than 1 packet for determining whether
hw decoding will work. So do something complicated and keep up to 32
packets when trying to do hw decoding, and replay the packets on the
software decoder if it doesn't work.
This code was written in a delirious state, testing for regressions and
determining whether this is worth the trouble will follow later. All mpv
git users are alpha testers as of this moment.
Fixes #3914.
Diffstat (limited to 'sub/lavc_conv.c')
0 files changed, 0 insertions, 0 deletions