1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/common
Dudemanguy f921b64ed7 stream: implement get_protocols method for stream_lavf
Previously, all stream protocols were a static list in mpv. This is okay
for own builtin stuff, but for protocols that depend on ffmpeg it's not
so great. Support for certain protocols may or may not be enabled in a
user's ffmpeg and the protocol list that mpv generates should ideally
match this. Fix this by implementing a get_protocols method for
stream_lavf that will have different results depending on the ffmpeg mpv
is built against. We keep the safe and unsafe protocols separation. The
former is essentially a whitelist. Any protocol that is found in ffmpeg
but is not in the safe whitelist is considered unsafe. In the stream
list, ffmpeg is moved to the bottom so any possible protocols that are
added in the future don't automatically take precedence over any builtin
mpv ones.
2024-05-22 20:10:52 +00:00
..
av_common.c stream: implement get_protocols method for stream_lavf 2024-05-22 20:10:52 +00:00
av_common.h stream: implement get_protocols method for stream_lavf 2024-05-22 20:10:52 +00:00
av_log.c common: stream: don't mention Libav in errors/warnings 2024-01-20 16:10:20 +00:00
av_log.h player: rearrange libav* library check 2020-03-08 19:38:10 +01:00
codecs.c codecs: remove unused family field 2018-02-01 10:21:55 +01:00
codecs.h codecs: remove unused family field 2018-02-01 10:21:55 +01:00
common.c m_property: add > for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
common.h common: define some bits for Windows SDK 2024-05-06 22:01:17 +02:00
encode_lavc.c player/main: select msg output stream early 2024-05-06 22:21:46 +02:00
encode_lavc.h player/main: select msg output stream early 2024-05-06 22:21:46 +02:00
encode.h options: remove a few options marked with .deprecation_message 2023-09-21 16:06:29 +00:00
global.h path: simplify "cache" and "state" fallback 2023-05-21 20:11:24 +02:00
meson.build build: restrict git describe to top level source directory 2023-11-27 15:22:22 +00:00
msg_control.h common: don't force terminal log buffer to small size 2024-01-27 10:04:16 +01:00
msg.c msg: clear status line only if needed 2024-05-19 19:10:58 +02:00
msg.h msg: add function to reduce log level 2020-05-10 16:40:26 +02:00
playlist.c input/player: add loadfile/loadlist insert-at command 2024-02-26 02:03:21 +00:00
playlist.h input/player: add loadfile/loadlist insert-at command 2024-02-26 02:03:21 +00:00
recorder.c recorder: fix a couple of memory leaks 2023-09-26 22:09:15 +00:00
recorder.h recorder: add support for attachments (fonts) 2021-07-08 12:44:06 +03:00
stats.c various: move unistd.h inclusion to common.h 2024-05-06 22:01:17 +02:00
stats.h mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
tags.c various: move strings.h inclusion to common.h 2024-05-06 22:01:17 +02:00
tags.h common/tags: add mp_tags_move_from_av_dictionary() 2023-10-18 16:52:47 +02:00
version.c version: move NO_BUILD_TIMESTAMPS check to version.h.in 2023-08-02 18:51:13 +00:00
version.h.in osdep/mpv.rc: fix encoding of MPVCOPYRIGHT 2024-05-06 22:01:17 +02:00