mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
timeline: Do not use meaningless offset values when snapping
This commit is contained in:
parent
410a3e4c3f
commit
7012280e48
1 changed files with 3 additions and 0 deletions
|
@ -855,6 +855,9 @@ ges_timeline_snap_position (GESTimeline * timeline, GESTrackObject * trackobj,
|
|||
nxt_iter = g_sequence_iter_next (nxt_iter);
|
||||
}
|
||||
|
||||
if (ret == NULL)
|
||||
off = G_MAXUINT64;
|
||||
|
||||
prev_iter = g_sequence_iter_prev (iter);
|
||||
while (!g_sequence_iter_is_begin (prev_iter)) {
|
||||
prev_tc = g_sequence_get (prev_iter);
|
||||
|
|
Loading…
Reference in a new issue