summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/cdxaparse/gstcdxaparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c
index d19f647d8..efcda2117 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;
}