mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
tsdemux: fix confusing variable name
This commit is contained in:
parent
01f5f62d95
commit
0bb5a01639
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue