From 0cff483bd70d005a1126ebdcce4e52aef7bb9867 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Wed, 11 Jul 2012 13:10:07 +0200 Subject: [PATCH] qtmux: avoid warning if both ts are equal --- gst/isomp4/gstqtmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/gstqtmux.c b/gst/isomp4/gstqtmux.c index 4c74f25..591c7e4 100644 --- a/gst/isomp4/gstqtmux.c +++ b/gst/isomp4/gstqtmux.c @@ -2112,7 +2112,7 @@ static void check_and_subtract_ts (GstQTMux * qtmux, GstClockTime * ts_a, GstClockTime ts_b) { if (G_LIKELY (GST_CLOCK_TIME_IS_VALID (*ts_a))) { - if (G_LIKELY (*ts_a > ts_b)) { + if (G_LIKELY (*ts_a >= ts_b)) { *ts_a -= ts_b; } else { *ts_a = 0; -- 2.7.4