From ef7a8c2ca86590d994f6cf768070d75b05dd7b61 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 28 Aug 2013 20:07:48 +0200 Subject: d3dvideosink: disable buffer pools On a device lost, all the surfaces allocated in the device need to be released before resetting the device, which can't be done for the allocated buffers. https://bugzilla.gnome.org/show_bug.cgi?id=706566 --- sys/d3dvideosink/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/d3dvideosink/Makefile.am') diff --git a/sys/d3dvideosink/Makefile.am b/sys/d3dvideosink/Makefile.am index b30c4dad1..986a00682 100644 --- a/sys/d3dvideosink/Makefile.am +++ b/sys/d3dvideosink/Makefile.am @@ -1,7 +1,8 @@ plugin_LTLIBRARIES = libgstd3dvideosink.la libgstd3dvideosink_la_SOURCES = d3dvideosink.c d3dhelpers.c -libgstd3dvideosink_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(DIRECT3D_CFLAGS) $(DIRECTX_CFLAGS) +libgstd3dvideosink_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(DIRECT3D_CFLAGS) $(DIRECTX_CFLAGS) \ + -DDISABLE_BUFFER_POOL libgstd3dvideosink_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \ -lgstvideo-$(GST_API_VERSION) \ $(DIRECT3D_LIBS) $(DIRECTX_LDFAGS) -- cgit v1.2.1