aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/vo_drm.c
Commit message (Collapse)AuthorAge
* Change GPL/LGPL dual-licensed files to LGPLGravatar wm42016-01-19
| | | | | | | | | | | Do this to make the license situation less confusing. This change should be of no consequence, since LGPL is compatible with GPL anyway, and making it LGPL-only does not restrict the use with GPL code. Additionally, the wording implies that this is allowed, and that we can just remove the GPL part.
* video: switch from using display aspect to sample aspectGravatar wm42015-12-19
| | | | | | | | | | | | | | | | MPlayer traditionally always used the display aspect ratio, e.g. 16:9, while FFmpeg uses the sample (aka pixel) aspect ratio. Both have a bunch of advantages and disadvantages. Actually, it seems using sample aspect ratio is generally nicer. The main reason for the change is making mpv closer to how FFmpeg works in order to make life easier. It's also nice that everything uses integer fractions instead of floats now (except --video-aspect option/property). Note that there is at least 1 user-visible change: vf_dsize now does not set the display size, only the display aspect ratio. This is because the image_params d_w/d_h fields did not just set the display aspect, but also the size (except in encoding mode).
* vo_drm: relicense to LGPLGravatar rr-2015-11-08
| | | | | Also removed authorship information (as per convention seen in other files)
* vo_drm: use bool rather than integer return valuesGravatar rr-2015-11-08
| | | | | Since the errors weren't used for anything other than simple success/fail checks, I simplified things a bit.
* vo_drm: move initialization to drm_commonGravatar rr-2015-11-08
| | | | | Makes KMS initialization procedures reusable so that they can be used by the upcoming DRM EGL adapter.
* vo_drm: show osd in audio only modeGravatar Paul B Mahol2015-10-29
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* video/out: remove an unused parameterGravatar wm42015-10-03
| | | | | | | | | | | This parameter has been unused for years (the last flag was removed in commit d658b115). Get rid of it. This affects the general VO API, as well as the vo_opengl backend API, so it touches a lot of files. The VOFLAGs are still used to control OpenGL context creation, so move them to the OpenGL backend code.
* vo_drm: make VT switching non mandatoryGravatar rr-2015-06-28
|
* vo_drm: fixed crashes with --profile=pseudo-guiGravatar Marcin Kurczewski2015-06-13
|
* vo_drm: fix not using BUF_COUNTGravatar Marcin Kurczewski2015-05-29
|
* vo_drm: fix centering with regard to strideGravatar Marcin Kurczewski2015-05-29
|
* vo_drm: Expose mode ID option to usersGravatar Marcin Kurczewski2015-05-28
|
* vo_drm: Fix resolution not restored after exitingGravatar Marcin Kurczewski2015-05-28
|
* vo_drm: Fix stride problem for certain devicesGravatar Marcin Kurczewski2015-05-28
|
* vo_drm: allow changing video rectangle settingsGravatar wm42015-05-08
| | | | | | | | | Now among other things panscan can be changed during playback. Unfortunately, it flickers. The issue is that reconfig() clears the framebuffer. Removing the clearing shows that the "unused" parts of the picture are not cleared - even though OSD could render there. As such, this is a separate issue.
* vo_drm: don't mutate the current frame when clamping for panscanGravatar wm42015-05-08
| | | | | | When running with --panscan=1, this could crash - because the current frame was reduced in size each time the image was redrawn, which would result in a failed assertion the second time it's drawn.
* vo_drm: zero screen buffers in reconfig function.Gravatar akemi-san2015-04-27
|
* vo_drm: add window screenshots supportGravatar Marcin Kurczewski2015-04-26
|
* vo_drm: fix return value for void functionGravatar Marcin Kurczewski2015-04-21
|
* vo_drm: fix coding style to adhere to guidelinesGravatar Marcin Kurczewski2015-04-21
|
* vo_drm: fix releasing VT if received signal twiceGravatar Marcin Kurczewski2015-04-21
| | | | | | If user switched terminals frantically, mpv could get SIGUSR1 twice in a row, which, up until now, resulted in destroying CRTC twice. This caused it to segfault. After this fix, double SIGUSR1 should be ignored.
* vo_drm: add vertical syncGravatar Marcin Kurczewski2015-04-21
|
* vo_drm: extract vt_switcher to drm_commonGravatar Marcin Kurczewski2015-04-19
|
* vo_drm: disable VT switcher for non-Linux systemsGravatar Marcin Kurczewski2015-04-19
|
* vo_drm: fix logging problems with connectorsGravatar Marcin Kurczewski2015-04-18
| | | | | | | Logging was meant to be silenced only when user uses connector auto-detection feature. If user supplies connector ID manually, he should see exact reason why connecting to this specific connector failed.
* vo_drm: fix VT behavior with auxiliary screensGravatar Marcin Kurczewski2015-04-18
| | | | Fixes #1828
* vo_drm: fix VT switchingGravatar Marcin Kurczewski2015-04-18
| | | | Fixes #1827
* vo_drm: add KMS/DRM renderer supportGravatar Marcin Kurczewski2015-04-16
Signed-off-by: wm4 <wm4@nowhere>