[vlc-devel] [PATCH] pgs subtitles: use origial frame size (fix #6324)

Jean-Baptiste Kempf jb at videolan.org
Tue May 20 14:52:30 CEST 2014


On 20 May, Arne de Bruijn wrote :
> I've now looked into it a bit further and usually the width/height
> seems to come from the container instead of the codec. The xsub format
> (that's also referenced in subtitles.c) doesn't contain a
> width/height.

Yes, I've seen that.

> In that case the coded_width and coded_height fields are
> 0. So it would probably also work to change the check to coded_width
> != 0 && coded_height != 0.

Let me try that.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list