summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-03-13 16:03:02 +0200
committerSebastian Dröge <sebastian@centricular.com>2018-03-13 16:03:02 +0200
commit31d13e02a5fb6a97603cb884e0f4ce42a1ce5f51 (patch)
tree7c497e17b4b8081f7c012ea79daa34057fcc0784
parentc58838330d0931312a08a6f3f73ad3dcde9497d5 (diff)
downloadgstreamer-plugins-good-31d13e02a5fb6a97603cb884e0f4ce42a1ce5f51.tar.gz
Revert "rtspsrc: Fix up sendonly/recvonly attribute handling"
This reverts commit 326e9549e378bcc71587ba569f73755e0abc1794. In master/1.14 this was already disabled, and the attributes are only ever looked at when a backchannel is used. This is necessary because various ONVIF cameras out there are implementing the attributes the wrong way around.
-rw-r--r--gst/rtsp/gstrtspsrc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index dd847a9fc..6b11eb091 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -1535,8 +1535,8 @@ gst_rtspsrc_collect_payloads (GstRTSPSrc * src, const GstSDPMessage * sdp,
else
goto unknown_proto;
- if (gst_sdp_media_get_attribute_val (media, "recvonly") != NULL)
- goto recvonly_media;
+ 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");
@@ -1605,9 +1605,9 @@ unknown_proto:
GST_ERROR_OBJECT (src, "unknown proto in media: '%s'", proto);
return;
}
-recvonly_media:
+sendonly_media:
{
- GST_DEBUG_OBJECT (src, "recvonly media ignored");
+ GST_DEBUG_OBJECT (src, "sendonly media ignored");
return;
}
}