mirror of https://github.com/mpv-player/mpv
Fix building without network.
When _network=='no' then _nemesi, _live and _native_rtsp would keep their default values, in the the case of _native_rtsp this happens to be 'yes'. Clearing them also produces nicer output. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24593 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
37ecc6b094
commit
933f3af163
|
@ -6235,16 +6235,17 @@ if test "$_nemesi" = auto && test "$_network" = yes ; then
|
|||
_nemesi=yes
|
||||
fi
|
||||
fi
|
||||
echores "$_nemesi"
|
||||
|
||||
if test "$_nemesi" = yes; then
|
||||
_native_rtsp=no
|
||||
_def_nemesi='#define LIBNEMESI 1'
|
||||
_inputmodules="nemesi $_inputmodules"
|
||||
else
|
||||
_native_rtsp="$_network"
|
||||
_nemesi=no
|
||||
_def_nemesi='#undef LIBNEMESI'
|
||||
_noinputmodules="nemesi $_noinputmodules"
|
||||
fi
|
||||
echores "$_nemesi"
|
||||
|
||||
echocheck "LIVE555 Streaming Media libraries"
|
||||
if test "$_live" = auto && test "$_network" = yes ; then
|
||||
|
@ -6290,6 +6291,7 @@ elif test "$_live_dist" = yes && test "$_network" = yes && test "$_nemesi" = no;
|
|||
-I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
|
||||
_inputmodules="live555 $_inputmodules"
|
||||
else
|
||||
_live=no
|
||||
_def_live='#undef STREAMING_LIVE555'
|
||||
_noinputmodules="live555 $_noinputmodules"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue