No, the CODEC has theoretically no access to the graphics card driver. So the problem is something else - maybe something hat happens when the CODEC loads the file, maybe the program that generated your movie file. But I don't think I can help here much. I've never written a CODEC and have not much experience with video file formats.

To be on the safe side, better use a standard format such as AVI/MPEG or WMV.