mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rtpsource: Rename seqnum-base to seqnum-offset in caps
This was modified back in 1.0 in GstRtpBasePayload
This commit is contained in:
parent
155ed569c3
commit
51a8bedced
2 changed files with 7 additions and 7 deletions
|
@ -256,7 +256,7 @@ rtp_source_init (RTPSource * src)
|
||||||
src->payload = -1;
|
src->payload = -1;
|
||||||
src->clock_rate = -1;
|
src->clock_rate = -1;
|
||||||
src->packets = g_queue_new ();
|
src->packets = g_queue_new ();
|
||||||
src->seqnum_base = -1;
|
src->seqnum_offset = -1;
|
||||||
src->last_rtptime = -1;
|
src->last_rtptime = -1;
|
||||||
|
|
||||||
src->retained_feedback = g_queue_new ();
|
src->retained_feedback = g_queue_new ();
|
||||||
|
@ -341,7 +341,7 @@ rtp_source_create_stats (RTPSource * src)
|
||||||
"received-bye", G_TYPE_BOOLEAN, src->marked_bye,
|
"received-bye", G_TYPE_BOOLEAN, src->marked_bye,
|
||||||
"is-csrc", G_TYPE_BOOLEAN, src->is_csrc,
|
"is-csrc", G_TYPE_BOOLEAN, src->is_csrc,
|
||||||
"is-sender", G_TYPE_BOOLEAN, is_sender,
|
"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);
|
"clock-rate", G_TYPE_INT, src->clock_rate, NULL);
|
||||||
|
|
||||||
/* add address and port */
|
/* 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);
|
GST_DEBUG ("got clock-rate %d", src->clock_rate);
|
||||||
|
|
||||||
if (gst_structure_get_uint (s, "seqnum-base", &val))
|
if (gst_structure_get_uint (s, "seqnum-offset", &val))
|
||||||
src->seqnum_base = val;
|
src->seqnum_offset = val;
|
||||||
else
|
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);
|
gst_caps_replace (&src->caps, caps);
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,7 +158,7 @@ struct _RTPSource {
|
||||||
gint payload;
|
gint payload;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
gint clock_rate;
|
gint clock_rate;
|
||||||
gint32 seqnum_base;
|
gint32 seqnum_offset;
|
||||||
|
|
||||||
GstClockTime bye_time;
|
GstClockTime bye_time;
|
||||||
GstClockTime last_activity;
|
GstClockTime last_activity;
|
||||||
|
|
Loading…
Reference in a new issue