Skip to content

Raciness in client handle termination leading to hang in Python main thread #47

Open
@ssokolow

Description

@ssokolow

I'm not in a position to be certain whether this is a python-mpv issue or a libmpv issue, but I thought it'd be better to have you close it than for you to never know.

This code cases the program to just sit there, doing nothing, while commenting out the af argument makes it work:

#!/usr/bin/env python3

import mpv
player = mpv.MPV(af="lavfi=[acompressor]")

player.play("/srv/fservroot/Videos/LGR Plays - Goat Simulator-j4HY_fxwiZo.mp4")
player.wait_for_playback()

The argument has been copy-pasted, verbatim except for the minor af="..." syntax change, from my .mpv/config where it works without issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions