From 21d7f4b4bba79558de830d9e815e127f67274355 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 30 Jul 2012 15:15:58 +0200 Subject: gstreamer: make gstreamer 1.0 and 0.10 dual compile Add fallback activation of an _OLD media component to the core. Compile both a 0.10 and 1.0 version of the gstreamer component Change-Id: I91f65d05391cb2d7e02f9cff18f96178a128705O1 --- avmedia/source/gstreamer/gst_0_10.cxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 avmedia/source/gstreamer/gst_0_10.cxx (limited to 'avmedia/source/gstreamer/gst_0_10.cxx') diff --git a/avmedia/source/gstreamer/gst_0_10.cxx b/avmedia/source/gstreamer/gst_0_10.cxx new file mode 100644 index 000000000000..a0624c40b91f --- /dev/null +++ b/avmedia/source/gstreamer/gst_0_10.cxx @@ -0,0 +1,15 @@ +#define AVMEDIA_GST_0_10 + +// forward compatibility goodness +#include +#define gst_video_overlay_expose(a) gst_x_overlay_expose(GST_X_OVERLAY (a)) +#define gst_video_overlay_set_window_handle(a,b) gst_x_overlay_set_xwindow_id( \ + reinterpret_cast(a), (b) ) +#define GST_VIDEO_OVERLAY(a) reinterpret_cast(a) + +// #define GstVideoOverlay GstXOverlay + +#include "gstmanager.cxx" +#include "gstplayer.cxx" +#include "gstuno.cxx" +#include "gstwindow.cxx" -- cgit v1.2.3