set the subtitle resolution to video resolution when avctx has zero width and height.