diff --git a/src/module/mpv.c b/src/module/mpv.c index e9a580af9736b6ecf140c22f8a731bd23c070ed0..5b955b4adf66b60d94c3b3d6190e05c73f974622 100644 --- a/src/module/mpv.c +++ b/src/module/mpv.c @@ -67,9 +67,9 @@ lmpv_prepare(volatile sqlite3 *db) int lmpv_observe_properties(mpv_handle *ctx) { - 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, "time-pos", 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, "time-pos", MPV_FORMAT_INT64) >= 0) && (mpv_observe_property(ctx, 0, "pause", MPV_FORMAT_FLAG) >= 0); }