A very simple element that parses Opus streams from the ad hoc
framing used by the Opus test vectors.
plugin_LTLIBRARIES = libgstopus.la
-libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c
+libgstopus_la_SOURCES = gstopus.c gstopusdec.c gstopusenc.c gstopusparse.c
libgstopus_la_CFLAGS = \
-DGST_USE_UNSTABLE_API \
$(GST_PLUGINS_BASE_CFLAGS) \
libgstopus_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(LIBM)
libgstopus_la_LIBTOOLFLAGS = --tag=disable-static
-noinst_HEADERS = gstopusenc.h gstopusdec.h
+noinst_HEADERS = gstopusenc.h gstopusdec.h gstopusparse.h
#include "gstopusdec.h"
#include "gstopusenc.h"
+#include "gstopusparse.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;
+
gst_tag_register_musicbrainz_tags ();
return TRUE;