mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
wavparse: be more strict about typefinding DTS
Code now matches comments.
This commit is contained in:
parent
32aed67144
commit
c3bb399fd3
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue