[MPlayer-dev-eng] [PATCH] Improvements to RTSP/RTP streaming support

Ross Finlayson finlayson at live.com
Fri Mar 7 15:52:24 CET 2003


> >
> > -static float force_fps=0;
> > +float force_fps=0;
>
>WHY ?

The reason for this is that one of my files 
("libmpdemux/demux_rtp_codec.cpp") now refers to the "force_fps" variable 
(to check if the user has specified a particular fps, or whether we should 
try to figure it out for ourselves).  So, that variable can no longer be 
static.  That was already the case in "mplayer.c".  However, the 
"demux_rtp*" binaries - being part of the "libmpdemux" library - are also 
linked by *mencoder* as well as "mplayer" (even though "mencoder" doesn't 
actually use any of the RTP stuff).  That's why I needed to make 
"force_fps" non-static in "mencoder.c" as well.

         Ross.



More information about the MPlayer-dev-eng mailing list