mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
Revert "aiffparse: make sure we have data before handling sink event"
This reverts commit a4baabb48d
.
This commit is contained in:
parent
a4baabb48d
commit
1f670cb9ba
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue