[FFmpeg-devel] Realmedia patch

Luca Abeni lucabe72
Sun Aug 31 21:26:41 CEST 2008


Hi Ronald,

Ronald S. Bultje wrote:
[...]
> +    if (rt->server_type == RTSP_SERVER_RDT && rt->need_subscription) {
> +        int i;
> +        RTSPHeader reply1, *reply = &reply1;
> +        char cmd[1024];
> +
> +        snprintf(cmd, sizeof(cmd),
> +                 "SET_PARAMETER %s RTSP/1.0\r\n"
> +                 "Subscribe: ",
> +                 s->filename);
[...]

Not sure if this code belongs here, or if it should be moved
to rtsp_read_play(). Did you already try anything similar?

[...]
> @@ -1350,6 +1379,7 @@
>  
>      av_log(s, AV_LOG_DEBUG, "hello state=%d\n", rt->state);
>  
> +    if (!(rt->server_type == RTSP_SERVER_RDT && rt->need_subscription)) {

This change looks suspicious...
(same for the rtsp_read_pause() change)


				Luca




More information about the ffmpeg-devel mailing list