[vlc-commits] gst: Fix build with recent gstreamer

Shlomi Fish git at videolan.org
Fri Mar 25 08:42:03 CET 2016


vlc | branch: master | Shlomi Fish <shlomif at shlomifish.org> | Sat Mar 19 23:22:22 2016 +0200| [bac8f6a549f4385e0f2d69f70993f6d348ec985a] | committer: Jean-Baptiste Kempf

gst: Fix build with recent gstreamer

This is a small patch that fixes the compilation on Linux with
a recent gstreamer (1.7.91).

We are not supposed to include include <gst/gstallocator.h> directly, but
only include <gst/gst.h>.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bac8f6a549f4385e0f2d69f70993f6d348ec985a
---

 modules/codec/gstreamer/gstvlcpictureplaneallocator.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/gstreamer/gstvlcpictureplaneallocator.c b/modules/codec/gstreamer/gstvlcpictureplaneallocator.c
index 089c549..f261af2 100644
--- a/modules/codec/gstreamer/gstvlcpictureplaneallocator.c
+++ b/modules/codec/gstreamer/gstvlcpictureplaneallocator.c
@@ -24,7 +24,7 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <gst/gstallocator.h>
+#include <gst/gst.h>
 
 #include "gstvlcpictureplaneallocator.h"
 



More information about the vlc-commits mailing list