mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
Enable RTSP and SDP demuxers if network support is enabled, they can now be used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30505 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
212eb494ff
commit
0b6de5c37e
3
configure
vendored
3
configure
vendored
@ -559,7 +559,7 @@ _libavhwaccels_all=$(sed -n 's/^[^#]*HWACCEL.*(.*, *\(.*\)).*/\1_hwaccel/p' liba
|
||||
# Disable all hardware accelerators for now.
|
||||
_libavhwaccels=
|
||||
_libavdemuxers_all=$(sed -n 's/^[^#]*DEMUX.*(.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]')
|
||||
_libavdemuxers=$(echo $_libavdemuxers_all | sed -e 's/ LIB[A-Z0-9_]*_DEMUXER//g' -e s/REDIR_DEMUXER// -e s/RTSP_DEMUXER// -e s/SDP_DEMUXER// -e s/AVISYNTH_DEMUXER//)
|
||||
_libavdemuxers=$(echo $_libavdemuxers_all | sed -e 's/ LIB[A-Z0-9_]*_DEMUXER//g' -e s/REDIR_DEMUXER// -e s/AVISYNTH_DEMUXER//)
|
||||
_libavmuxers_all=$(sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]')
|
||||
_libavmuxers=$(echo $_libavmuxers_all | sed -e 's/ LIB[A-Z0-9_]*_MUXER//g' -e s/RTP_MUXER//)
|
||||
_libavprotocols_all=$(sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]')
|
||||
@ -3355,6 +3355,7 @@ else
|
||||
def_network='#undef CONFIG_NETWORK'
|
||||
_ftp=no
|
||||
_libavprotocols=$(echo $_libavprotocols | sed -e s/GOPHER_PROTOCOL// -e s/HTTP_PROTOCOL// -e s/RTMP_PROTOCOL// -e s/RTP_PROTOCOL// -e s/TCP_PROTOCOL// -e s/UDP_PROTOCOL//)
|
||||
_libavdemuxers=$(echo $_libavdemuxers | sed -e s/RTSP_DEMUXER// -e s/SDP_DEMUXER//)
|
||||
fi
|
||||
echores "$_network"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user