Commit 1cd16528 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

SHM: new plugin to view (or encode) a shared memory segment

It can be used to view an Xvfb as an example.
This supports both memory mapped files and old-style System V segments.
parent 954fb5ea
...@@ -1127,7 +1127,7 @@ dnl ...@@ -1127,7 +1127,7 @@ dnl
dnl Some plugins aren't useful on some platforms dnl Some plugins aren't useful on some platforms
dnl dnl
if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
VLC_ADD_PLUGIN([dynamicoverlay]) VLC_ADD_PLUGIN([dynamicoverlay access_shm])
elif test "${SYS}" != "mingwce"; then elif test "${SYS}" != "mingwce"; then
VLC_ADD_PLUGIN([access_smb dmo globalhotkeys]) VLC_ADD_PLUGIN([access_smb dmo globalhotkeys])
VLC_ADD_LIBS([dmo],[-lole32 -luuid]) VLC_ADD_LIBS([dmo],[-lole32 -luuid])
......
...@@ -30,6 +30,7 @@ $Id$ ...@@ -30,6 +30,7 @@ $Id$
* access_realrtsp: Real RTSP access * access_realrtsp: Real RTSP access
* access_rtmp: RTMP network access * access_rtmp: RTMP network access
* access_sftp: SFTP network access module * access_sftp: SFTP network access module
* access_shm: Shared memory framebuffer access module
* access_smb: SMB shares access module * access_smb: SMB shares access module
* access_tcp: TCP Network access module * access_tcp: TCP Network access module
* access_udp: UDP Network access module * access_udp: UDP Network access module
......
...@@ -100,6 +100,12 @@ if HAVE_ALSA ...@@ -100,6 +100,12 @@ if HAVE_ALSA
libvlc_LTLIBRARIES += libaccess_alsa_plugin.la libvlc_LTLIBRARIES += libaccess_alsa_plugin.la
endif endif
libaccess_shm_plugin_la_SOURCES = shm.c
libaccess_shm_plugin_la_CFLAGS = $(AM_CFLAGS)
libaccess_shm_plugin_la_LIBADD = $(AM_LIBADD)
libaccess_shm_plugin_la_DEPENDENCIES =
libvlc_LTLIBRARIES += $(LTLIBaccess_shm)
libxcb_screen_plugin_la_SOURCES = screen/xcb.c libxcb_screen_plugin_la_SOURCES = screen/xcb.c
libxcb_screen_plugin_la_CFLAGS = $(AM_CFLAGS) \ libxcb_screen_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(XCB_CFLAGS) $(XCB_CFLAGS)
...@@ -111,4 +117,5 @@ libvlc_LTLIBRARIES += libxcb_screen_plugin.la ...@@ -111,4 +117,5 @@ libvlc_LTLIBRARIES += libxcb_screen_plugin.la
endif endif
EXTRA_LTLIBRARIES += \ EXTRA_LTLIBRARIES += \
libaccess_rtmp_plugin.la libaccess_rtmp_plugin.la \
libaccess_shm_plugin.la
This diff is collapsed.
...@@ -271,6 +271,7 @@ modules/access/screen/screen.h ...@@ -271,6 +271,7 @@ modules/access/screen/screen.h
modules/access/screen/win32.c modules/access/screen/win32.c
modules/access/screen/xcb.c modules/access/screen/xcb.c
modules/access/sftp.c modules/access/sftp.c
modules/access/shm.c
modules/access/smb.c modules/access/smb.c
modules/access/tcp.c modules/access/tcp.c
modules/access/udp.c modules/access/udp.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment