From 54cdf039b97f3040f2b817713dd0332ca017c77e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 Jul 2011 18:52:23 +0200 Subject: [PATCH 1/4] remove -Wcast-align See: https://bugzilla.gnome.org/show_bug.cgi?id=615698 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 112f07cae8..5cd4bd3d86 100644 --- a/configure.ac +++ b/configure.ac @@ -135,7 +135,7 @@ dnl define an ERROR_CFLAGS Makefile variable AG_GST_SET_ERROR_CFLAGS($GST_GIT, [ -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition - -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress + -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs ]) dnl define correct level for debugging messages From 2f638309240356ce7a2a3759c962da46f9209f83 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 11 Jul 2011 10:47:26 +0200 Subject: [PATCH 2/4] ffmpegdec: Set default number of threads to 1 Too many suspicious errors/warnings pop up when more than 1 thread is used. Fixes #653649 --- ext/ffmpeg/gstffmpegdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 892a726c03..668ab08c07 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -195,7 +195,7 @@ gst_ts_info_get (GstFFMpegDec * dec, gint idx) #define DEFAULT_DO_PADDING TRUE #define DEFAULT_DEBUG_MV FALSE #define DEFAULT_CROP TRUE -#define DEFAULT_MAX_THREADS 0 +#define DEFAULT_MAX_THREADS 1 enum { From e799091c8a3a08ac1182222e904675e884b5e62e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 4 Jun 2011 19:10:15 -0700 Subject: [PATCH 3/4] configure: Remove -gnu from target_os Fixes #651768. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5cd4bd3d86..fcbf82e7ec 100644 --- a/configure.ac +++ b/configure.ac @@ -312,9 +312,10 @@ else --enable-optimizations" # if we are cross-compiling, tell ffmpeg so + target_os=`echo $host_os | sed 's/-gnu//'` if test "x$cross_compiling" = xyes; then embffmpeg_configure_args="$embffmpeg_configure_args --enable-cross-compile \ - --target-os=$host_os --arch=$host_cpu --cross-prefix=$host_alias-" + --target-os=$target_os --arch=$host_cpu --cross-prefix=$host_alias-" fi case $host_os in From 82ac8b1e1404b063ff5fd8dab84b492be60ccc0c Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 12 Jul 2011 18:36:35 +0200 Subject: [PATCH 4/4] gst-libs: Update libav checkout to latest 0.7 tip Contains MT fixes --- gst-libs/ext/libav | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/ext/libav b/gst-libs/ext/libav index 9c709f0534..9459390f29 160000 --- a/gst-libs/ext/libav +++ b/gst-libs/ext/libav @@ -1 +1 @@ -Subproject commit 9c709f053474dd74890f32662b7d7010e5cc0b0d +Subproject commit 9459390f29ec6df63ff1878f13b7b4343811948a