[vlc-devel] Re: [patch] Fixed source aspect ratio calculation

Derk-Jan Hartman hartman at videolan.org
Mon Oct 17 16:22:17 CEST 2005


On 17 okt 2005, at 10:49, Marian Durkovic wrote:
> Hi all,
>
>   attached is the patch which fixes source aspect ratio calculation.
> SAR needs to be calculated from visible image size, not from  
> encoded size.
> With this patch, HDTV streams have proper SAR of 1:1 (square  
> pixels) as
> per HDTV definition.


I have one issue here:

+        if( p_dec->fmt_out.video.i_visible_height == 1088 )
+        {
+            p_dec->fmt_out.video.i_visible_height = 1080;
+            msg_Warn( p_dec, "Incorrect HDTV stream - reducing  
height to 1080");
+        }


Now... what if i actually want to send a 1088 stream?

DJ

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list