[vlc-devel] commit: Fixed EPG OSD aspect ratio. (Laurent Aimar )
    git version control 
    git at videolan.org
       
    Tue Feb  2 21:44:44 CET 2010
    
    
  
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Feb  2 21:44:10 2010 +0100| [d05983d4115bbb52d1ac0fca2ed843d397962dc1] | committer: Laurent Aimar 
Fixed EPG OSD aspect ratio.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d05983d4115bbb52d1ac0fca2ed843d397962dc1
---
 src/video_output/video_epg.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/video_output/video_epg.c b/src/video_output/video_epg.c
index 96ae61c..ef5c8c1 100644
--- a/src/video_output/video_epg.c
+++ b/src/video_output/video_epg.c
@@ -55,6 +55,8 @@ static subpicture_region_t * vout_OSDEpgSlider( vout_thread_t *p_vout,
     video_format_Init( &fmt, VLC_CODEC_YUVA );
     fmt.i_width = fmt.i_visible_width = i_width;
     fmt.i_height = fmt.i_visible_height = i_height;
+    fmt.i_sar_num = 0;
+    fmt.i_sar_den = 1;
 
     p_region = subpicture_region_New( &fmt );
     if( !p_region )
@@ -113,6 +115,8 @@ static subpicture_region_t * vout_OSDEpgText( vout_thread_t *p_vout,
 
     /* Create a new subpicture region */
     video_format_Init( &fmt, VLC_CODEC_TEXT );
+    fmt.i_sar_num = 0;
+    fmt.i_sar_den = 1;
 
     p_region = subpicture_region_New( &fmt );
     if( !p_region )
    
    
More information about the vlc-devel
mailing list