Gstbaseparse: why need report error if no valid frame before EOS?
Submitted by kevin
Link to original bug (#726956)
Description
Why need report error if no valid frame before EOS? We have one test stream which have audio track. But haven't any valid AC3 data in it. Application got error and stopped playback. Below is the source code in gstbaseparse.c
/* If we STILL have zero frames processed, fire an error */
if (parse->priv->framecount == 0) {
GST_ELEMENT_ERROR (parse, STREAM, WRONG_TYPE,
("No valid frames found before end of stream"), (NULL));
}
Version: 1.2.3