mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
[MOVED FROM GST-P-FARSIGHT] Rename have_base to have_ts_base
This commit is contained in:
parent
7a222b560e
commit
2c83849849
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ enum
|
|||
#define DEFAULT_SSRC -1
|
||||
|
||||
typedef struct {
|
||||
gboolean have_base;
|
||||
gboolean have_ts_base;
|
||||
guint clock_base;
|
||||
} GstRTPMuxPadPrivate;
|
||||
|
||||
|
@ -347,7 +347,7 @@ gst_rtp_mux_readjust_rtp_timestamp (GstRTPMux * rtp_mux, GstPad * pad,
|
|||
guint32 sink_ts_base = 0;
|
||||
GstRTPMuxPadPrivate *padpriv = gst_pad_get_element_private (pad);
|
||||
|
||||
if (padpriv->have_base)
|
||||
if (padpriv->have_ts_base)
|
||||
sink_ts_base = padpriv->clock_base;
|
||||
|
||||
ts = gst_rtp_buffer_get_timestamp (buffer) - sink_ts_base + rtp_mux->ts_base;
|
||||
|
@ -410,7 +410,7 @@ gst_rtp_mux_setcaps (GstPad *pad, GstCaps *caps)
|
|||
goto out;
|
||||
|
||||
if (gst_structure_get_uint (structure, "clock-base", &padpriv->clock_base)) {
|
||||
padpriv->have_base = TRUE;
|
||||
padpriv->have_ts_base = TRUE;
|
||||
}
|
||||
|
||||
caps = gst_caps_copy (caps);
|
||||
|
|
Loading…
Reference in a new issue