pkgsrc/multimedia/xine-lib/patches/patch-src-post-planar-expand.c

29 lines
1.2 KiB
C
Raw Normal View History

$NetBSD: patch-src-post-planar-expand.c,v 1.2 2014/05/18 15:38:18 wiz Exp $
https://bugs.xine-project.org/show_bug.cgi?id=524
--- src/post/planar/expand.c.orig 2011-08-30 13:13:51.000000000 +0000
+++ src/post/planar/expand.c
@@ -73,13 +73,17 @@ typedef struct expand_parameters_s {
} expand_parameters_t;
START_PARAM_DESCR(expand_parameters_t)
-PARAM_ITEM(POST_PARAM_TYPE_BOOL, enable_automatic_shift, NULL, 0, 1, 0,
+PARAM_ITEM(expand_parameters_t,
+ POST_PARAM_TYPE_BOOL, enable_automatic_shift, NULL, 0, 1, 0,
"enable automatic overlay shifting")
-PARAM_ITEM(POST_PARAM_TYPE_INT, overlay_y_offset, NULL, -500, 500, 0,
+PARAM_ITEM(expand_parameters_t,
+ POST_PARAM_TYPE_INT, overlay_y_offset, NULL, -500, 500, 0,
"manually shift the overlay vertically")
-PARAM_ITEM(POST_PARAM_TYPE_DOUBLE, aspect, NULL, 1.0, 3.5, 0,
+PARAM_ITEM(expand_parameters_t,
+ POST_PARAM_TYPE_DOUBLE, aspect, NULL, 1.0, 3.5, 0,
"target aspect ratio")
-PARAM_ITEM(POST_PARAM_TYPE_BOOL, centre_cut_out_mode, NULL, 0, 1, 0,
+PARAM_ITEM(expand_parameters_t,
+ POST_PARAM_TYPE_BOOL, centre_cut_out_mode, NULL, 0, 1, 0,
"cut out centred 4:3 image contained in 16:9 frame")
END_PARAM_DESCR(expand_param_descr)