rtpbin: fix a bug calculating stream offsets.

This commit is contained in:
Alessandro Decina 2010-05-03 11:23:59 +02:00
parent ad1c01661f
commit 38a5b08ef2

View file

@ -1886,7 +1886,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message)
if (last_out == -1)
last_out = 0;
if (last_out < min_out_time)
if (min_out_time == -1 || last_out < min_out_time)
min_out_time = last_out;
}