Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 7d1d7532 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

FIX: Implement the seek in the sdl2 module

parent d12b2e52
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!145FIX: Implement the seek in the sdl2 module
Pipeline #2114 réussi avec des avertissements
...@@ -277,8 +277,11 @@ loop: ...@@ -277,8 +277,11 @@ loop:
/* Can I seek? */ /* Can I seek? */
if (*set_seek >= 0 && *state != STATE_STOP) { if (*set_seek >= 0 && *state != STATE_STOP) {
if (lmpv_set_position(ctx, *set_seek))
LOG_DEBUG("WINDOW", "Failed to seek the mpv context to %s", set_seek);
else
LOG_DEBUG("WINDOW", "Seeking the mpv context to %s", set_seek);
*set_seek = -1; *set_seek = -1;
LOG_DEBUG("WINDOW", "Ignored set_seek");
} }
/* A loop without indentation. Ugly but better for not-really-wide screens */ /* A loop without indentation. Ugly but better for not-really-wide screens */
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter