mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +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 {
|
} else {
|
||||||
gst_qtdemux_find_sample (demux, segment.start, TRUE, FALSE, NULL,
|
gst_qtdemux_find_sample (demux, segment.start, TRUE, FALSE, NULL,
|
||||||
NULL, (gint64 *) & segment.start);
|
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)) {
|
if (GST_CLOCK_TIME_IS_VALID (segment.stop)) {
|
||||||
|
|
Loading…
Reference in a new issue