ffmpegdec: Set default number of threads to 1
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 11 Jul 2011 08:47:26 +0000 (10:47 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 11 Jul 2011 08:47:26 +0000 (10:47 +0200)
Too many suspicious errors/warnings pop up when more than 1 thread
is used.

Fixes #653649

ext/ffmpeg/gstffmpegdec.c

index 892a726..668ab08 100644 (file)
@@ -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
 {