diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-08-15 10:13:18 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-08-15 22:01:39 +0200 |
commit | 6879d1162c13a39cdfc231e7052711db0926d590 (patch) | |
tree | eaa27790f0183dfd0ab49d0b0c09ddae2ebe7941 /libvo/video_out.c | |
parent | 4e2fe3724b3bcd61794cf4fca88adf383f5547d4 (diff) | |
download | mpv-6879d1162c13a39cdfc231e7052711db0926d590.tar.bz2 mpv-6879d1162c13a39cdfc231e7052711db0926d590.tar.xz |
vo_sharedbuffer: remove this VO
Since slave mode is not planned to be kept, this VO is useless and I'm
removing it.
This VO was useful for OSX GUIs. Since in cocoa you can't embed views in
windows from other processes, this VO was writing to a sharedbuffer with
mmap. The OSX GUIs would then read from the buffer and render the image
with an external renderer.
If in the future we will want to support GUIs we will need to reasearch the
IOSurface framework. This allows to share kernel managed image data
across processes and integrates well with OpenGL.
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r-- | libvo/video_out.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index 218dd36d1b..4066146152 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -87,7 +87,6 @@ extern struct vo_driver video_out_direct3d_shaders; extern struct vo_driver video_out_directx; extern struct vo_driver video_out_directfb; extern struct vo_driver video_out_corevideo; -extern struct vo_driver video_out_sharedbuffer; const struct vo_driver *video_out_drivers[] = { @@ -124,9 +123,6 @@ const struct vo_driver *video_out_drivers[] = #endif &video_out_null, // should not be auto-selected -#ifdef CONFIG_SHAREDBUFFER - &video_out_sharedbuffer, -#endif #ifdef CONFIG_DIRECTFB // vo directfb can call exit() if initialization fails &video_out_directfb, |