2004-03-09 Ronald Bultje <rbultje@ronald.bitfreak.net>
+ * ext/ffmpeg/Makefile.am:
+ Prevent more symbol conflicts...
+ * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
+ Up priority/rank for MPEG-4 decoder. Reason is simple: it's well-
+ tested and by far outperforms xviddec/divxdec. They'll get some
+ other, slightly lower, rank.
+ * gst-libs/ext/ffmpeg/patch/autotools.diff:
+ Tweaking...
+ * gst-libs/ext/ffmpeg/patch/disableinstalllibs.diff:
+ Prevent more symbol conflicts. I changed this (to pass 'make
+ distcheck') in the one patch, so need to change it here too.
+ * gst-libs/ext/ffmpeg/patch/disablemmx.diff:
+ Re-enable MMX. :).
+ * gst-libs/ext/ffmpeg/patch/functions.diff:
+ Bla.
+
+2004-03-09 Ronald Bultje <rbultje@ronald.bitfreak.net>
+
* configure.ac:
Patch properly. Update version.
* gst-libs/ext/ffmpeg/Makefile.am:
-I $(top_srcdir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec \
-I $(top_srcdir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat
libgstffmpeg_la_LIBADD = \
- $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/libavcodec.la \
- $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat/libavformat.la
+ $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat/libavformat.la \
+ $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/libavcodec.la
libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
GINT_TO_POINTER (0),
(gpointer) params);
- /* create the gtype now */
+ /* create the gtype now
+ * (Ronald) MPEG-4 gets a higher priority because it has been well-
+ * tested and by far outperforms divxdec/xviddec - so we prefer it. */
type = g_type_register_static(GST_TYPE_ELEMENT, type_name , &typeinfo, 0);
- if (!gst_element_register (plugin, type_name, GST_RANK_MARGINAL, type)) {
+ if (!gst_element_register (plugin, type_name,
+ (in_plugin->id == CODEC_ID_MPEG4) ?
+ GST_RANK_PRIMARY : GST_RANK_MARGINAL, type)) {
g_free (type_name);
return FALSE;
}