mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 04:45:36 +00:00
basedepay: remove old fields
This commit is contained in:
parent
8417a7103a
commit
9555229e79
2 changed files with 2 additions and 18 deletions
|
@ -279,10 +279,6 @@ gst_basertppayload_init (GstBaseRTPPayload * basertppayload, gpointer g_class)
|
|||
gst_basertppayload_chain);
|
||||
gst_element_add_pad (GST_ELEMENT (basertppayload), basertppayload->sinkpad);
|
||||
|
||||
basertppayload->seq_rand = g_rand_new_with_seed (g_random_int ());
|
||||
basertppayload->ssrc_rand = g_rand_new_with_seed (g_random_int ());
|
||||
basertppayload->ts_rand = g_rand_new_with_seed (g_random_int ());
|
||||
|
||||
basertppayload->mtu = DEFAULT_MTU;
|
||||
basertppayload->pt = DEFAULT_PT;
|
||||
basertppayload->seqnum_offset = DEFAULT_SEQNUM_OFFSET;
|
||||
|
@ -315,13 +311,6 @@ gst_basertppayload_finalize (GObject * object)
|
|||
|
||||
basertppayload = GST_BASE_RTP_PAYLOAD (object);
|
||||
|
||||
g_rand_free (basertppayload->seq_rand);
|
||||
basertppayload->seq_rand = NULL;
|
||||
g_rand_free (basertppayload->ssrc_rand);
|
||||
basertppayload->ssrc_rand = NULL;
|
||||
g_rand_free (basertppayload->ts_rand);
|
||||
basertppayload->ts_rand = NULL;
|
||||
|
||||
g_free (basertppayload->media);
|
||||
basertppayload->media = NULL;
|
||||
g_free (basertppayload->encoding_name);
|
||||
|
@ -831,8 +820,8 @@ gst_basertppayload_prepare_push (GstBaseRTPPayload * payload,
|
|||
(is_list) ? -1 : gst_buffer_get_size (GST_BUFFER (obj)),
|
||||
payload->seqnum, data.rtptime, GST_TIME_ARGS (data.timestamp));
|
||||
|
||||
if (g_atomic_int_compare_and_exchange (&payload->priv->
|
||||
notified_first_timestamp, 1, 0)) {
|
||||
if (g_atomic_int_compare_and_exchange (&payload->
|
||||
priv->notified_first_timestamp, 1, 0)) {
|
||||
g_object_notify (G_OBJECT (payload), "timestamp");
|
||||
g_object_notify (G_OBJECT (payload), "seqnum");
|
||||
}
|
||||
|
|
|
@ -81,11 +81,6 @@ struct _GstBaseRTPPayload
|
|||
GstPad *sinkpad;
|
||||
GstPad *srcpad;
|
||||
|
||||
/* FIXME 0.11: none of these GRands are used anymore, remove them */
|
||||
GRand *seq_rand;
|
||||
GRand *ssrc_rand;
|
||||
GRand *ts_rand;
|
||||
|
||||
guint32 ts_base;
|
||||
guint16 seqnum_base;
|
||||
|
||||
|
|
Loading…
Reference in a new issue