2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
+ * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_type_find),
+ (gst_ffmpegdemux_register):
+ Explicitly disable 'raw' mpeg-ts typefinder as well; better debug logging
+ for the gst-ffmpeg typefinders. (#533708).
+
+2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
+
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_src_query_list),
(gst_ffmpegdemux_src_query), (gst_ffmpegdemux_get_stream),
(gst_ffmpegdemux_open):
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"))
+ * plugins-base (in fact we shouldn't even get here for ffmpeg mpegts or
+ * mpegtsraw typefinders, since we blacklist them) */
+ if (g_str_has_prefix (in_plugin->name, "mpegts"))
res = MIN (res, GST_TYPE_FIND_POSSIBLE);
+ GST_LOG ("ffmpeg typefinder '%s' suggests %" GST_PTR_FORMAT ", p=%u%%",
+ in_plugin->name, params->sinkcaps, res);
+
gst_type_find_suggest (tf, res, params->sinkcaps);
}
}
!strcmp (in_plugin->name, "mpc") ||
!strcmp (in_plugin->name, "mpc8") ||
!strcmp (in_plugin->name, "mpegts") ||
+ !strcmp (in_plugin->name, "mpegtsraw") ||
!strcmp (in_plugin->name, "nuv") ||
!strcmp (in_plugin->name, "swf") ||
!strcmp (in_plugin->name, "voc") || !strcmp (in_plugin->name, "gif"))