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

Shlomi Fish git at videolan.org
Fri Mar 25 08:38:24 CET 2016


vlc | branch: master | Shlomi Fish <shlomif at shlomifish.org> | Sat Mar 19 23:22:22 2016 +0200| [1c55474788db46ce3ed7d1f3ef6d3ce0f978dd19] | 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
o 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=1c55474788db46ce3ed7d1f3ef6d3ce0f978dd19
---

 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