[vlc-commits] [Git][videolan/vlc][master] es_out: use one-based track labels

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Sep 24 01:00:24 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
1b92ac6c by Serhii Bykov at 2026-09-24T00:46:29+00:00
es_out: use one-based track labels

- - - - -


1 changed file:

- src/input/es_out.c


Changes:

=====================================
src/input/es_out.c
=====================================
@@ -710,10 +710,10 @@ static char *EsGetTitle( es_out_id_t *es )
     else if (es->psz_language && *es->psz_language)
     {
         if (asprintf(&title, "%s %zu - [%s]", _("Track"),
-                     es->i_pos, es->psz_language ) != -1 )
+                     es->i_pos + 1, es->psz_language ) != -1 )
             return title;
     }
-    else if (asprintf(&title, "%s %zu", _("Track"), es->i_pos) != -1)
+    else if (asprintf(&title, "%s %zu", _("Track"), es->i_pos + 1) != -1)
         return title;
 
     return NULL;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1b92ac6ce09a94f69cac98bf0c5b9de5289a1e73

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1b92ac6ce09a94f69cac98bf0c5b9de5289a1e73
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list