rtspreal: ignore data streams. Fixes #527112

Ignore data streams when parsing the SDP as they don't contain anything we need
to put in the realmedia header.
This commit is contained in:
Wim Taymans 2009-02-25 18:19:20 +01:00
parent bf2fc71eb1
commit d99f4c9756

View file

@ -361,6 +361,9 @@ rtsp_ext_real_parse_sdp (GstRTSPExtension * ext, GstSDPMessage * sdp,
media = gst_sdp_message_get_media (sdp, i);
if (media->media && !strcmp (media->media, "data"))
continue;
stream = g_new0 (GstRTSPRealStream, 1);
ctx->streams = g_list_append (ctx->streams, stream);