fix compile for SEEK_TYPE_CUR removal

This commit is contained in:
Wim Taymans 2011-10-28 16:11:36 +02:00
parent b70275fa10
commit 7247eb5f2c

View file

@ -817,8 +817,6 @@ gst_tag_demux_srcpad_event (GstPad * pad, GstEvent * event)
cur = 0;
cur += tagdemux->priv->strip_start;
break;
case GST_SEEK_TYPE_CUR:
break;
case GST_SEEK_TYPE_END:
/* Adjust the seek to be relative to the start of any end tag
* (note: 10 bytes before end is represented by stop=-10) */
@ -837,8 +835,6 @@ gst_tag_demux_srcpad_event (GstPad * pad, GstEvent * event)
stop += tagdemux->priv->strip_start;
}
break;
case GST_SEEK_TYPE_CUR:
break;
case GST_SEEK_TYPE_END:
/* Adjust the seek to be relative to the start of any end tag
* (note: 10 bytes before end is represented by stop=-10) */