Hi Jason,
Most of the av_* and avcodec_* functions return error codes. If the error code was negative, badness happened, and I bailed. That's about the limit of the error handling I've done.
And that seems to be what the plugin currently does.
If you actually examine the error codes, you might be able to handle them more intelligently. I never had the need, so I'm not sure.
The error codes correspond to defines, so the first step I did was print out what the error code corresponded to when one occurs instead of just saying "unable to load the file/stream". But it's what to do then, or what could be done to try and go on gracefully, that I'm not sure about.
Anyways, I'm kind of at a dead end because there's too much I don't know how to do with ffmpeg. I've got some basic things to work but I'm not near where I want to go. I'll submit what I have and see if someone else can pick it up from there or suggest improvements.
Thanks for your help, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

