[Ffmpeg-devel] [RFC PATCH] Selectable protocols

Diego Biurrun diego
Thu Apr 26 21:37:44 CEST 2007


On Thu, Apr 26, 2007 at 05:36:14PM +0200, Alex Beregszaszi wrote:
> 
> > Attached is a patch which adds support for selectable protocols, using
> > the same method as used by muxers/demuxers/parsers/etc.
> > 
> > If noone is opposing this, I will commit this in a few hours. Of course
> > I will wait for the first reply from a configure hacker :)
> 
> Of course I forgot the Makefile part.
> 
> --- libavformat/Makefile	(revision 8829)
> +++ libavformat/Makefile	(working copy)
> @@ -158,9 +158,13 @@
>  
> -OBJS-$(CONFIG_PROTOCOLS)                 += file.o
> -OBJS-$(CONFIG_NETWORK)                   += udp.o tcp.o http.o rtsp.o rtp.o \
> -                                            rtpproto.o mpegts.o rtp_h264.o
> +OBJS-$(CONFIG_FILE_PROTOCOL)             += file.o
> +OBJS-$(CONFIG_PIPE_PROTOCOL)             += file.o
> +OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o
> +OBJS-$(CONFIG_TCP_PROTOCOL)              += tcp.o
> +OBJS-$(CONFIG_HTTP_PROTOCOL)             += http.o

Alphabetical order please.

> +OBJS-$(CONFIG_RTP_PROTOCOL)              += rtsp.o rtp.o rtpproto.o \
> +                                            mpegts.o rtp_h264.o

I think mpegts does not belong there, but this should be fixed now.
Also, I think it's RTP_MUXER and RTSP_DEMUXER.

Diego




More information about the ffmpeg-devel mailing list