bluez: Add avdtpsrc/a2dpsrc to build

This commit is contained in:
Arun Raghavan 2013-03-14 13:09:15 +05:30
parent a3c8c0aed2
commit adc9d39710
2 changed files with 14 additions and 2 deletions

View file

@ -3,7 +3,10 @@ plugin_LTLIBRARIES = libgstbluez.la
libgstbluez_la_SOURCES = \
bluez-plugin.c \
gsta2dpsink.c \
gstavdtpsink.c
gstavdtpsink.c \
gsta2dpsrc.c \
gstavdtpsrc.c \
gstavdtputil.c
libgstbluez_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
@ -23,4 +26,7 @@ libgstbluez_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \
a2dp-codecs.h \
gsta2dpsink.h \
gstavdtpsink.h
gstavdtpsink.h \
gsta2dpsrc.h \
gstavdtpsrc.h \
gstavdtputil.h

View file

@ -24,6 +24,8 @@
#include "gsta2dpsink.h"
#include "gstavdtpsink.h"
#include "gsta2dpsrc.h"
#include "gstavdtpsrc.h"
#include <string.h>
static gboolean
@ -34,6 +36,10 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "avdtpsink",
GST_RANK_NONE, GST_TYPE_AVDTP_SINK);
gst_element_register (plugin, "a2dpsrc", GST_RANK_NONE, GST_TYPE_A2DP_SRC);
gst_element_register (plugin, "avdtpsrc", GST_RANK_NONE, GST_TYPE_AVDTP_SRC);
return TRUE;
}