i am a total noobie at this but how about writing a pipeline element that converts zero dimension frames to max dimension (instead of 1x1) and make them black? you'd only have to compute the data once so it'd be fast call it zerohack