summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-18 12:03:14 +0200
committerwm4 <wm4@nowhere>2012-08-20 15:36:05 +0200
commit4adc0064db54b9c8d68adb038c3526018c544648 (patch)
tree3b73d4ca26db44e510e3148907f4f074f4d15925 /sub
parentbd8b9ef6d1689f71ebcefd9a6ac7ff6aa74b676b (diff)
downloadmpv-4adc0064db54b9c8d68adb038c3526018c544648.tar.bz2
mpv-4adc0064db54b9c8d68adb038c3526018c544648.tar.xz
sub: remove unused definitions
Diffstat (limited to 'sub')
-rw-r--r--sub/sub.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 3e7f70f615..1fe5ec50e7 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -42,23 +42,11 @@ typedef struct mp_osd_bbox_s {
typedef struct mp_osd_obj_s {
struct mp_osd_obj_s* next;
unsigned char type;
- unsigned char alignment; // 2 bits: x;y percentages, 2 bits: x;y relative to parent; 2 bits: alignment left/right/center
unsigned short flags;
int x,y;
int dxs,dys;
mp_osd_bbox_t bbox; // bounding box
mp_osd_bbox_t old_bbox; // the renderer will save bbox here
- union {
- struct {
- void* sub; // value of vo_sub at last update
- int utbl[MAX_UCS+1]; // subtitle text
- int xtbl[MAX_UCSLINES]; // x positions
- int lines; // no. of lines
- } subtitle;
- struct {
- int elems;
- } progbar;
- } params;
int stride;
int allocated;