Commit 38a5b08e authored by Alessandro Decina's avatar Alessandro Decina
Browse files

rtpbin: fix a bug calculating stream offsets.

parent ad1c0166
...@@ -1886,7 +1886,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message) ...@@ -1886,7 +1886,7 @@ gst_rtp_bin_handle_message (GstBin * bin, GstMessage * message)
if (last_out == -1) if (last_out == -1)
last_out = 0; last_out = 0;
if (last_out < min_out_time) if (min_out_time == -1 || last_out < min_out_time)
min_out_time = last_out; min_out_time = last_out;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment