Check that there are subtitle rects to encode in avcodec_encode_subtitle()