summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-15 18:12:12 +0100
committerwm4 <wm4@nowhere>2020-02-15 18:30:42 +0100
commite54ebaec5229f9f82bc6b77cef5c5b75b7577487 (patch)
treebbc3f98c5de5873012c2c338bd4dadfd790b3301 /player/lua
parentc92c08edc671e64c31d98584e709b0f712864772 (diff)
downloadmpv-e54ebaec5229f9f82bc6b77cef5c5b75b7577487.tar.bz2
mpv-e54ebaec5229f9f82bc6b77cef5c5b75b7577487.tar.xz
f_decoder_wrapper, sd_add: accept "null" codec
This is for easier use with the "delay_open" feature added in the previous commit. The "null" codec is reported if the codec is unknown (because the stream was not opened yet at time the tracks were added). The rest of the timeline mechanism will set the correct codec at runtime. But this means every time a delay-loaded track is selected, it wants to initialize a decoder for the "null" codec. Accept a "null" decoder. But since FFmpeg has no such codec, and out of my own laziness, just let it fall back to "common" codecs that need no other initialization data.
Diffstat (limited to 'player/lua')
0 files changed, 0 insertions, 0 deletions