Error handling for ofVideoPlayer (and specifically ofDirectShowPlayer)?


Just wondering what the process for handling video errors is. There’s the easy one that can be discovered if the video doesn’t load, i.e. if player.load(path) returns false, but are there any other error states or notifications to hook into?

One issue I’ve been having with some files an error that is logged to the console as ‘SampleCB() - buffer sizes do not match’. It doesn’t halt the program - understandable since that’s the general pattern of most things with OpenFrameworks - but the thing I’m writing at the minute is going to let users use their own video files, and I’d like to display some sort of error if this happens rather than a blank screen.

Any help much appreciated!