[vlc-commits] marq: Force the ar to 1:1

Hugo Beauzée-Luyssen git at videolan.org
Tue Mar 1 18:34:00 CET 2016


vlc/vlc-2.2 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar  1 18:28:17 2016 +0100| [0fe8ee411b33e08a57f5d8eb9a49d00d21ca1fdf] | committer: Hugo Beauzée-Luyssen

marq: Force the ar to 1:1

(cherry picked from commit 96f092ac7e180f577ff10385ecc619aba68a3145)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=0fe8ee411b33e08a57f5d8eb9a49d00d21ca1fdf
---

 modules/video_filter/marq.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_filter/marq.c b/modules/video_filter/marq.c
index af87d30..ce7911c 100644
--- a/modules/video_filter/marq.c
+++ b/modules/video_filter/marq.c
@@ -300,6 +300,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     fmt.i_width = fmt.i_height = 0;
     fmt.i_x_offset = 0;
     fmt.i_y_offset = 0;
+    fmt.i_sar_den = fmt.i_sar_num = 1;
     p_spu->p_region = subpicture_region_New( &fmt );
     if( !p_spu->p_region )
     {



More information about the vlc-commits mailing list