diff options
Diffstat (limited to 'gst/playondemand')
-rw-r--r-- | gst/playondemand/demo-mp3.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/playondemand/demo-mp3.c b/gst/playondemand/demo-mp3.c index d0264060..8296fd00 100644 --- a/gst/playondemand/demo-mp3.c +++ b/gst/playondemand/demo-mp3.c @@ -3,12 +3,12 @@ void play (GtkButton *button, gpointer data) { - g_signal_emit_by_name(G_OBJECT(data), "play"); + g_signal_emit_by_name(G_OBJECT(data), "play", NULL, NULL); } void reset (GtkButton *button, gpointer data) { - g_signal_emit_by_name(G_OBJECT(data), "reset"); + g_signal_emit_by_name(G_OBJECT(data), "reset", NULL, NULL); } int main(int argc, char **argv) @@ -75,4 +75,6 @@ int main(int argc, char **argv) gtk_idle_add((GtkFunction)gst_bin_iterate, pipeline); gtk_main(); + + return 0; } |