mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
0cf392837d
Make a new refcounted xvcontext object that handles the X connection. Use the xvcontext to allocate images and windows. Move some code around so that all X calls are made from the xvcontext object. Make a GstXvImageAllocator object that allocates images from the xvcontext. We can implement a copy function now for these memory objects now. Make the bufferpool use the xvimageallocator object for its images.
14 lines
724 B
Makefile
14 lines
724 B
Makefile
plugin_LTLIBRARIES = libgstxvimagesink.la
|
|
|
|
libgstxvimagesink_la_SOURCES = xvimagesink.c xvimage.c xvimagepool.c xvimageallocator.c xvcontext.c
|
|
libgstxvimagesink_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS)
|
|
libgstxvimagesink_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(X_LIBS) $(XVIDEO_LIBS) $(XSHM_LIBS) $(LIBM)
|
|
libgstxvimagesink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstxvimagesink_la_DEPENDENCIES = $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la
|
|
libgstxvimagesink_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = xvimagesink.h xvimagepool.h xvimageallocator.h xvcontext.h
|