[FFmpeg-devel] [PATCH] enable tcp_protocol when enabling http

Måns Rullgård mans
Mon Mar 8 01:43:39 CET 2010


Peter Ross <pross at xvid.org> writes:

> When configuring ffmpeg with
>     ./configure --disable-protocols --enable-protocol=http
> the http protocol never connects to the server, because it re-uses
> the tcp protocol.
>
> This patch automatically enables tcp when http is enabled.
>
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
>
> diff --git a/configure b/configure
> index 902332f..0abb32f 100755
> --- a/configure
> +++ b/configure
> @@ -1394,6 +1394,7 @@ x11_grab_device_indev_extralibs="-lX11 -lXext -lXfixes"
>  # protocols
>  gopher_protocol_deps="network"
>  http_protocol_deps="network"
> +http_protocol_select="tcp_protocol"
>  rtmp_protocol_deps="tcp_protocol"
>  rtp_protocol_deps="udp_protocol"
>  tcp_protocol_deps="network"

OK

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list