1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
mpv/video/decode
wm4 f01744ac4e core: add --force-window
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.
2013-10-02 01:39:28 +02:00
..
dec_video.c video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
dec_video.h video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
lavc_dr1.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
lavc.h vaapi: allow GPU read-back with --hwdec=vaapi-copy 2013-09-25 13:53:42 +02:00
vaapi.c vaapi: remove non-VLD entrypoints 2013-09-29 13:52:09 +02:00
vd_lavc.c core: add --force-window 2013-10-02 01:39:28 +02:00
vd.c video: let sh_video->disp_w/h always be container size 2013-09-26 17:33:57 +02:00
vd.h vd: add VDCTRL_GET_PARAMS 2013-07-15 01:49:26 +02:00
vda.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
vdpau_old.c vdpau_old: add forgotten probe callback 2013-08-15 23:40:04 +02:00
vdpau.c vdpau: don't try to match codec profiles 2013-08-19 01:05:48 +02:00