Commit f43648f8 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Move some things around so that the library is useful without GStreamer; needs more work


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent a04d7c35
......@@ -25,7 +25,6 @@
#include <glib-object.h>
#include <gio/gio.h>
#include <gst/gst.h>
G_BEGIN_DECLS
......@@ -69,8 +68,10 @@ enum {
GInputStream* dmap_gst_input_stream_new (const gchar *transcode_mimetype, GInputStream *src_stream);
/* FIXME: this prototype was moved to the specific implementations in order to make this header file work without GStreamer installed:
void dmap_gst_input_stream_new_buffer_cb (GstElement *element,
DMAPGstInputStream *stream);
*/
gchar *dmapd_input_stream_strdup_format_extension (const gint format_code);
......
......@@ -37,6 +37,10 @@ struct DMAPGstMP3InputStreamPrivate {
GstElement *sink;
};
/* FIXME: See note in dmap-gst-input-stream.h */
void dmap_gst_input_stream_new_buffer_cb (GstElement *element,
DMAPGstInputStream *stream);
static void
new_decoded_pad_cb (GstElement *element,
GstPad *pad,
......
......@@ -38,6 +38,10 @@ struct DMAPGstWAVInputStreamPrivate {
GstElement *sink;
};
/* FIXME: See note in dmap-gst-input-stream.h */
void dmap_gst_input_stream_new_buffer_cb (GstElement *element,
DMAPGstInputStream *stream);
static void
new_decoded_pad_cb (GstElement *element,
GstPad *pad,
......
......@@ -19,6 +19,7 @@
*/
#include <string.h>
#include <gst/gst.h>
#include "dmap-gst-input-stream.h"
......
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