summaryrefslogtreecommitdiff
path: root/gst/isomp4/qtdemux.c
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2017-12-13 12:06:21 +0100
committerEdward Hervey <bilboed@bilboed.com>2017-12-13 12:06:49 +0100
commit6e21faffe71fd4d14d02dfa8c0e76cb32eb2b567 (patch)
tree3d6ccdddb431287e0fde407e4bf24bf6ab4a0095 /gst/isomp4/qtdemux.c
parent2e45926a96ec5298c6ef29bf912e5e6a06dc3e0e (diff)
qtdemux: Push a GAP event if there's a second *or more*
And not "more than a second"
Diffstat (limited to 'gst/isomp4/qtdemux.c')
-rw-r--r--gst/isomp4/qtdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 91a22dc9e..5ae220256 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -5811,9 +5811,9 @@ gst_qtdemux_loop_state_movie (GstQTDemux * qtdemux)
GST_TIME_ARGS (dts), GST_TIME_ARGS (pts), GST_TIME_ARGS (duration));
if (G_UNLIKELY (empty)) {
- /* empty segment, push a gap if there's more than a second
+ /* empty segment, push a gap if there's a second or more
* difference and move to the next one */
- if ((pts + duration - stream->segment.position) > GST_SECOND)
+ if ((pts + duration - stream->segment.position) >= GST_SECOND)
gst_pad_push_event (stream->pad, gst_event_new_gap (pts, duration));
stream->segment.position = pts + duration;
goto next;