summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-16 20:54:46 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:34 +0200
commitc9fcd20959ef8d0463be0599e8596002ae68ffd2 (patch)
treeff3ef19eb4db13a2ea03697cedd63c652195d09e /stream/stream_file.c
parent5f61892c42b78d271bcc3f027fb8097a83b32231 (diff)
downloadmpv-c9fcd20959ef8d0463be0599e8596002ae68ffd2.tar.bz2
mpv-c9fcd20959ef8d0463be0599e8596002ae68ffd2.tar.xz
vd_lavc: minor simplification for get_format fallback
The default get_format does exactly do this, so we don't need to duplicate it. The only potential problem with this is that the logic doesn't entirely prevent that the avcodec_default_get_format hw_device_ctx path is triggered, which would probably work, but has unknown consequences and interactions. But the way the logic currently works it can't happen, provided the hwaccel metadata libavcodec provides is correct.
Diffstat (limited to 'stream/stream_file.c')
0 files changed, 0 insertions, 0 deletions