[FFmpeg-devel] [PATCH] MMSH pause support for ffplay

Benoit Fouet benoit.fouet
Tue Nov 6 17:28:47 CET 2007


Hi,

Bj?rn Axelsson wrote:
> Split out from the old mms patch as promised. ffplay currently needs
> special handling for pausing in some protocols.
>
> Meaningless without first applying the mms_protocol_base.diff patch.
>
>   
> ------------------------------------------------------------------------
>
> Index: ffplay.c
> ===================================================================
> --- ffplay.c.orig	2007-11-02 11:07:14.372293012 +0100
> +++ ffplay.c	2007-11-02 11:07:27.424381389 +0100
> @@ -1977,8 +1977,10 @@
>              else
>                  av_read_play(ic);
>          }
> -#ifdef CONFIG_RTSP_DEMUXER
> -        if (is->paused && !strcmp(ic->iformat->name, "rtsp")) {
> +#if (defined CONFIG_RTSP_DEMUXER) || (defined CONFIG_MMSH_PROTOCOL)
>   

i changed this to
+#if defined(CONFIG_RTSP_DEMUXER) || defined(CONFIG_MMSH_PROTOCOL)

and applied

-- 
Ben
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list