[vlc-commits] vmem: set video offset explicitly to zero

Rémi Denis-Courmont git at videolan.org
Tue Aug 6 21:27:02 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug  6 22:26:00 2013 +0300| [1bf732f5d131ef60054a9fdf36d31dba6514402a] | committer: Rémi Denis-Courmont

vmem: set video offset explicitly to zero

(since the callbacks do not know the actual offsets)

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

 modules/video_output/vmem.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
index aab27c8..cea5086 100644
--- a/modules/video_output/vmem.c
+++ b/modules/video_output/vmem.c
@@ -175,6 +175,7 @@ static int Open(vlc_object_t *object)
         sys->count = 1;
         sys->cleanup = NULL;
     }
+    fmt.i_x_offset = fmt.i_y_offset = 0;
     fmt.i_width = fmt.i_visible_width;
     fmt.i_height = fmt.i_visible_height;
 



More information about the vlc-commits mailing list