From 696e1c9ab834f00128d0de7260eb8b3b69ef76fd Mon Sep 17 00:00:00 2001 From: Alex Moreno Date: Wed, 6 May 2015 10:52:26 +0800 Subject: [PATCH] playback/player: android: fixed compilation error --- playback/player/android/jni/Android.mk | 1 + playback/player/android/jni/player.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/playback/player/android/jni/Android.mk b/playback/player/android/jni/Android.mk index 19250098ce..fe4d50aaa8 100644 --- a/playback/player/android/jni/Android.mk +++ b/playback/player/android/jni/Android.mk @@ -4,6 +4,7 @@ include $(CLEAR_VARS) LOCAL_MODULE := gstplayer LOCAL_SRC_FILES := player.c ../../lib/gst/player/gstplayer.c ../../lib/gst/player/gstplayer-media-info.c +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../lib LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -llog -landroid include $(BUILD_SHARED_LIBRARY) diff --git a/playback/player/android/jni/player.c b/playback/player/android/jni/player.c index f9fcaeab9a..8670b17d61 100644 --- a/playback/player/android/jni/player.c +++ b/playback/player/android/jni/player.c @@ -25,7 +25,7 @@ #include #include -#include "../../lib/gst/player/gstplayer.h" +#include "gst/player/gstplayer.h" GST_DEBUG_CATEGORY_STATIC (debug_category); #define GST_CAT_DEFAULT debug_category