Revert "aiffparse: make sure we have data before handling sink event"

This reverts commit a4baabb48d.
This commit is contained in:
Luis de Bethencourt 2015-02-06 16:22:26 +00:00
parent a4baabb48d
commit 1f670cb9ba

View file

@ -1805,11 +1805,6 @@ gst_aiff_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
GST_DEBUG_OBJECT (aiff, "received segment %" GST_SEGMENT_FORMAT, GST_DEBUG_OBJECT (aiff, "received segment %" GST_SEGMENT_FORMAT,
&segment); &segment);
if (aiff->state != AIFF_PARSE_DATA) {
GST_DEBUG_OBJECT (aiff, "still starting, eating event");
goto exit;
}
/* now we are either committed to TIME or BYTE format, /* now we are either committed to TIME or BYTE format,
* and we only expect a BYTE segment, e.g. following a seek */ * and we only expect a BYTE segment, e.g. following a seek */
if (segment.format == GST_FORMAT_BYTES) { if (segment.format == GST_FORMAT_BYTES) {