Commit 1bf732f5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vmem: set video offset explicitly to zero

(since the callbacks do not know the actual offsets)
parent 260a3c10
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment