[FFmpeg-devel] [PATCH] rtsp - alternate protocol

Luca Abeni lucabe72
Mon Dec 31 14:57:52 CET 2007


Hi all,

Luca Abeni wrote:
[...]
> Anyway, in the next days I'll work on a patch for adding a flag to

sorry, this is a typo; I obviously wanted to write "a field"


> AVFormatContext and using it for selecting the transport protocol.

I attach a first version of such patch. To make the patch independent 
from RTSP, I added an enum AVTransportProtocol. I also modified ffplay 
to properly set the new AVFormatContext field for selecting TCP when 
needed (since the transport protocol cannot be selected through an 
option in the URL, the "-rtp_tcp" option cannot be removed).

As I said, I have no problems in applying Ronald's patch first, and 
re-generating my patch after that.

And, BTW, happy new year to everyone!!!


			Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_rtsp_default_protocols-4.diff
Type: text/x-diff
Size: 4746 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071231/8b15e96e/attachment.diff>



More information about the ffmpeg-devel mailing list