mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10: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
ce608897ab
commit
a5427b4482
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue