diff options
author | René Stadler <mail@renestadler.de> | 2009-04-07 04:53:02 +0300 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2009-04-07 05:41:46 +0300 |
commit | d5216a1a66e54a681b7d9a95984eb04608d58bb5 (patch) | |
tree | 61c6fb899f3a16e10cdcbbce186dabe2eb7bdce7 /gst/aacparse | |
parent | 0293f54d06916b3fca1d8dd526b25b92e2ee5f37 (diff) | |
download | gst-plugins-bad-d5216a1a66e54a681b7d9a95984eb04608d58bb5.tar.gz gst-plugins-bad-d5216a1a66e54a681b7d9a95984eb04608d58bb5.tar.bz2 gst-plugins-bad-d5216a1a66e54a681b7d9a95984eb04608d58bb5.zip |
baseparse: Fix slightly broken buffer-in-segment check (aacparse, amrparse, flacparse)
Diffstat (limited to 'gst/aacparse')
-rw-r--r-- | gst/aacparse/gstbaseparse.c | 2 |
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 */ |