diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-09-30 13:18:41 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-09-30 13:18:41 +0000 |
commit | 90abbdba1e7f9df2c32bdb0a9b7c68297cd135c8 (patch) | |
tree | 4b8150b9bea2387067283f32c17b641439a51aa4 /libavformat/rtsp.h | |
parent | e1a96237df180ee6f0bf6a6e33333bd1838fd0f6 (diff) | |
download | ffmpeg-90abbdba1e7f9df2c32bdb0a9b7c68297cd135c8.tar.gz |
Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
that it only describes the lower-level transport (TCP vs. UDP) and not the
actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch"
thread on ML.
Originally committed as revision 15481 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 1923acbbc8..476154a564 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -25,14 +25,14 @@ #include "avformat.h" #include "rtspcodes.h" -enum RTSPProtocol { - RTSP_PROTOCOL_RTP_UDP = 0, - RTSP_PROTOCOL_RTP_TCP = 1, - RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2, +enum RTSPLowerTransport { + RTSP_LOWER_TRANSPORT_UDP = 0, + RTSP_LOWER_TRANSPORT_TCP = 1, + RTSP_LOWER_TRANSPORT_UDP_MULTICAST = 2, /** * This is not part of public API and shouldn't be used outside of ffmpeg. */ - RTSP_PROTOCOL_RTP_LAST + RTSP_LOWER_TRANSPORT_LAST }; #define RTSP_DEFAULT_PORT 554 @@ -50,7 +50,7 @@ typedef struct RTSPTransportField { int server_port_min, server_port_max; /**< RTP ports */ int ttl; /**< ttl value */ uint32_t destination; /**< destination IP address */ - enum RTSPProtocol protocol; + enum RTSPLowerTransport lower_transport; } RTSPTransportField; typedef struct RTSPHeader { |