From e2665a52a07c4b7b88785a33a3cd3e52f0a9cc0a Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 1 Mar 2004 15:53:04 +0000 Subject: [PATCH] add error handler fix mixmatrix plugin filename Original commit message from CVS: add error handler fix mixmatrix plugin filename --- examples/gstplay/player.c | 4 +++- gst/mixmatrix/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c index dee721f931..8aabe69da5 100644 --- a/examples/gstplay/player.c +++ b/examples/gstplay/player.c @@ -58,7 +58,7 @@ got_found_tag (GstPlay *play,GstElement *source, GstTagList *tag_list) static void got_time_tick (GstPlay *play, gint64 time_nanos) { - g_print ("time tick %llu\n", time_nanos); + g_print ("time tick %f\n", time_nanos / (float) GST_SECOND); } static void @@ -147,6 +147,8 @@ main (int argc, char *argv[]) G_CALLBACK (got_video_size), NULL); g_signal_connect (G_OBJECT (play), "found_tag", G_CALLBACK (got_found_tag), NULL); + g_signal_connect (G_OBJECT (play), "error", + G_CALLBACK (gst_element_default_error), NULL); g_signal_connect (G_OBJECT (play), "eos", G_CALLBACK (got_eos), NULL); diff --git a/gst/mixmatrix/Makefile.am b/gst/mixmatrix/Makefile.am index a76905472f..54d5c62a7e 100755 --- a/gst/mixmatrix/Makefile.am +++ b/gst/mixmatrix/Makefile.am @@ -1,5 +1,5 @@ -plugin_LTLIBRARIES = libmixmatrix.la +plugin_LTLIBRARIES = libgstmixmatrix.la libmixmatrix_la_SOURCES = mixmatrix.c libmixmatrix_la_CFLAGS = $(GST_CFLAGS)