summaryrefslogtreecommitdiffstats
path: root/gst/speed
diff options
context:
space:
mode:
Diffstat (limited to 'gst/speed')
-rw-r--r--gst/speed/demo-mp3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/speed/demo-mp3.c b/gst/speed/demo-mp3.c
index 67650811..d4e19489 100644
--- a/gst/speed/demo-mp3.c
+++ b/gst/speed/demo-mp3.c
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
gtk_object_set(GTK_OBJECT(osssink), "fragment", 0x00180008, NULL);
gtk_signal_connect(GTK_OBJECT(gtk_range_get_adjustment(GTK_RANGE(hscale))),
- "value_changed", set_speed, speed);
+ "value_changed", G_CALLBACK (set_speed), speed);
pipeline = gst_pipeline_new("app");
gst_bin_add(GST_BIN(pipeline), filesrc);
@@ -64,4 +64,6 @@ int main(int argc, char **argv)
gtk_idle_add((GtkFunction)gst_bin_iterate, pipeline);
gtk_main();
+
+ return 0;
}