mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Have unit test get header from source dir, not installed dir
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
This commit is contained in:
parent
217a46e4c1
commit
4743624bb5
2 changed files with 6 additions and 1 deletions
|
@ -41,7 +41,11 @@ LDADD = $(GST_LIBS) $(GST_CHECK_LIBS) $(GST_RTSP_SERVER_LIBS)
|
|||
|
||||
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) \
|
||||
|
|
|
@ -22,12 +22,13 @@
|
|||
*/
|
||||
|
||||
#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"
|
||||
|
|
Loading…
Reference in a new issue