Skip to content

qtdemux: Don't overflow sample index

Hosang Lee requested to merge Hosang/gstreamer:qtoverflow into main

Don't reduce sample index if it is already at 0. Assigning -1 to a guint32 variable causes unexpected behavior.

Due to the large stream->to_sample value, audio samples are advanced until the end unexpectedly during reverse playback.

Merge request reports