stream_ffmpeg: handle rtsp:// URLs by default, add lavf://
commit0a4e1be5846cd909c6a8aabe44fa852af4e7c2e6
authorUoti Urpala <uau@mplayer2.org>
Fri, 7 Sep 2012 16:39:46 +0000 (7 19:39 +0300)
committerUoti Urpala <uau@mplayer2.org>
Fri, 7 Sep 2012 17:25:07 +0000 (7 20:25 +0300)
tree61b382306242fba81ca83227fd77ca1340d0f63f
parentb57f8afec9584dbd0fa329721d161741183e9969
stream_ffmpeg: handle rtsp:// URLs by default, add lavf://

Make stream_ffmpeg handle rtsp:// URLs by default, without requiring
ffmpeg://rtsp://. Previously (after removal of other rtsp
implementations) rtsp:// fell back to using HTTP, which was unlikely
to work.

Also add lavf:// as an alternative to ffmpeg:// to force the stream
implementation. Since libavformat can come from Libav rather than
FFmpeg, using the ffmpeg name in the prefix is misleading.
libmpdemux/demux_lavf.c
stream/stream.c
stream/stream_ffmpeg.c