projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230cf41
)
rtsp: the RTCP port number is inclusive
author
Marc Leeman
<marc.leeman@gmail.com>
Tue, 6 Nov 2012 12:22:58 +0000
(13:22 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 6 Nov 2012 12:22:58 +0000
(13:22 +0100)
The configured port number pair has its upper bound set to the maximum
allowed RTCP port, inclusive.
See https://bugzilla.gnome.org/show_bug.cgi?id=639420
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
e62a883
..
b4c55c4
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-1602,7
+1602,7
@@
again:
/* set port */
tmp_rtcp = tmp_rtp + 1;
- if (src->client_port_range.max > 0 && tmp_rtcp >
=
src->client_port_range.max)
+ if (src->client_port_range.max > 0 && tmp_rtcp > src->client_port_range.max)
goto no_ports;
g_object_set (G_OBJECT (udpsrc1), "port", tmp_rtcp, "reuse", FALSE, NULL);