Skip to content
Extraits de code Groupes Projets

Fix deadlock

1 file
+ 3
3
Comparer les modifications
  • Côte à côte
  • En ligne
+ 3
3
@@ -67,9 +67,9 @@ lmpv_prepare(volatile sqlite3 *db)
@@ -67,9 +67,9 @@ lmpv_prepare(volatile sqlite3 *db)
int
int
lmpv_observe_properties(mpv_handle *ctx)
lmpv_observe_properties(mpv_handle *ctx)
{
{
return (mpv_observe_property(ctx, 0, "ao-volume", MPV_FORMAT_INT64) >= 0) &&
return (mpv_observe_property(ctx, 0, "ao-volume", MPV_FORMAT_INT64) >= 0) &&
(mpv_observe_property(ctx, 0, "duration", MPV_FORMAT_INT64) >= 0) &&
(mpv_observe_property(ctx, 0, "duration", MPV_FORMAT_INT64) >= 0) &&
(mpv_observe_property(ctx, 0, "time-pos", MPV_FORMAT_INT64) >= 0) &&
(mpv_observe_property(ctx, 0, "time-pos", MPV_FORMAT_INT64) >= 0) &&
(mpv_observe_property(ctx, 0, "pause", MPV_FORMAT_FLAG) >= 0);
(mpv_observe_property(ctx, 0, "pause", MPV_FORMAT_FLAG) >= 0);
}
}
Chargement en cours