projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32aed67
)
wavparse: be more strict about typefinding DTS
author
David Schleef
<ds@schleef.org>
Thu, 26 Mar 2015 19:21:25 +0000
(12:21 -0700)
committer
David Schleef
<ds@schleef.org>
Thu, 26 Mar 2015 19:22:43 +0000
(12:22 -0700)
Code now matches comments.
gst/wavparse/gstwavparse.c
patch
|
blob
|
history
diff --git
a/gst/wavparse/gstwavparse.c
b/gst/wavparse/gstwavparse.c
index
41d5151
..
3674779
100644
(file)
--- a/
gst/wavparse/gstwavparse.c
+++ b/
gst/wavparse/gstwavparse.c
@@
-1830,7
+1830,7
@@
gst_wavparse_have_dts_caps (const GstCaps * caps, GstTypeFindProbability prob)
if (prob >= GST_TYPE_FIND_LIKELY)
return TRUE;
/* DTS at non-0 offsets and without second sync may yield POSSIBLE .. */
- if (prob < GST_TYPE_FIND_POSSIBLE)
+ if (prob <
=
GST_TYPE_FIND_POSSIBLE)
return FALSE;
/* .. in which case we want at least a valid-looking rate and channels */
if (!gst_structure_has_field (s, "channels"))