diff libmpdemux/demuxer.c @ 36359:dba1b5aa72c1

Move rtsp_transport_* variables to demuxer.c Also make the corresponding command-line options always available. Most users will have some kind of rtsp support, possibly through ffmpeg. Putting it under CONFIG_NETWORKING would be more correct, but doesn't seem worth the effort to me.
author reimar
date Sat, 21 Sep 2013 16:53:12 +0000
parents 139f2b064ef9
children 68794f2fbf1e
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sat Sep 21 16:39:24 2013 +0000
+++ b/libmpdemux/demuxer.c	Sat Sep 21 16:53:12 2013 +0000
@@ -57,6 +57,11 @@
 #endif
 #include "libavutil/avstring.h"
 
+// Options shared between demuxers
+int rtsp_transport_http = 0;
+int rtsp_transport_tcp = 0;
+int rtsp_transport_sctp = 0;
+
 // This is quite experimental, in particular it will mess up the pts values
 // in the queue - on the other hand it might fix some issues like generating
 // broken files with mencoder and stream copy.