summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-09-27 19:08:59 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-09-27 19:08:59 +0200
commit2e5df04a921b41efb3253442384365adffd4e567 (patch)
tree48386361528f025a2643c6c8d961c2554cbf729a /src
parentlayout for receiver pipeline (diff)
idx vs. session
Diffstat (limited to 'src')
-rw-r--r--src/pipelines.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipelines.c b/src/pipelines.c
index af25e6c..54400a9 100644
--- a/src/pipelines.c
+++ b/src/pipelines.c
@@ -61,7 +61,7 @@ struct media_elements {
GstElement* payloader_;
};
-static gboolean create_media_elements(struct media_elements *me, GstElement* pipeline, GstElement *rtp, uint32_t idx)
+static gboolean create_media_elements(struct media_elements *me, GstElement* pipeline, GstElement *rtp, uint32_t session)
{
char bin_name[32];
@@ -89,7 +89,7 @@ static gboolean create_media_elements(struct media_elements *me, GstElement* pip
gst_element_link(qe, me->payloader_);
char pad_name[32];
- snprintf(pad_name, sizeof(bin_name), "send_rtp_sink_%u", idx);
+ snprintf(pad_name, sizeof(bin_name), "send_rtp_sink_%u", session);
if(!sydra_link_request_static(me->tee_raw_, "src_%u", qr, "sink") ||
!sydra_link_request_static(me->tee_enc_, "src_%u", qe, "sink") ||
!sydra_link_static_request(me->payloader_, "src", rtp, pad_name)) {