diff options
author | René Stadler <mail@renestadler.de> | 2009-04-07 04:53:02 +0300 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-05-03 12:03:14 -0400 |
commit | 9e5e81f1e9f2fe916d0263f2e5599e8f90ceaa02 (patch) | |
tree | 5360f6dba8e1ccccd59951e0d2f4070034af4102 /gst/flacparse | |
parent | 3118956cdf6ca4e8237fada976c67a64c1581545 (diff) | |
download | gst-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/flacparse')
-rw-r--r-- | gst/flacparse/gstbaseparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/flacparse/gstbaseparse.c b/gst/flacparse/gstbaseparse.c index ea06474e..23cd8a9a 100644 --- a/gst/flacparse/gstbaseparse.c +++ b/gst/flacparse/gstbaseparse.c @@ -1763,7 +1763,7 @@ gst_base_parse_frame_in_segment (GstBaseParse * parse, GstBuffer * buffer, } else if (GST_BUFFER_TIMESTAMP_IS_VALID (buffer) && GST_BUFFER_DURATION_IS_VALID (buffer) && GST_CLOCK_TIME_IS_VALID (segment->start) && - GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION_IS_VALID (buffer) + GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer) < segment->start) { return FALSE; } |