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) GST_PLUGIN_PATH=$(shell cd $(top_builddir) && pwd)
$(TESTS): #$(TESTS):
@echo -e '\nrunning gst-register...\n' # @echo -e '\nrunning gst-register...\n'
$(GST_TOOLS_DIR)/gst-register --gst-plugin-path=$(GST_PLUGIN_PATH) # $(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) .PHONY: $(TESTS)

View file

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

View file

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

View file

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

View file

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

View file

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