summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-18 19:58:58 -0500
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:57 +0100
commit2c838498499f4d8d7626d0146dba6cd53f88a47e (patch)
treef32c97ef907aa880ec4737721835491184e1f7ac /gst/rtpmux
parent7a222b560eb5b30036b5bbd5719140cf6dbbbe6e (diff)
downloadgst-plugins-bad-2c838498499f4d8d7626d0146dba6cd53f88a47e.tar.gz
gst-plugins-bad-2c838498499f4d8d7626d0146dba6cd53f88a47e.tar.bz2
gst-plugins-bad-2c838498499f4d8d7626d0146dba6cd53f88a47e.zip
[MOVED FROM GST-P-FARSIGHT] Rename have_base to have_ts_base
Diffstat (limited to 'gst/rtpmux')
-rw-r--r--gst/rtpmux/gstrtpmux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index dd8c6cd0..9bf5e051 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -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);