From: Derk-Jan Hartman Date: Sat, 18 Sep 2004 09:52:20 +0000 (+0000) Subject: * added origin (position) and 'original frame size' params to SPU es X-Git-Tag: 0.8.0~387 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=86dcb649641c0d756c0f64362781e08db25ea311;p=vlc * added origin (position) and 'original frame size' params to SPU es --- diff --git a/include/vlc_es.h b/include/vlc_es.h index 622726d1e7..0685fabff2 100644 --- a/include/vlc_es.h +++ b/include/vlc_es.h @@ -111,12 +111,23 @@ struct video_format_t */ struct subs_format_t { + /* the character encoding of the text of the subtitle. + * all gettext recognized shorts can be used */ char *psz_encoding; + + int i_x_origin; /**< x coordinate of the subtitle. 0 = left */ + int i_y_origin; /**< y coordinate of the subtitle. 0 = top */ + struct { - /* FIXME */ + /* */ uint32_t palette[16+1]; + + /* the width of the original movie the spu was extracted from */ + int i_original_frame_width; + /* the height of the original movie the spu was extracted from */ + int i_original_frame_height; } spu; struct