compilation fixes

Original commit message from CVS:
compilation fixes
This commit is contained in:
David Schleef 2003-10-13 23:29:42 +00:00
parent ec41842698
commit 7c57e02dcd
6 changed files with 14 additions and 12 deletions

View file

@ -9,10 +9,10 @@ DIST_SUBDIRS=autoplug spider alsa
GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)
$(TESTS):
@echo -e '\nrunning gst-register...\n'
$(GST_TOOLS_DIR)/gst-register --gst-plugin-path=$(GST_PLUGIN_PATH)
#$(TESTS):
# @echo -e '\nrunning gst-register...\n'
# $(GST_TOOLS_DIR)/gst-register --gst-plugin-path=$(GST_PLUGIN_PATH)
TESTS=$(GST_TOOLS_DIR)/gst-compprep
#TESTS=$(GST_TOOLS_DIR)/gst-compprep
.PHONY: $(TESTS)

View file

@ -1,6 +1,6 @@
testprogs = formats state
TESTS = $(testprogs)
TESTS =
check_PROGRAMS = $(testprogs)

View file

@ -136,6 +136,7 @@ sinesrc_force_caps (SineSrc *src) {
);
break;
default:
caps = NULL;
g_assert_not_reached();
}
gst_props_add_entry (gst_caps_get_props (caps),
@ -292,7 +293,7 @@ sinesrc_get (GstPad *pad)
if (src->newcaps) {
sinesrc_force_caps(src);
}
return buf;
return GST_DATA(buf);
}
GstElement *

View file

@ -9,10 +9,10 @@ DIST_SUBDIRS=autoplug spider alsa
GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)
$(TESTS):
@echo -e '\nrunning gst-register...\n'
$(GST_TOOLS_DIR)/gst-register --gst-plugin-path=$(GST_PLUGIN_PATH)
#$(TESTS):
# @echo -e '\nrunning gst-register...\n'
# $(GST_TOOLS_DIR)/gst-register --gst-plugin-path=$(GST_PLUGIN_PATH)
TESTS=$(GST_TOOLS_DIR)/gst-compprep
#TESTS=$(GST_TOOLS_DIR)/gst-compprep
.PHONY: $(TESTS)

View file

@ -1,6 +1,6 @@
testprogs = formats state
TESTS = $(testprogs)
TESTS =
check_PROGRAMS = $(testprogs)

View file

@ -136,6 +136,7 @@ sinesrc_force_caps (SineSrc *src) {
);
break;
default:
caps = NULL;
g_assert_not_reached();
}
gst_props_add_entry (gst_caps_get_props (caps),
@ -292,7 +293,7 @@ sinesrc_get (GstPad *pad)
if (src->newcaps) {
sinesrc_force_caps(src);
}
return buf;
return GST_DATA(buf);
}
GstElement *