[vlc-commits] [Git][videolan/vlc][master] vlc_subpicture: comment b_ephemer/i_stop interaction

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jan 23 20:38:22 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
221deb14 by François Cartegnie at 2024-01-23T20:09:05+00:00
vlc_subpicture: comment b_ephemer/i_stop interaction

- - - - -


1 changed file:

- include/vlc_subpicture.h


Changes:

=====================================
include/vlc_subpicture.h
=====================================
@@ -240,9 +240,12 @@ struct subpicture_t
     /** \name Date properties */
     /**@{*/
     vlc_tick_t      i_start;                  /**< beginning of display date */
-    vlc_tick_t      i_stop;                         /**< end of display date */
+    vlc_tick_t      i_stop;                   /**< end of display date. Will be
+                                      considered invalid if set to TICK_INVALID
+                                      or less than i_start. See b_ephemer */
     bool            b_ephemer;    /**< If this flag is set to true the subtitle
-                                will be displayed until the next one appear */
+                                   will be displayed until the next one appears
+                                   or if i_stop is reached when it is valid */
     bool            b_fade;                               /**< enable fading */
     /**@}*/
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/221deb142eb798de50eaf26351fb213191efc079

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/221deb142eb798de50eaf26351fb213191efc079
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list