]> git.sesse.net Git - vlc/commitdiff
* added origin (position) and 'original frame size' params to SPU es
authorDerk-Jan Hartman <hartman@videolan.org>
Sat, 18 Sep 2004 09:52:20 +0000 (09:52 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sat, 18 Sep 2004 09:52:20 +0000 (09:52 +0000)
include/vlc_es.h

index 622726d1e725aa8581e9a4334b47f8ef1c798bf6..0685fabff25fec7d50218fcf123e44083e5e8348 100644 (file)
@@ -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