playback/player: android: Fix compilation

This commit is contained in:
Sebastian Dröge 2015-12-22 12:08:53 +01:00
parent af371bf38e
commit 8ccf31fcf9
2 changed files with 11 additions and 2 deletions

View file

@ -3,7 +3,16 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := gstplayer
LOCAL_SRC_FILES := player.c ../../lib/gst/player/gstplayer.c ../../lib/gst/player/gstplayer-media-info.c
LOCAL_SRC_FILES := \
player.c \
../../lib/gst/player/gstplayer.c \
../../lib/gst/player/gstplayer-signal-dispatcher.c \
../../lib/gst/player/gstplayer-video-renderer.c \
../../lib/gst/player/gstplayer-media-info.c \
../../lib/gst/player/gstplayer-g-main-context-signal-dispatcher.c \
../../lib/gst/player/gstplayer-video-overlay-video-renderer.c \
../../lib/gst/player/gstplayer-visualization.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../lib
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog -landroid

View file

@ -25,7 +25,7 @@
#include <android/native_window.h>
#include <android/native_window_jni.h>
#include "gst/player/gstplayer.h"
#include "gst/player/player.h"
GST_DEBUG_CATEGORY_STATIC (debug_category);
#define GST_CAT_DEFAULT debug_category