mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
3269bd1780
Get rid of the strange and messy reliance on DEMUXER_TYPE_ constants. Instead of having two open functions for the demuxer callbacks (which somehow are both optional, but you can also decide to implement both...), just have one function. This function takes a parameter that tells the demuxer how strictly it should check for the file headers. This is a nice simplification and allows more flexibility. Remove the file extension code. This literally did nothing (anymore). Change demux_lavf so that we check our other builtin demuxers first before libavformat tries to guess by file extension. |
||
---|---|---|
.. | ||
af.rst | ||
ao.rst | ||
changes.rst | ||
encode.rst | ||
input.rst | ||
mpv.rst | ||
options.rst | ||
vf.rst | ||
vo.rst |