Hook into build system after moving history.
https://bugzilla.gnome.org/show_bug.cgi?id=756282
AG_GST_PKG_CHECK_MODULES(OGG, ogg >= 1.0)
])
+dnl *** Opus ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_OPUS, true)
+AG_GST_CHECK_FEATURE(OPUS, [opus], opus, [
+ PKG_CHECK_MODULES(OPUS, opus >= 0.9.4, [
+ AC_DEFINE([HAVE_OPUS], 1, [Define if Opus >= 0.9.4 is installed])
+ HAVE_OPUS="yes"
+ ], [
+ HAVE_OPUS="no"
+ ])
+ AC_SUBST(OPUS_CFLAGS)
+ AC_SUBST(OPUS_LIBS)
+])
+
dnl *** pango ***
translit(dnm, m, l) AM_CONDITIONAL(USE_PANGO, true)
AG_GST_CHECK_FEATURE(PANGO, [Pango font rendering], pango, [
AM_CONDITIONAL(USE_IVORBIS, false)
AM_CONDITIONAL(USE_LIBVISUAL, false)
AM_CONDITIONAL(USE_OGG, false)
+AM_CONDITIONAL(USE_OPUS, false)
AM_CONDITIONAL(USE_PANGO, false)
AM_CONDITIONAL(USE_THEORA, false)
AM_CONDITIONAL(USE_VORBIS, false)
ext/cdparanoia/Makefile
ext/libvisual/Makefile
ext/ogg/Makefile
+ext/opus/Makefile
ext/pango/Makefile
ext/theora/Makefile
ext/vorbis/Makefile
OGG_DIR=
endif
+if USE_OPUS
+OPUS_DIR=opus
+else
+OPUS_DIR=
+endif
+
if USE_PANGO
PANGO_DIR = pango
else
$(CDPARANOIA_DIR) \
$(LIBVISUAL_DIR) \
$(OGG_DIR) \
+ $(OPUS_DIR) \
$(PANGO_DIR) \
$(THEORA_DIR) \
$(VORBIS_DIR)
cdparanoia \
libvisual \
ogg \
+ opus \
pango \
theora \
vorbis
plugin_LTLIBRARIES = libgstopus.la
-libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c gstopusparse.c gstopusheader.c gstopuscommon.c gstrtpopuspay.c gstrtpopusdepay.c
+libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c gstopusheader.c gstopuscommon.c
libgstopus_la_CFLAGS = \
-DGST_USE_UNSTABLE_API \
$(GST_PLUGINS_BAD_CFLAGS) \
$(GST_CFLAGS) \
$(OPUS_CFLAGS)
libgstopus_la_LIBADD = \
- $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \
- -lgsttag-$(GST_API_VERSION) -lgstrtp-$(GST_API_VERSION) \
- -lgstpbutils-$(GST_API_VERSION) \
+ $(top_builddir)/gst-libs/gst/tag/libgsttag-$(GST_API_VERSION).la \
+ $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-$(GST_API_VERSION).la \
+ $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_API_VERSION).la \
$(GST_BASE_LIBS) \
$(GST_LIBS) \
$(OPUS_LIBS)
libgstopus_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM)
libgstopus_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
-noinst_HEADERS = gstopusenc.h gstopusdec.h gstopusparse.h gstopusheader.h gstopuscommon.h gstrtpopuspay.h gstrtpopusdepay.h
+noinst_HEADERS = gstopusenc.h gstopusdec.h gstopusheader.h gstopuscommon.h
#include "gstopusdec.h"
#include "gstopusenc.h"
-#include "gstopusparse.h"
-
-#include "gstrtpopuspay.h"
-#include "gstrtpopusdepay.h"
#include <gst/tag/tag.h>
GST_TYPE_OPUS_DEC))
return FALSE;
- if (!gst_element_register (plugin, "opusparse", GST_RANK_NONE,
- GST_TYPE_OPUS_PARSE))
- return FALSE;
-
- if (!gst_element_register (plugin, "rtpopusdepay", GST_RANK_SECONDARY,
- GST_TYPE_RTP_OPUS_DEPAY))
- return FALSE;
-
- if (!gst_element_register (plugin, "rtpopuspay", GST_RANK_SECONDARY,
- GST_TYPE_RTP_OPUS_PAY))
- return FALSE;
-
gst_tag_register_musicbrainz_tags ();
return TRUE;
check_ogg =
endif
+if USE_OPUS
+check_opus = elements/opus
+else
+check_opus =
+endif
+
if USE_PANGO
check_pango = elements/textoverlay
else
$(check_encodebin) \
$(check_gio) \
$(check_ogg) \
+ $(check_opus) \
$(check_pango) \
$(check_playback) \
$(check_subparse) \
libvisual
multifdsink
multisocketsink
+opus
videorate
videotestsrc
volume
playbin
playbin-compressed
playbin-complex
+playsink
streamsynchronizer
subparse