Commit 0bb5a016 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

tsdemux: fix confusing variable name

parent 01f5f62d
......@@ -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);
}
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment