tsdemux: fix confusing variable name

This commit is contained in:
Tim-Philipp Müller 2012-03-03 15:47:01 +00:00
parent 01f5f62d95
commit 0bb5a01639
2 changed files with 4 additions and 4 deletions

View file

@ -224,7 +224,7 @@ mpegts_base_reset (MpegTSBase * base)
base->seek_offset = -1;
base->upstream_live = FALSE;
base->query_latency = FALSE;
base->queried_latency = FALSE;
if (klass->reset)
klass->reset (base);
@ -1332,7 +1332,7 @@ query_upstream_latency (MpegTSBase * base)
} else
GST_WARNING_OBJECT (base, "Failed to query upstream latency");
gst_query_unref (query);
base->query_latency = TRUE;
base->queried_latency = TRUE;
}
static inline GstFlowReturn
@ -1363,7 +1363,7 @@ mpegts_base_chain (GstPad * pad, GstBuffer * buf)
base = GST_MPEGTS_BASE (gst_object_get_parent (GST_OBJECT (pad)));
packetizer = base->packetizer;
if (G_UNLIKELY (base->query_latency == FALSE)) {
if (G_UNLIKELY (base->queried_latency == FALSE)) {
query_upstream_latency (base);
}

View file

@ -134,7 +134,7 @@ struct _MpegTSBase {
/* Whether upstream is live or not */
gboolean upstream_live;
/* Whether we queried the upstream latency or not */
gboolean query_latency;
gboolean queried_latency;
/* Upstream segment */
GstSegment segment;