y4mdec: Default colorspace is I420
authorEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 12 Jan 2011 10:57:29 +0000 (11:57 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 12 Jan 2011 11:00:24 +0000 (12:00 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=639296

gst/y4m/gsty4mdec.c

index 7011bac..0e6c3fa 100644 (file)
@@ -280,7 +280,7 @@ static gboolean
 gst_y4m_dec_parse_header (GstY4mDec * y4mdec, char *header)
 {
   char *end;
-  int format = -1;
+  int format = 420;
   int interlaced_char = 0;
 
   if (memcmp (header, "YUV4MPEG2 ", 10) != 0) {