Make sure that an output frame has really been produced before returning 0.
Attach a file by drag & drop or click to upload