diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-05-22 13:51:12 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-05-22 13:51:12 +0200 |
commit | cd9506a55866902beaa671e69bb727b591d60535 (patch) | |
tree | 99f4b29cc2b0bf9a767397fd61d78abf31b4dba1 /ext | |
parent | 14002137f437ec20e50069307a8f823bb7e0ac6d (diff) |
Imported Upstream version 0.11.91upstream/0.11.91
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Makefile.in | 8 | ||||
-rw-r--r-- | ext/ffmpeg/Makefile.in | 10 | ||||
-rw-r--r-- | ext/ffmpeg/gstffmpegdec.c | 8 | ||||
-rw-r--r-- | ext/ffmpeg/gstffmpegdemux.c | 1 | ||||
-rw-r--r-- | ext/ffmpeg/gstffmpegmux.c | 34 | ||||
-rw-r--r-- | ext/libpostproc/Makefile.in | 10 | ||||
-rw-r--r-- | ext/libpostproc/gstpostproc.c | 4 | ||||
-rw-r--r-- | ext/libswscale/Makefile.in | 10 | ||||
-rw-r--r-- | ext/libswscale/gstffmpegscale.c | 4 |
9 files changed, 57 insertions, 32 deletions
diff --git a/ext/Makefile.in b/ext/Makefile.in index c2891e3..9e15762 100644 --- a/ext/Makefile.in +++ b/ext/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11.4 from Makefile.am. +# Makefile.in generated by automake 1.11.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -58,6 +58,7 @@ am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \ $(top_srcdir)/common/m4/as-auto-alt.m4 \ $(top_srcdir)/common/m4/as-compiler-flag.m4 \ $(top_srcdir)/common/m4/as-docbook.m4 \ + $(top_srcdir)/common/m4/as-libtool.m4 \ $(top_srcdir)/common/m4/as-python.m4 \ $(top_srcdir)/common/m4/as-version.m4 \ $(top_srcdir)/common/m4/gst-arch.m4 \ @@ -170,6 +171,7 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@ +GST_AGE = @GST_AGE@ GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@ GST_API_VERSION = @GST_API_VERSION@ GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ @@ -177,8 +179,11 @@ GST_BASE_LIBS = @GST_BASE_LIBS@ GST_CFLAGS = @GST_CFLAGS@ GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@ GST_CHECK_LIBS = @GST_CHECK_LIBS@ +GST_CURRENT = @GST_CURRENT@ GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@ GST_LIBS = @GST_LIBS@ +GST_LIBVERSION = @GST_LIBVERSION@ +GST_LT_LDFLAGS = @GST_LT_LDFLAGS@ GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@ GST_PACKAGE_NAME = @GST_PACKAGE_NAME@ GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@ @@ -187,6 +192,7 @@ GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@ GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@ GST_PLUGINS_DIR = @GST_PLUGINS_DIR@ GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@ +GST_REVISION = @GST_REVISION@ GST_TOOLS_DIR = @GST_TOOLS_DIR@ GTKDOC_CHECK = @GTKDOC_CHECK@ HAVE_BZ2 = @HAVE_BZ2@ diff --git a/ext/ffmpeg/Makefile.in b/ext/ffmpeg/Makefile.in index f17fb76..6ddc1d1 100644 --- a/ext/ffmpeg/Makefile.in +++ b/ext/ffmpeg/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11.4 from Makefile.am. +# Makefile.in generated by automake 1.11.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -67,6 +67,7 @@ am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \ $(top_srcdir)/common/m4/as-auto-alt.m4 \ $(top_srcdir)/common/m4/as-compiler-flag.m4 \ $(top_srcdir)/common/m4/as-docbook.m4 \ + $(top_srcdir)/common/m4/as-libtool.m4 \ $(top_srcdir)/common/m4/as-python.m4 \ $(top_srcdir)/common/m4/as-version.m4 \ $(top_srcdir)/common/m4/gst-arch.m4 \ @@ -209,6 +210,7 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@ +GST_AGE = @GST_AGE@ GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@ GST_API_VERSION = @GST_API_VERSION@ GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ @@ -216,8 +218,11 @@ GST_BASE_LIBS = @GST_BASE_LIBS@ GST_CFLAGS = @GST_CFLAGS@ GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@ GST_CHECK_LIBS = @GST_CHECK_LIBS@ +GST_CURRENT = @GST_CURRENT@ GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@ GST_LIBS = @GST_LIBS@ +GST_LIBVERSION = @GST_LIBVERSION@ +GST_LT_LDFLAGS = @GST_LT_LDFLAGS@ GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@ GST_PACKAGE_NAME = @GST_PACKAGE_NAME@ GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@ @@ -226,6 +231,7 @@ GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@ GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@ GST_PLUGINS_DIR = @GST_PLUGINS_DIR@ GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@ +GST_REVISION = @GST_REVISION@ GST_TOOLS_DIR = @GST_TOOLS_DIR@ GTKDOC_CHECK = @GTKDOC_CHECK@ HAVE_BZ2 = @HAVE_BZ2@ @@ -450,7 +456,7 @@ install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ - $(MKDIR_P) '$(DESTDIR)$(plugindir)' || exit 1; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ } diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 4ab16b1..605ebdb 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -2757,15 +2757,15 @@ gst_ffmpegdec_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf) discont = GST_BUFFER_IS_DISCONT (inbuf); /* The discont flags marks a buffer that is not continuous with the previous - * buffer. This means we need to clear whatever data we currently have. We - * currently also wait for a new keyframe, which might be suboptimal in the - * case of a network error, better show the errors than to drop all data.. */ + * buffer. This means we need to clear whatever data we currently have. We let + * ffmpeg continue with the data that it has. We currently drain the old + * frames that might be inside the decoder and we clear any partial data in + * the pcache, we might be able to remove the drain and flush too. */ if (G_UNLIKELY (discont)) { GST_DEBUG_OBJECT (ffmpegdec, "received DISCONT"); /* drain what we have queued */ gst_ffmpegdec_drain (ffmpegdec); gst_ffmpegdec_flush_pcache (ffmpegdec); - avcodec_flush_buffers (ffmpegdec->context); ffmpegdec->discont = TRUE; gst_ffmpegdec_reset_ts (ffmpegdec); } diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 6fd7b7b..77be1da 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -1923,6 +1923,7 @@ gst_ffmpegdemux_register (GstPlugin * plugin) !strcmp (in_plugin->name, "mp3") || !strcmp (in_plugin->name, "matroska") || !strcmp (in_plugin->name, "matroska_webm") || + !strcmp (in_plugin->name, "matroska,webm") || !strcmp (in_plugin->name, "mpeg") || !strcmp (in_plugin->name, "wav") || !strcmp (in_plugin->name, "au") || diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c index 5fffc45..001fdcf 100644 --- a/ext/ffmpeg/gstffmpegmux.c +++ b/ext/ffmpeg/gstffmpegmux.c @@ -29,7 +29,7 @@ #endif #include <gst/gst.h> -#include <gst/base/gstcollectpads2.h> +#include <gst/base/gstcollectpads.h> #include "gstffmpeg.h" #include "gstffmpegcodecmap.h" @@ -40,7 +40,7 @@ typedef struct _GstFFMpegMuxPad GstFFMpegMuxPad; struct _GstFFMpegMuxPad { - GstCollectData2 collect; /* we extend the CollectData2 */ + GstCollectData collect; /* we extend the CollectData */ gint padnum; }; @@ -49,7 +49,7 @@ struct _GstFFMpegMux { GstElement element; - GstCollectPads2 *collect; + GstCollectPads *collect; /* We need to keep track of our pads, so we do so here. */ GstPad *srcpad; @@ -114,7 +114,7 @@ static void gst_ffmpegmux_finalize (GObject * object); static gboolean gst_ffmpegmux_setcaps (GstPad * pad, GstCaps * caps); static GstPad *gst_ffmpegmux_request_new_pad (GstElement * element, GstPadTemplate * templ, const gchar * name, const GstCaps * caps); -static GstFlowReturn gst_ffmpegmux_collected (GstCollectPads2 * pads, +static GstFlowReturn gst_ffmpegmux_collected (GstCollectPads * pads, gpointer user_data); static gboolean gst_ffmpegmux_sink_event (GstPad * pad, GstObject * parent, @@ -329,9 +329,9 @@ gst_ffmpegmux_init (GstFFMpegMux * ffmpegmux, GstFFMpegMuxClass * g_class) gst_pad_set_caps (ffmpegmux->srcpad, gst_pad_template_get_caps (templ)); gst_element_add_pad (GST_ELEMENT (ffmpegmux), ffmpegmux->srcpad); - ffmpegmux->collect = gst_collect_pads2_new (); - gst_collect_pads2_set_function (ffmpegmux->collect, - (GstCollectPads2Function) gst_ffmpegmux_collected, ffmpegmux); + ffmpegmux->collect = gst_collect_pads_new (); + gst_collect_pads_set_function (ffmpegmux->collect, + (GstCollectPadsFunction) gst_ffmpegmux_collected, ffmpegmux); ffmpegmux->context = g_new0 (AVFormatContext, 1); ffmpegmux->context->oformat = oclass->in_plugin; @@ -437,7 +437,7 @@ gst_ffmpegmux_request_new_pad (GstElement * element, /* create pad */ pad = gst_pad_new_from_template (templ, padname); collect_pad = (GstFFMpegMuxPad *) - gst_collect_pads2_add_pad (ffmpegmux->collect, pad, + gst_collect_pads_add_pad (ffmpegmux->collect, pad, sizeof (GstFFMpegMuxPad)); collect_pad->padnum = ffmpegmux->context->nb_streams; @@ -543,7 +543,7 @@ beach: } static GstFlowReturn -gst_ffmpegmux_collected (GstCollectPads2 * pads, gpointer user_data) +gst_ffmpegmux_collected (GstCollectPads * pads, gpointer user_data) { GstFFMpegMux *ffmpegmux = (GstFFMpegMux *) user_data; GSList *collected; @@ -592,8 +592,8 @@ gst_ffmpegmux_collected (GstCollectPads2 * pads, gpointer user_data) /* FIXME : This doesn't work for RAW AUDIO... * in fact I'm wondering if it even works for any kind of audio... */ - buffer = gst_collect_pads2_peek (ffmpegmux->collect, - (GstCollectData2 *) collect_pad); + buffer = gst_collect_pads_peek (ffmpegmux->collect, + (GstCollectData *) collect_pad); if (buffer) { st->codec->frame_size = st->codec->sample_rate * @@ -686,8 +686,8 @@ gst_ffmpegmux_collected (GstCollectPads2 * pads, gpointer user_data) for (collected = ffmpegmux->collect->data; collected; collected = g_slist_next (collected)) { GstFFMpegMuxPad *collect_pad = (GstFFMpegMuxPad *) collected->data; - GstBuffer *buffer = gst_collect_pads2_peek (ffmpegmux->collect, - (GstCollectData2 *) collect_pad); + GstBuffer *buffer = gst_collect_pads_peek (ffmpegmux->collect, + (GstCollectData *) collect_pad); /* if there's no buffer, just continue */ if (buffer == NULL) { @@ -724,8 +724,8 @@ gst_ffmpegmux_collected (GstCollectPads2 * pads, gpointer user_data) GstMapInfo map; /* push out current buffer */ - buf = gst_collect_pads2_pop (ffmpegmux->collect, - (GstCollectData2 *) best_pad); + buf = + gst_collect_pads_pop (ffmpegmux->collect, (GstCollectData *) best_pad); ffmpegmux->context->streams[best_pad->padnum]->codec->frame_number++; @@ -802,12 +802,12 @@ gst_ffmpegmux_change_state (GstElement * element, GstStateChange transition) case GST_STATE_CHANGE_NULL_TO_READY: break; case GST_STATE_CHANGE_READY_TO_PAUSED: - gst_collect_pads2_start (ffmpegmux->collect); + gst_collect_pads_start (ffmpegmux->collect); break; case GST_STATE_CHANGE_PAUSED_TO_PLAYING: break; case GST_STATE_CHANGE_PAUSED_TO_READY: - gst_collect_pads2_stop (ffmpegmux->collect); + gst_collect_pads_stop (ffmpegmux->collect); break; default: break; diff --git a/ext/libpostproc/Makefile.in b/ext/libpostproc/Makefile.in index ce04f73..9abcc98 100644 --- a/ext/libpostproc/Makefile.in +++ b/ext/libpostproc/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11.4 from Makefile.am. +# Makefile.in generated by automake 1.11.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -58,6 +58,7 @@ am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \ $(top_srcdir)/common/m4/as-auto-alt.m4 \ $(top_srcdir)/common/m4/as-compiler-flag.m4 \ $(top_srcdir)/common/m4/as-docbook.m4 \ + $(top_srcdir)/common/m4/as-libtool.m4 \ $(top_srcdir)/common/m4/as-python.m4 \ $(top_srcdir)/common/m4/as-version.m4 \ $(top_srcdir)/common/m4/gst-arch.m4 \ @@ -194,6 +195,7 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@ +GST_AGE = @GST_AGE@ GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@ GST_API_VERSION = @GST_API_VERSION@ GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ @@ -201,8 +203,11 @@ GST_BASE_LIBS = @GST_BASE_LIBS@ GST_CFLAGS = @GST_CFLAGS@ GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@ GST_CHECK_LIBS = @GST_CHECK_LIBS@ +GST_CURRENT = @GST_CURRENT@ GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@ GST_LIBS = @GST_LIBS@ +GST_LIBVERSION = @GST_LIBVERSION@ +GST_LT_LDFLAGS = @GST_LT_LDFLAGS@ GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@ GST_PACKAGE_NAME = @GST_PACKAGE_NAME@ GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@ @@ -211,6 +216,7 @@ GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@ GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@ GST_PLUGINS_DIR = @GST_PLUGINS_DIR@ GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@ +GST_REVISION = @GST_REVISION@ GST_TOOLS_DIR = @GST_TOOLS_DIR@ GTKDOC_CHECK = @GTKDOC_CHECK@ HAVE_BZ2 = @HAVE_BZ2@ @@ -409,7 +415,7 @@ install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ - $(MKDIR_P) '$(DESTDIR)$(plugindir)' || exit 1; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ } diff --git a/ext/libpostproc/gstpostproc.c b/ext/libpostproc/gstpostproc.c index a0353b9..8f9bb91 100644 --- a/ext/libpostproc/gstpostproc.c +++ b/ext/libpostproc/gstpostproc.c @@ -279,8 +279,10 @@ gst_ffmpeg_log_callback (void *ptr, int level, const char *fmt, va_list vl) static void change_context (GstPostProc * postproc, gint width, gint height) { +#ifdef HAVE_ORC guint mmx_flags; guint altivec_flags; +#endif gint ppflags; GST_DEBUG_OBJECT (postproc, "change_context, width:%d, height:%d", @@ -300,8 +302,6 @@ change_context (GstPostProc * postproc, gint width, gint height) | (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? PP_CPU_CAPS_ALTIVEC : 0); #else - mmx_flags = 0; - altivec_flags = 0; ppflags = 0; #endif diff --git a/ext/libswscale/Makefile.in b/ext/libswscale/Makefile.in index 10d8f2a..40d1684 100644 --- a/ext/libswscale/Makefile.in +++ b/ext/libswscale/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11.4 from Makefile.am. +# Makefile.in generated by automake 1.11.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -64,6 +64,7 @@ am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \ $(top_srcdir)/common/m4/as-auto-alt.m4 \ $(top_srcdir)/common/m4/as-compiler-flag.m4 \ $(top_srcdir)/common/m4/as-docbook.m4 \ + $(top_srcdir)/common/m4/as-libtool.m4 \ $(top_srcdir)/common/m4/as-python.m4 \ $(top_srcdir)/common/m4/as-version.m4 \ $(top_srcdir)/common/m4/gst-arch.m4 \ @@ -197,6 +198,7 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@ +GST_AGE = @GST_AGE@ GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@ GST_API_VERSION = @GST_API_VERSION@ GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ @@ -204,8 +206,11 @@ GST_BASE_LIBS = @GST_BASE_LIBS@ GST_CFLAGS = @GST_CFLAGS@ GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@ GST_CHECK_LIBS = @GST_CHECK_LIBS@ +GST_CURRENT = @GST_CURRENT@ GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@ GST_LIBS = @GST_LIBS@ +GST_LIBVERSION = @GST_LIBVERSION@ +GST_LT_LDFLAGS = @GST_LT_LDFLAGS@ GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@ GST_PACKAGE_NAME = @GST_PACKAGE_NAME@ GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@ @@ -214,6 +219,7 @@ GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@ GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@ GST_PLUGINS_DIR = @GST_PLUGINS_DIR@ GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@ +GST_REVISION = @GST_REVISION@ GST_TOOLS_DIR = @GST_TOOLS_DIR@ GTKDOC_CHECK = @GTKDOC_CHECK@ HAVE_BZ2 = @HAVE_BZ2@ @@ -415,7 +421,7 @@ install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(plugindir)'"; \ - $(MKDIR_P) '$(DESTDIR)$(plugindir)' || exit 1; \ + $(MKDIR_P) "$(DESTDIR)$(plugindir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ } diff --git a/ext/libswscale/gstffmpegscale.c b/ext/libswscale/gstffmpegscale.c index 01c4256..63ffe14 100644 --- a/ext/libswscale/gstffmpegscale.c +++ b/ext/libswscale/gstffmpegscale.c @@ -550,7 +550,9 @@ gst_ffmpegscale_set_caps (GstBaseTransform * trans, GstCaps * incaps, GstCaps * outcaps) { GstFFMpegScale *scale = GST_FFMPEGSCALE (trans); +#ifdef HAVE_ORC guint mmx_flags, altivec_flags; +#endif gint swsflags; gboolean ok; @@ -591,8 +593,6 @@ gst_ffmpegscale_set_caps (GstBaseTransform * trans, GstCaps * incaps, | (mmx_flags & ORC_TARGET_MMX_3DNOW ? SWS_CPU_CAPS_3DNOW : 0) | (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? SWS_CPU_CAPS_ALTIVEC : 0); #else - mmx_flags = 0; - altivec_flags = 0; swsflags = 0; #endif |