summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sdl: clarify value for SDL_HINT_NO_SIGNAL_HANDLERSHEADmastersfan510 days2-2/+2
| | | | | | | The intent was to disable SDL's own signal handlers. For this the hint needs to be enabled and because SDL only knows "false" or "0", "no" is actually truthy. This is needlessly confusing so just do it correctly.
* cocoabasic: stop using removed mpv_detach_destroy APIDudemanguy2024-05-141-1/+1
| | | | | No idea if this example works but it clearly can't be compiled if this non-existent API call is still around. Replace it with mpv_destroy.
* streamcb: the file should be opened in binary modeCapric2024-05-041-1/+1
|
* various: update examples to work with API changesDudemanguy2024-05-024-0/+6
| | | | | | For the render api, the vo has to be explicitly set to libmpv*. Fixes #62. *: https://github.com/mpv-player/mpv/commit/0e441525cfc2c0d56b6d4a5fc67016d7e29d1b2c
* sdl: stop using removed mpv_detach_destroy APIDudemanguy2024-05-022-2/+2
| | | | | | | This was removed years ago* and deprecated long before that. Use mpv_destroy instead so it actually builds. *: https://github.com/mpv-player/mpv/commit/632059816adde518c67f6606e3cfdef5bec18b52
* qt_opengl/qml: fix gl_init_params initializationDudemanguy2023-08-302-2/+2
| | | | | In-class initialization in c++ requires an explicit size declaration. Otherwise, the compile fails with "too many initializers".
* Remove obsolete reference to mpv.srsfckn.bizsfan52023-07-081-1/+1
|
* Update Qt example to fix the HWND castingsfan52023-01-091-2/+8
| | | | ref: https://github.com/mpv-player/mpv/issues/10189
* Remove examples which use the old opengl_cb APIwm42020-09-0311-942/+3
| | | | | | | | | | | I made an attempt to convert some of them, but in the end, meh, I can't be bothered. Do it yourself if you care, PRs to restore any of these example by using the render API might be accepted. The qt_opengl example was converted before; just fixing some old comments in it. Fixes: #38
* sdl: add software rendering examplewm42020-07-082-0/+203
| | | | Even though SDL will probably use OpenGL or so anyway.
* Fix wxwidgets example on Linux/GTK+3Lukas Werling2020-04-151-2/+18
|
* README: mpv_set_option() is semi deprecated/uselesswm42019-09-131-1/+1
|
* README: fix minor typoswm42019-09-131-4/+4
|
* Fixes issue #7: seeking in simple-streamcb does not workDeep Thought2019-09-131-0/+12
|
* qt: add qthelper.hpp hat was deprecated in libmpvwm42019-09-135-4/+357
| | | | | | The Qt examples use it out of convenience. Upstream libmpv deprecated it and declared it as unmaintained, so everyone who wants to continue using it has to copy it and maintain it.
* sdl: demonstrate GPU-renderered screenshotswm42019-09-131-0/+10
|
* sdl: add support for DRwm42019-09-131-15/+50
| | | | | | | Some small changes, because it has to be more careful about preventing deadlocks. The vd-lavc-dr option itself is not enabled, because that option is enabled by default already. The changes to the example merely make it possible to actually use it.
* sdl: replace deprecated API callwm42019-09-131-1/+1
|
* Add Java example using JavaFX and JNAJohn Hendrikx2019-09-134-0/+166
|
* Fix typo.wangwenx1902019-09-131-2/+2
|
* Convert qt_opengl example from opengl-cb to render APIwangwenx1902019-09-132-32/+30
|
* Add wxWidgets examplespavelxdd2019-09-135-0/+661
|
* cocoa-rendergl: fix deprecation warnings in macOS 10.12doug2018-10-021-2/+2
|
* cocoa-rendergl: Convert Cocoa example from opengl-cb to render APIdoggy2018-10-021-19/+40
|
* Merge pull request #18 from mikhas/libmpv-qmlJan Ekström2018-05-262-42/+85
|\ | | | | Convert QML example from opengl-cb to render API
| * Convert QML example from opengl-cb to render APIMichael Hasselmann2018-05-052-42/+85
|/ | | | Mimics the approach in SDL example.
* Convert SDL example from opengl-cb to render APIwm42018-03-022-29/+33
|
* README: update for opengl-cb deprecationwm42018-03-021-7/+21
|
* Add iOS example using libmpvSergio Padrino2017-08-032-0/+216
|
* README: some additions to "wid" embeddedwm42017-03-021-0/+7
| | | | Moved to here from mpv's client.h.
* Add GTK demowm42017-01-143-0/+293
|
* Add cplugin examplewm42017-01-122-0/+36
|
* qt_opengl: don't stall mpv when window is minimizedwm42016-09-092-1/+23
| | | | | | Unfortunately not perfect (see code comments). Taken from mpc-qt and relicensed with permission (cmdrkotori/mpc-qt#42).
* qml_direct: add a test for mpv_opengl_cb_uninit_gl()wm42016-09-093-3/+32
| | | | | That function is awfully corner-caseish, so it's nice to have a good way to test it.
* qml: update one use of removed APIwm42016-09-091-4/+4
| | | | vo_cmdline was always documented as experimental. Now it's gone.
* csharp: don't force the direct3d VOJames Ross-Gowan2016-08-171-1/+0
| | | | | | | | The direct3d VO is not recommended over opengl, even on Windows. It only exists for compatibility with ancient hardware and it doesn't support several features, such as the video equalizer (see mpv-player/mpv#3414.) In general, the examples shouldn't override mpv defaults without good reason.
* Add stream_cb exampleAman Gupta2016-08-072-0/+104
| | | | Signed-off-by: wm4 <wm4@nowhere>
* Add C# Windows Forms exampleNikolaj Olsson2016-03-3114-0/+868
|
* Reimport client API examples from mpv main repositorywm42016-03-1025-0/+1936
From commit d8b27ee4de4e26d594855960a4421b99db9e76ea.