mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
f01744ac4e
This commit adds the --force-window option, which will cause mpv always to create a window when started. This can be useful when pretending that mpv is a GUI application (which it isn't, but users pretend anyway), and playing audio files would run mpv in the background without giving a window to control it. This doesn't actually create the window immediately: it only does so only after initializing playback and when it is clear that there won't be any actual video. This could be a problem when starting slow or completely stuck network streams (mpv would remain frozen in the background), or if video initialization somehow is stuck forever in an in-between state (like when the decoder doesn't output a video frame, but doesn't return an error either). Well, we can pretend only so much that mpv is a GUI application. |
||
---|---|---|
.. | ||
dec_video.c | ||
dec_video.h | ||
lavc_dr1.c | ||
lavc.h | ||
vaapi.c | ||
vd_lavc.c | ||
vd.c | ||
vd.h | ||
vda.c | ||
vdpau_old.c | ||
vdpau.c |