mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
tests/examples/transition.c: print values in seconds not nseconds
This commit is contained in:
parent
998ae5af20
commit
a025040ed6
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ print_transition_data (GESTimelineObject * tr)
|
|||
|
||||
g_object_get (gnlobj, "start", &start, "duration", &duration,
|
||||
"priority", &priority, "name", &name, NULL);
|
||||
g_print ("gnlobject for %s: %ld %ld %d\n", name, start, duration, priority);
|
||||
g_print ("gnlobject for %s: %f %f %d\n", name,
|
||||
((gfloat) start) / GST_SECOND,
|
||||
((gfloat) duration) / GST_SECOND, priority);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue