[libbluray-devel] HDMV graphics: Execute crop_h inside libbluray
hpi1
git at videolan.org
Sun Jul 14 18:58:26 CEST 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Jul 14 19:53:58 2013 +0300| [93f737671b7f21adb4786ef0d218d41a6765c9b0] | committer: hpi1
HDMV graphics: Execute crop_h inside libbluray
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=93f737671b7f21adb4786ef0d218d41a6765c9b0
---
src/libbluray/decoders/graphics_controller.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index 2ca7837..92de18d 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -570,6 +570,11 @@ static void _render_composition_object(GRAPHICS_CONTROLLER *gc,
ov.crop_w = cobj->crop_w;
ov.crop_h = cobj->crop_h;
}
+ if (ov.crop_h) {
+ ov.h = ov.crop_h;
+ ov.crop_h = 0;
+ }
+
ov.palette_update_flag = palette_update_flag;
gc->overlay_proc(gc->overlay_proc_handle, &ov);
More information about the libbluray-devel
mailing list