[vlc-commits] vout/spu: fix "rejected" typo

Lyndon Brown git at videolan.org
Wed Oct 14 15:37:40 CEST 2020


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Wed Jun 26 06:05:40 2019 +0200| [80f565c567a504fcfdd98dcfb2dc98529869e50a] | committer: Steve Lhomme

vout/spu: fix "rejected" typo

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

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

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

diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 1afa7bd093..0d254b2c55 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -755,16 +755,16 @@ spu_SelectSubpictures(spu_t *spu, vlc_tick_t system_now,
             const vlc_tick_t ephemer_date  = current->b_subtitle ? ephemer_subtitle_date  : ephemer_osd_date;
 
             /* Destroy late and obsolete ephemer subpictures */
-            bool is_rejeted = is_late && render_entry->stop  <= stop_date;
+            bool is_rejected = is_late && render_entry->stop <= stop_date;
             if (current->b_ephemer) {
                 if (render_entry->start < ephemer_date)
-                    is_rejeted = true;
+                    is_rejected = true;
                 else if (render_entry->start == ephemer_date &&
                          current->i_order < selected_max_order)
-                    is_rejeted = true;
+                    is_rejected = true;
             }
 
-            if (is_rejeted)
+            if (is_rejected)
             {
                 spu_PrerenderCancel(sys, current);
                 subpicture_Delete(current);



More information about the vlc-commits mailing list