[FFmpeg-devel] [PATCH] Fix the logic for telling ffmpeg wether to print the SDP

Stefano Sabatini stefano.sabatini-lala
Tue Jul 22 02:03:02 CEST 2008


Hi all, as in subject.

Suppose we have this command:
ffmpeg -t 0 -i ~/test.flv  -f rtp rtp://localhost:5008 -f avi -y foo.avi 2>/dev/null

ffmpeg won't print the SDP for the first (and eventually other) RTP
stream, since want_sdp is set to 0 when the AVI stream is encountered.

I think this patch fixes the logic for this (it will enable the SDP
printing when the first RTP stream is encountered).

Regards.
-- 
FFmpeg = Forgiving Foolish Majestic Powered Explosive Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: invert-sdp-print-logic-00.patch
Type: text/x-diff
Size: 701 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080722/471b1fe8/attachment.patch>



More information about the ffmpeg-devel mailing list