Commit 7e3ccacc authored by Stefan Kost's avatar Stefan Kost

wavenc: remove internal copy of riff.h and use riff-library instead.

We don't use any function yet, just the structures and defines.
parent 0c35e0c4
plugin_LTLIBRARIES = libgstwavenc.la
libgstwavenc_la_SOURCES = gstwavenc.c
libgstwavenc_la_CFLAGS = $(GST_CFLAGS)
libgstwavenc_la_LIBADD = $(GST_LIBS)
libgstwavenc_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS)
libgstwavenc_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) \
-lgstriff-@GST_MAJORMINOR@ \
$(GST_LIBS)
libgstwavenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstwavenc_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = gstwavenc.h riff.h
noinst_HEADERS = gstwavenc.h
......@@ -31,7 +31,8 @@
#include <string.h>
#include "gstwavenc.h"
#include "riff.h"
#include <gst/riff/riff-media.h>
GST_DEBUG_CATEGORY_STATIC (wavenc_debug);
#define GST_CAT_DEFAULT wavenc_debug
......@@ -303,7 +304,7 @@ gst_wavenc_sink_setcaps (GstPad * pad, GstCaps * caps)
GST_WARNING_OBJECT (wavenc, "caps incomplete");
goto fail;
}
wavenc->format = GST_RIFF_WAVE_FORMAT_FLOAT;
wavenc->format = GST_RIFF_WAVE_FORMAT_IEEE_FLOAT;
wavenc->width = width;
} else if (strcmp (name, "audio/x-alaw") == 0) {
wavenc->format = GST_RIFF_WAVE_FORMAT_ALAW;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment