]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/marq.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / video_filter / marq.c
index f90dafa48ec6e6b060c99962ede1eafad3b4a58e..b7cc9e930d0c6431b7750b37ef079bc059d9f891 100644 (file)
@@ -36,7 +36,6 @@
 
 #include <vlc_filter.h>
 #include <vlc_block.h>
-#include <vlc_osd.h>
 
 #include <vlc_strings.h>
 
@@ -189,6 +188,7 @@ vlc_module_end ()
 
 static const char *const ppsz_filter_options[] = {
     "marquee", "x", "y", "position", "color", "size", "timeout", "refresh",
+    "opacity",
     NULL
 };
 
@@ -313,7 +313,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
     /*  where to locate the string: */
     if( p_sys->i_pos < 0 )
     {   /*  set to an absolute xy */
-        p_spu->p_region->i_align = OSD_ALIGN_LEFT | OSD_ALIGN_TOP;
+        p_spu->p_region->i_align = SUBPICTURE_ALIGN_LEFT | SUBPICTURE_ALIGN_TOP;
         p_spu->b_absolute = true;
     }
     else