mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
rtpmux: Rename variable for more clarity
This commit is contained in:
parent
4b958f6d8d
commit
3ccf3217fe
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ enum
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
gboolean have_ts_base;
|
gboolean have_clock_base;
|
||||||
guint clock_base;
|
guint clock_base;
|
||||||
} GstRTPMuxPadPrivate;
|
} GstRTPMuxPadPrivate;
|
||||||
|
|
||||||
|
@ -317,7 +317,7 @@ gst_rtp_mux_readjust_rtp_timestamp (GstRTPMux * rtp_mux, GstPad * pad,
|
||||||
guint32 sink_ts_base = 0;
|
guint32 sink_ts_base = 0;
|
||||||
GstRTPMuxPadPrivate *padpriv = gst_pad_get_element_private (pad);
|
GstRTPMuxPadPrivate *padpriv = gst_pad_get_element_private (pad);
|
||||||
|
|
||||||
if (padpriv->have_ts_base)
|
if (padpriv->have_clock_base)
|
||||||
sink_ts_base = padpriv->clock_base;
|
sink_ts_base = padpriv->clock_base;
|
||||||
|
|
||||||
ts = gst_rtp_buffer_get_timestamp (buffer) - sink_ts_base + rtp_mux->ts_base;
|
ts = gst_rtp_buffer_get_timestamp (buffer) - sink_ts_base + rtp_mux->ts_base;
|
||||||
|
@ -381,7 +381,7 @@ gst_rtp_mux_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (gst_structure_get_uint (structure, "clock-base", &padpriv->clock_base)) {
|
if (gst_structure_get_uint (structure, "clock-base", &padpriv->clock_base)) {
|
||||||
padpriv->have_ts_base = TRUE;
|
padpriv->have_clock_base = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
caps = gst_caps_copy (caps);
|
caps = gst_caps_copy (caps);
|
||||||
|
|
Loading…
Reference in a new issue