summaryrefslogtreecommitdiffstats
path: root/gst/aacparse/gstbaseparse.c
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2009-04-07 04:53:02 +0300
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:14 -0400
commit9e5e81f1e9f2fe916d0263f2e5599e8f90ceaa02 (patch)
tree5360f6dba8e1ccccd59951e0d2f4070034af4102 /gst/aacparse/gstbaseparse.c
parent3118956cdf6ca4e8237fada976c67a64c1581545 (diff)
downloadgst-plugins-bad-9e5e81f1e9f2fe916d0263f2e5599e8f90ceaa02.tar.gz
gst-plugins-bad-9e5e81f1e9f2fe916d0263f2e5599e8f90ceaa02.tar.bz2
gst-plugins-bad-9e5e81f1e9f2fe916d0263f2e5599e8f90ceaa02.zip
baseparse: Fix slightly broken buffer-in-segment check (aacparse, amrparse, flacparse)
Diffstat (limited to 'gst/aacparse/gstbaseparse.c')
-rw-r--r--gst/aacparse/gstbaseparse.c2
1 files changed, 1 insertions, 1 deletions
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 */