From 9e5e81f1e9f2fe916d0263f2e5599e8f90ceaa02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Tue, 7 Apr 2009 04:53:02 +0300 Subject: baseparse: Fix slightly broken buffer-in-segment check (aacparse, amrparse, flacparse) --- gst/aacparse/gstbaseparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/aacparse/gstbaseparse.c') diff --git a/gst/aacparse/gstbaseparse.c b/gst/aacparse/gstbaseparse.c index ee94ccd2..3c322709 100644 --- a/gst/aacparse/gstbaseparse.c +++ b/gst/aacparse/gstbaseparse.c @@ -796,7 +796,7 @@ gst_base_parse_handle_and_push_buffer (GstBaseParse * parse, } else if (GST_BUFFER_TIMESTAMP_IS_VALID (buffer) && GST_BUFFER_DURATION_IS_VALID (buffer) && GST_CLOCK_TIME_IS_VALID (parse->segment.start) && - GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION_IS_VALID (buffer) + GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer) < parse->segment.start) { /* FIXME: subclass needs way to override the start as downstream might * need frames before for proper decoding */ -- cgit v1.2.1