summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@ocrete.ca>2014-10-10 18:30:07 -0400
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2014-10-10 18:36:47 -0400
commitd52a618b498cf4e65e57d841d6eeba73e8a36670 (patch)
treef9bfa7866bf5676ce9b4def6d01867e452139f7f /gst
parent4b6026c0db71fde384d4ebc19c819959bb2be4fe (diff)
rtpsource: Rename seqnum-base to seqnum-offset in caps
This was modified back in 1.0 in GstRtpBasePayload
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/rtpsource.c12
-rw-r--r--gst/rtpmanager/rtpsource.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c
index d47c85fb3..610d7ae96 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -256,7 +256,7 @@ rtp_source_init (RTPSource * src)
src->payload = -1;
src->clock_rate = -1;
src->packets = g_queue_new ();
- src->seqnum_base = -1;
+ src->seqnum_offset = -1;
src->last_rtptime = -1;
src->retained_feedback = g_queue_new ();
@@ -341,7 +341,7 @@ rtp_source_create_stats (RTPSource * src)
"received-bye", G_TYPE_BOOLEAN, src->marked_bye,
"is-csrc", G_TYPE_BOOLEAN, src->is_csrc,
"is-sender", G_TYPE_BOOLEAN, is_sender,
- "seqnum-base", G_TYPE_INT, src->seqnum_base,
+ "seqnum-base", G_TYPE_INT, src->seqnum_offset,
"clock-rate", G_TYPE_INT, src->clock_rate, NULL);
/* add address and port */
@@ -761,12 +761,12 @@ rtp_source_update_caps (RTPSource * src, GstCaps * caps)
GST_DEBUG ("got clock-rate %d", src->clock_rate);
- if (gst_structure_get_uint (s, "seqnum-base", &val))
- src->seqnum_base = val;
+ if (gst_structure_get_uint (s, "seqnum-offset", &val))
+ src->seqnum_offset = val;
else
- src->seqnum_base = -1;
+ src->seqnum_offset = -1;
- GST_DEBUG ("got seqnum-base %" G_GINT32_FORMAT, src->seqnum_base);
+ GST_DEBUG ("got seqnum-offset %" G_GINT32_FORMAT, src->seqnum_offset);
gst_caps_replace (&src->caps, caps);
}
diff --git a/gst/rtpmanager/rtpsource.h b/gst/rtpmanager/rtpsource.h
index ed4adc9a9..a2e1f2737 100644
--- a/gst/rtpmanager/rtpsource.h
+++ b/gst/rtpmanager/rtpsource.h
@@ -158,7 +158,7 @@ struct _RTPSource {
gint payload;
GstCaps *caps;
gint clock_rate;
- gint32 seqnum_base;
+ gint32 seqnum_offset;
GstClockTime bye_time;
GstClockTime last_activity;