Commit a23a6a9d authored by Jan Schmidt's avatar Jan Schmidt

ext/ffmpeg/gstffmpegdemux.c: Reduce the probability of the MPEG-TS typefinder,...

ext/ffmpeg/gstffmpegdemux.c: Reduce the probability of the MPEG-TS typefinder, because there's a better one in recent...

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Reduce the probability of the MPEG-TS typefinder, because there's a
better one in recent base releases.
parent bdadc136
2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find):
Reduce the probability of the MPEG-TS typefinder, because there's a
better one in recent base releases.
2007-05-17 Edward Hervey <edward@fluendo.com>
* configure.ac:
......
......@@ -1132,6 +1132,12 @@ gst_ffmpegdemux_type_find (GstTypeFind * tf, gpointer priv)
res = in_plugin->read_probe (&probe_data);
if (res > 0) {
res = MAX (1, res * GST_TYPE_FIND_MAXIMUM / AVPROBE_SCORE_MAX);
/* Restrict the probability for MPEG-TS streams, because there is
* probably a better version in plugins-base, if the user has a recent
* plugins-base */
if (!strcmp (in_plugin->name, "mpegts"))
res = MIN (res, GST_TYPE_FIND_POSSIBLE);
gst_type_find_suggest (tf, res, params->sinkcaps);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment