From: Michael Roitzsch <mroi@us...> - 2004-08-29 13:26:26
> If the decoder or video-out runs into problems (like resource allocation
> problems) and wants to abort the stream gracefully, like it had played to
> an end, is there a mechanism for this?
It is not recommended for decoders to stop playback (the app might still want
to play the audio, even if the video fails) and I don't think there is a safe
way to do that.
But if your decoder gets into a bad state, making it unusable, the decoder
should set the stream info slot XINE_STREAM_INFO_VIDEO_HANDLED to 0:
_x_stream_info_set(this->stream, XINE_STREAM_INFO_VIDEO_HANDLED, 0);
The decoder loop will then dispose your decoder plugin.
printk(KERN_ERR "msp3400: chip reset failed, penguin on i2c bus?\n");