[FFmpeg-devel] Realmedia patch

Luca Abeni lucabe72
Sat Aug 30 12:18:26 CEST 2008


Hi Ronald,

Ronald S. Bultje wrote:
[...]
> Index: ffmpeg-svn/libavformat/rtsp.c
> ===================================================================
> --- ffmpeg-svn.orig/libavformat/rtsp.c	2008-08-28 17:49:38.000000000 -0400
> +++ ffmpeg-svn/libavformat/rtsp.c	2008-08-29 21:59:11.000000000 -0400
> @@ -1125,6 +1125,15 @@
>               "DESCRIBE %s RTSP/1.0\r\n"
>               "Accept: application/sdp\r\n",
>               s->filename);
> +    if (rt->server_type == RTSP_SERVER_RDT) {
> +        /**
> +         * The Require: attribute is needed for proper streaming from
> +         * Realmedia servers.
> +         */
> +        av_strlcat(cmd,
> +                   "Require: com.real.retain-entity-for-setup\r\n",
> +                   sizeof(cmd));
> +    }

Looks good to me... If noone complains in 2 or 3 days, apply it.


			Luca




More information about the ffmpeg-devel mailing list