[vlc-devel] [PATCH 2/2] libvlc: rename the aspect ratio setter and use a fraction

Rémi Denis-Courmont remi at remlab.net
Tue Jun 4 17:57:15 CEST 2019


Le tiistaina 4. kesäkuuta 2019, 12.03.45 EEST Steve Lhomme a écrit :
> On 2019-06-03 20:36, Rémi Denis-Courmont wrote:
> > Hi,
> > 
> > I think this function sets the display ratio, not the sample ratio though.
> 
> The callback calls vout_ChangeSampleAspectRatio(), so either this name
> is wrong or it's really the SAR.

And vout_ChangeSampleAspectRatio() calls vout_SetDisplayAspectRatio()...

Technically, it does "change" the SAR, albeit indirectly. It does not "set" 
the SAR though.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list