summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-src-post-planar-expand.c
blob: d8fe13d8db380e41cbd6ef712af12e7a4654175a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$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)