cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET

This commit is contained in:
Sebastian Dröge 2010-04-15 20:50:58 +02:00
parent 27d7c799a6
commit 1f102af33d

View file

@ -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;
}