[vlc-commits] vout: subpicture_NewFromPicture: fix original size
Francois Cartegnie
git at videolan.org
Mon Jun 5 16:48:00 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 1 17:46:28 2017 +0200| [5688920da03ac247ce43540b9510c69bf7e2af2c] | committer: Francois Cartegnie
vout: subpicture_NewFromPicture: fix original size
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5688920da03ac247ce43540b9510c69bf7e2af2c
---
src/misc/subpicture.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/subpicture.c b/src/misc/subpicture.c
index f18be17aa0..10adc29d75 100644
--- a/src/misc/subpicture.c
+++ b/src/misc/subpicture.c
@@ -128,8 +128,8 @@ subpicture_t *subpicture_NewFromPicture( vlc_object_t *p_obj,
return NULL;
}
- p_subpic->i_original_picture_width = fmt_out.i_width;
- p_subpic->i_original_picture_height = fmt_out.i_height;
+ p_subpic->i_original_picture_width = fmt_out.i_visible_width;
+ p_subpic->i_original_picture_height = fmt_out.i_visible_height;
fmt_out.i_sar_num =
fmt_out.i_sar_den = 0;
More information about the vlc-commits
mailing list