[vlc-devel] [PATCH] fix typo: s/rejeted/rejected/

Lyndon Brown jnqnfe at gmail.com
Wed Sep 30 20:54:30 CEST 2020


preview:

From: Lyndon Brown <jnqnfe at gmail.com>
Date: Wed, 26 Jun 2019 06:05:40 +0100
Subject: vout/spu: fix typo


diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 8766e7b582..00324101b9 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -750,16 +750,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-devel mailing list