[vlc-commits] vout_subpictures: rename spu selection date pointer

Francois Cartegnie git at videolan.org
Mon Jan 6 18:39:27 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec 23 16:43:33 2019 +0100| [f3daa211e7193a288c083e3bb6be4fd3e26c110f] | committer: Francois Cartegnie

vout_subpictures: rename spu selection date pointer

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3daa211e7193a288c083e3bb6be4fd3e26c110f
---

 src/video_output/vout_subpictures.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 76fec39d47..e21a36da8c 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -697,10 +697,10 @@ spu_SelectSubpictures(spu_t *spu, vlc_tick_t system_now,
 
             const vlc_tick_t render_date = current->b_subtitle ? render_subtitle_date : system_now;
 
-            vlc_tick_t *ephemer_date_ptr  = current->b_subtitle ? &ephemer_subtitle_date  : &ephemer_osd_date;
+            vlc_tick_t *date_ptr  = current->b_subtitle ? &ephemer_subtitle_date  : &ephemer_osd_date;
             int64_t *ephemer_order_ptr = current->b_subtitle ? &ephemer_subtitle_order : &ephemer_system_order;
-            if (current->i_start >= *ephemer_date_ptr) {
-                *ephemer_date_ptr = render_entry->start;
+            if (current->i_start >= *date_ptr) {
+                *date_ptr = render_entry->start;
                 if (current->i_order > *ephemer_order_ptr)
                     *ephemer_order_ptr = current->i_order;
             }



More information about the vlc-commits mailing list