summaryrefslogtreecommitdiff
path: root/gst/cdxaparse
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-15 20:50:58 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-15 20:50:58 +0200
commit1f102af33dbd5a818b022a0e898e1bea41f4c326 (patch)
treecd794b7f2e3a1eabf8c8772ac0f8e4c3dafdd470 /gst/cdxaparse
parent27d7c799a6c7deddaa593f2e64d7ac4c7e7043c3 (diff)
downloadgstreamer-plugins-bad-1f102af33dbd5a818b022a0e898e1bea41f4c326.tar.gz
cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET
Diffstat (limited to 'gst/cdxaparse')
-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;
}