[FFmpeg-devel] [PATCH] shorten UDP read URLs

Stefano Sabatini stefano.sabatini-lala
Thu Sep 16 18:36:06 CEST 2010


On date Thursday 2010-09-16 10:35:24 -0500, aviad rozenhek encoded:
> other programs such as VLC have convenient notation for udp read socket in
> port 1234: udp://localhost:1234
> in ffmpeg/ffplay a more cumbersome udp://localhost?localport=1234 is needed.
> 
> the attached patch makes udp://localhost:1234 behave exactly like
> udp://localhost?localport=1234 for reading UDP without breaking anything I
> could think of.
> use of ?localport flags is maintained for backwards compatibility.

While at it also please add documentation to doc/protocols.texi.

Regards.
-- 
FFmpeg = Forgiving and Foolish Minimal Prodigious Extreme Geek



More information about the ffmpeg-devel mailing list