summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-03-13 16:03:50 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-03-13 16:03:50 +0200
commit3d8ea05193d61111e6593c2aed9b7f81e3b26223 (patch)
tree99ee8a81abe987b08d4f35bf75d6cb618c1e8df2
parent31d13e02a5fb6a97603cb884e0f4ce42a1ce5f51 (diff)
downloadgstreamer-plugins-good-3d8ea05193d61111e6593c2aed9b7f81e3b26223.tar.gz
Revert "rtspsrc: Ignore medias marked as sendonly"
This reverts commit 86a56cc48c521d4fbd4c73c903a58787313458d4.
-rw-r--r--gst/rtsp/gstrtspsrc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 6b11eb091..17e6b9cc1 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -1535,9 +1535,6 @@ gst_rtspsrc_collect_payloads (GstRTSPSrc * src, const GstSDPMessage * sdp,
else
goto unknown_proto;
- if (gst_sdp_media_get_attribute_val (media, "sendonly") != NULL)
- goto sendonly_media;
-
/* Parse global SDP attributes once */
global_caps = gst_caps_new_empty_simple ("application/x-unknown");
GST_DEBUG ("mapping sdp session level attributes to caps");
@@ -1605,11 +1602,6 @@ unknown_proto:
GST_ERROR_OBJECT (src, "unknown proto in media: '%s'", proto);
return;
}
-sendonly_media:
- {
- GST_DEBUG_OBJECT (src, "sendonly media ignored");
- return;
- }
}
static const gchar *