mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
add error handler fix mixmatrix plugin filename
Original commit message from CVS: add error handler fix mixmatrix plugin filename
This commit is contained in:
parent
80fe257c59
commit
e2665a52a0
2 changed files with 4 additions and 2 deletions
|
@ -58,7 +58,7 @@ got_found_tag (GstPlay *play,GstElement *source, GstTagList *tag_list)
|
||||||
static void
|
static void
|
||||||
got_time_tick (GstPlay *play, gint64 time_nanos)
|
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
|
static void
|
||||||
|
@ -147,6 +147,8 @@ main (int argc, char *argv[])
|
||||||
G_CALLBACK (got_video_size), NULL);
|
G_CALLBACK (got_video_size), NULL);
|
||||||
g_signal_connect (G_OBJECT (play), "found_tag",
|
g_signal_connect (G_OBJECT (play), "found_tag",
|
||||||
G_CALLBACK (got_found_tag), NULL);
|
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_signal_connect (G_OBJECT (play), "eos",
|
||||||
G_CALLBACK (got_eos), NULL);
|
G_CALLBACK (got_eos), NULL);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libmixmatrix.la
|
plugin_LTLIBRARIES = libgstmixmatrix.la
|
||||||
|
|
||||||
libmixmatrix_la_SOURCES = mixmatrix.c
|
libmixmatrix_la_SOURCES = mixmatrix.c
|
||||||
libmixmatrix_la_CFLAGS = $(GST_CFLAGS)
|
libmixmatrix_la_CFLAGS = $(GST_CFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue