aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-01-02 19:40:43 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-02 19:40:43 +0000
commitc482500fa33fd420d37b407fce83162a3269f4a7 (patch)
tree656c7932d0f5f9c9de2217a7f96c61dcc604a3a3 /ffplay.c
parentae904fd028420d818f5603225df885978956a722 (diff)
downloadffmpeg-c482500fa33fd420d37b407fce83162a3269f4a7.tar.gz
Drop RTSP default protocol.
patch by Ronald S. Bultje, rsbultje gmail com Originally committed as revision 11377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ffplay.c b/ffplay.c
index cc4e853440..e2913aaad9 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2391,14 +2391,6 @@ static void opt_frame_pix_fmt(const char *arg)
frame_pix_fmt = avcodec_get_pix_fmt(arg);
}
-#ifdef CONFIG_RTSP_DEMUXER
-static void opt_rtp_tcp(void)
-{
- /* only tcp protocol */
- rtsp_default_protocols = (1 << RTSP_PROTOCOL_RTP_TCP);
-}
-#endif
-
static void opt_sync(const char *arg)
{
if (!strcmp(arg, "audio"))
@@ -2476,9 +2468,6 @@ const OptionDef options[] = {
{ "idct", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&idct}, "set idct algo", "algo" },
{ "er", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&error_resilience}, "set error detection threshold (0-4)", "threshold" },
{ "ec", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&error_concealment}, "set error concealment options", "bit_mask" },
-#ifdef CONFIG_RTSP_DEMUXER
- { "rtp_tcp", OPT_EXPERT, {(void*)&opt_rtp_tcp}, "force RTP/TCP protocol usage", "" },
-#endif
{ "sync", HAS_ARG | OPT_EXPERT, {(void*)opt_sync}, "set audio-video sync. type (type=audio/video/ext)", "type" },
{ "threads", HAS_ARG | OPT_EXPERT, {(void*)opt_thread_count}, "thread count", "count" },
{ NULL, },