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:
2386e91
)
rtsp-media: Fix previous commit
author
Edward Hervey
<edward@centricular.com>
Mon, 20 Nov 2017 17:29:02 +0000
(18:29 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 21 Nov 2017 06:59:15 +0000
(07:59 +0100)
We only want to count dynamic payloaders
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index 0a9898b225ab026aa8e23692086714d9427c6e9f..f9914b0bc5a3eafd02db810b805181f42f3d7f79 100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-1808,6
+1808,8
@@
gst_rtsp_media_collect_streams (GstRTSPMedia * media)
priv->dynamic = g_list_prepend (priv->dynamic, elem);
g_mutex_unlock (&priv->lock);
+ priv->nb_dynamic_elements++;
+
have_elem = TRUE;
more_elem_remaining = TRUE;
mode |= GST_RTSP_TRANSPORT_MODE_PLAY;
@@
-1825,8
+1827,6
@@
gst_rtsp_media_collect_streams (GstRTSPMedia * media)
gst_object_unref (pad);
gst_object_unref (elem);
- priv->nb_dynamic_elements++;
-
have_elem = TRUE;
more_elem_remaining = TRUE;
mode |= GST_RTSP_TRANSPORT_MODE_RECORD;