Some minor compilation fixes...

Original commit message from CVS:
Some minor compilation fixes...
This commit is contained in:
Erik Walthinsen 2000-12-17 04:54:57 +00:00
parent c6ac8a0f6b
commit 4e1875f826
4 changed files with 6 additions and 11 deletions

View file

@ -593,14 +593,6 @@ gst_bin_src_wrapper (int argc,char *argv[])
}
/*
static void
gst_bin_pullfunc_proxy (GstPad *pad)
{
DEBUG_ENTER("(%s:%s)",GST_DEBUG_PAD_NAME(pad));
cothread_switch (GST_ELEMENT(pad->parent)->threadstate);
}
*/
static void
gst_bin_pullregionfunc_proxy (GstPad *pad,
gulong offset,

View file

@ -64,13 +64,11 @@ extern "C" {
typedef enum {
GST_BUFFER_READONLY = GST_OBJECT_FLAG_LAST,
GST_BUFFER_READONLY,
GST_BUFFER_ORIGINAL,
GST_BUFFER_DONTFREE,
GST_BUFFER_FLUSH,
GST_BUFFER_EOS,
GST_BUFFER_FLAG_LAST = GST_OBJECT_FLAG_LAST + 8,
} GstBufferFlags;

View file

@ -21,6 +21,8 @@
#ifndef __GSTDEBUG_H__
#define __GSTDEBUG_H__
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

View file

@ -1,11 +1,14 @@
#include <gst/gst.h>
extern gboolean _gst_plugin_spew;
int main(int argc,char *argv[])
{
xmlDocPtr doc;
unlink("/etc/gstreamer/reg.xml");
_gst_plugin_spew = TRUE;
gst_init(&argc,&argv);
doc = xmlNewDoc("1.0");