summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:45:13 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:45:13 +0000
commit7c68a17754ca1a42baccf8b90704a073f4514ece (patch)
treef6800b839e39027eca34136630a0efd8d500b439 /libavformat/rtsp.c
parent530bca94390adb946f21c767f5eafda522c826b1 (diff)
Parse the OpaqueData field for every AVStream represented by this "set of
streams" (a single RTSPStream / RDTDemuxContext can represent several AVStreams, that's just how Real/RDT was designed...). This will fill in most of the AVStream/AVCodecContext header fields, similar to reading a RM file header would. See "[PATCH] multi-stream MDPR parsing" thread on mailinglist. Originally committed as revision 16468 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 4f295286f2..1e874ed5e1 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1364,10 +1364,6 @@ static int rtsp_read_packet(AVFormatContext *s,
for (i = 0; i < rt->nb_rtsp_streams; i++) {
if (i != 0) av_strlcat(cmd, ",", sizeof(cmd));
ff_rdt_subscribe_rule(cmd, sizeof(cmd), i, 0);
- if (rt->transport == RTSP_TRANSPORT_RDT)
- ff_rdt_subscribe_rule2(
- rt->rtsp_streams[i]->tx_ctx,
- cmd, sizeof(cmd), i, 0);
}
av_strlcat(cmd, "\r\n", sizeof(cmd));
rtsp_send_cmd(s, cmd, reply, NULL);