Skip to content

typefind: Hold off making suggestions too early for MPEG based formats

Thomas Bluemel requested to merge GstBlub/gst-plugins-base:issue_628 into master

By suggesting possible detection too early, it's possible that the wrong format is detected. Hold off making suggestions until one of the following conditions is met:

  • Probability > GST_TYPE_FIND_LIKELY
  • At least MPEG_MIN_PROBE_LENGTH bytes are available
  • EOS has reached, in which case the best guess wins

Merge request reports