summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-20 18:36:42 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-20 20:23:39 -0400
commitedd37171509d38be117ac1d693a07b232743c3e3 (patch)
treeaf663181bf598c4add18120c856134438a17f3d1 /gst/rtpmux
parent655a3d125a31ec8953a6dcc3567087f4fbe4a84d (diff)
downloadgst-plugins-bad-edd37171509d38be117ac1d693a07b232743c3e3.tar.gz
gst-plugins-bad-edd37171509d38be117ac1d693a07b232743c3e3.tar.bz2
gst-plugins-bad-edd37171509d38be117ac1d693a07b232743c3e3.zip
rtpmux: Rename variable for more clarity
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 5cb86e18..ecfefae2 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -65,7 +65,7 @@ enum
typedef struct
{
- gboolean have_ts_base;
+ gboolean have_clock_base;
guint clock_base;
} GstRTPMuxPadPrivate;
@@ -317,7 +317,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_ts_base)
+ if (padpriv->have_clock_base)
sink_ts_base = padpriv->clock_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;
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);