[vlc-commits] mosaic: sets original w/h

Rafaël Carré git at videolan.org
Wed Feb 19 20:17:23 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 19 20:17:01 2014 +0100| [d39f739ba961a0e1dc64e2ee9c7026431c1a0716] | committer: Rafaël Carré

mosaic: sets original w/h

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

 modules/video_filter/mosaic.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_filter/mosaic.c b/modules/video_filter/mosaic.c
index e535e1f..a9aef44 100644
--- a/modules/video_filter/mosaic.c
+++ b/modules/video_filter/mosaic.c
@@ -454,6 +454,9 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     p_spu->i_alpha = p_sys->i_alpha;
     p_spu->b_absolute = false;
 
+    p_spu->i_original_picture_width = p_sys->i_width;
+    p_spu->i_original_picture_height = p_sys->i_height;
+
     vlc_mutex_lock( &p_sys->lock );
     vlc_global_lock( VLC_MOSAIC_MUTEX );
 



More information about the vlc-commits mailing list