summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2015-03-26 12:21:25 -0700
committerDavid Schleef <ds@schleef.org>2015-03-26 12:22:43 -0700
commitc3bb399fd3e238da77aa3242557eedf3f42d1167 (patch)
treebaf1e184bf5fc2c93d9b3a292a2ca07d1ac904f4
parent32aed671442fea4df971a920368cf0703fafb6cf (diff)
wavparse: be more strict about typefinding DTS
Code now matches comments.
-rw-r--r--gst/wavparse/gstwavparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 41d515154..36747799c 100644
--- 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"))