From 1f102af33dbd5a818b022a0e898e1bea41f4c326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 15 Apr 2010 20:50:58 +0200 Subject: [PATCH] cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET --- gst/cdxaparse/gstcdxaparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index d19f647d82..efcda21174 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -420,7 +420,7 @@ gst_cdxa_parse_do_seek (GstCDXAParse * cdxa, GstEvent * event) return FALSE; } - if (format != GST_SEEK_TYPE_SET) { + if (start_type != GST_SEEK_TYPE_SET) { GST_DEBUG_OBJECT (cdxa, "Can only handle seek from start (SEEK_TYPE_SET)"); return FALSE; }