summaryrefslogtreecommitdiff
path: root/gst/y4m
diff options
context:
space:
mode:
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) {