summaryrefslogtreecommitdiff
path: root/gst/y4m
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-01-12 11:57:29 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-01-12 12:00:24 +0100
commita2b5e7863e3b0522c9ddc3dada8390bae2ee45e3 (patch)
tree034ba99da8725b5b55a94c4ed08f1c41cb329adc /gst/y4m
parent24e89ab39cc00ce2027f0525bc280fc70a6040cb (diff)
downloadgstreamer-plugins-bad-a2b5e7863e3b0522c9ddc3dada8390bae2ee45e3.tar.gz
y4mdec: Default colorspace is I420
https://bugzilla.gnome.org/show_bug.cgi?id=639296
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c
index 7011bacf5..0e6c3fab6 100644
--- a/gst/y4m/gsty4mdec.c
+++ b/gst/y4m/gsty4mdec.c
@@ -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) {