mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
qtdemux: adjust to unsigned segment fields
This commit is contained in:
parent
fdf5a49422
commit
88f107b30b
1 changed files with 2 additions and 1 deletions
|
@ -1644,7 +1644,8 @@ gst_qtdemux_handle_sink_event (GstPad * sinkpad, GstEvent * event)
|
|||
} else {
|
||||
gst_qtdemux_find_sample (demux, segment.start, TRUE, FALSE, NULL,
|
||||
NULL, (gint64 *) & segment.start);
|
||||
segment.start = MAX (segment.start, 0);
|
||||
if ((gint64) segment.start < 0)
|
||||
segment.start = 0;
|
||||
}
|
||||
}
|
||||
if (GST_CLOCK_TIME_IS_VALID (segment.stop)) {
|
||||
|
|
Loading…
Reference in a new issue