[FFmpeg-devel] [PATCH] fix sdp(file) vs rtsp dep

Diego Biurrun diego
Sun Oct 18 20:50:57 CEST 2009


On Sun, Oct 18, 2009 at 08:43:56PM +0200, Luca Abeni wrote:
> 
> On Sun, 2009-10-18 at 01:59 +0200, Luca Barbato wrote:
> > Diego pointed out that there was something wrong with the deps between
> > the sdp and the rtsp demuxer.
> > 
> > The sdp demuxer is just the rtsp demuxer that instead of fetching the
> > stream description through rtsp it just read it from a plain file.
> > 
> > That said the attached patches fix the missing symbols at link if the
> > rtsp demuxer is disabled and the sdp demuxer enabled.
> 
> I agree that this should be fixed. 
> 
> Only one comment:
> [...]
> > diff --git a/configure b/configure
> > index 0a44b14..1042bf6 100755
> > --- a/configure
> > +++ b/configure
> > @@ -1200,8 +1200,8 @@ mxf_d10_muxer_select="mxf_muxer"
> >  psp_muxer_select="mov_muxer"
> >  redir_demuxer_deps="network"
> >  rtp_muxer_deps="network rtp_protocol"
> > -rtsp_demuxer_deps="sdp_demuxer"
> > -sdp_demuxer_deps="rtp_protocol mpegts_demuxer"
> > +rtsp_demuxer_deps="rtp_protocol mpegts_demuxer"
> > +sdp_demuxer_deps="rtsp_demuxer"
> 
> I think these dependencies are correct as they are now: the RTSP demuxer
> depends on the SDP demuxer, and not vice-versa (or, if you prefer, the
> RTSP demuxer is a superset of the SDP demuxer). From the practical point
> of view, I do not think this makes any difference, but from the
> theoretical point of view I think it's better to indicate the correct
> dependency here.

Then the functions which are really SDP functions should be renamed.

Right now the code and the dependency declaration in the build system
are contradictory.  That's why it fails to build in some configurations.
Decide which of the two possibilities is the better one and fix the
issue in one direction or the other.

Diego



More information about the ffmpeg-devel mailing list