This makes compilation of unit tests work in a build directory other
than the source directory.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=678789
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
+gst_rtspserver_SOURCES = gst/rtspserver.c \
+ $(top_srcdir)/gst/rtsp-server/rtsp-server.h
+
gst_rtspserver_CFLAGS = \
+ -I$(top_srcdir)/gst/rtsp-server \
$(GST_PLUGINS_GOOD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
*/
#include <gst/check/gstcheck.h>
-#include <gst/rtsp-server/rtsp-server.h>
#include <gst/sdp/gstsdpmessage.h>
#include <stdio.h>
#include <netinet/in.h>
+#include "rtsp-server.h"
+
#define VIDEO_PIPELINE "videotestsrc ! " \
"video/x-raw,width=352,height=288 ! " \
"rtpgstpay name=pay0 pt=96"