mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
docs/random/ds/0.9-suggested-changes: more comments
Original commit message from CVS: * docs/random/ds/0.9-suggested-changes: more comments * tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
This commit is contained in:
parent
9574c7851f
commit
23d19ce876
3 changed files with 34 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-07-22 David Schleef <ds@schleef.org>
|
||||
|
||||
* docs/random/ds/0.9-suggested-changes: more comments
|
||||
* tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
|
||||
|
||||
2004-07-22 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/gstelementfactory.c: (gst_element_register):
|
||||
|
|
|
@ -69,6 +69,12 @@ API:
|
|||
so that you can search a GstPlay for an element implementing the interface
|
||||
(right now gstplay has added a gst_play_get_by_interface)
|
||||
|
||||
- make multichannel properties on audio caps manditory
|
||||
|
||||
- talk to vektor about various wierdness with NTSC video (combinations of
|
||||
24 fps pulled down to 60 and straight video, etc) and make sure our
|
||||
video stream descriptions make sense.
|
||||
|
||||
- rename GST_TYPE_FIXED_LIST to GST_TYPE_ARRAY
|
||||
|
||||
caps:
|
||||
|
|
|
@ -87,11 +87,30 @@ idle_func (gpointer data)
|
|||
|
||||
if (!busy || caught_intr || (max_iterations > 0
|
||||
&& iterations >= max_iterations)) {
|
||||
char *s_iterations;
|
||||
char *s_sum;
|
||||
char *s_ave;
|
||||
char *s_min;
|
||||
char *s_max;
|
||||
|
||||
gst_main_quit ();
|
||||
g_print (_("Execution ended after %" G_GUINT64_FORMAT " iterations (sum %"
|
||||
G_GUINT64_FORMAT " ns, average %" G_GUINT64_FORMAT " ns, min %"
|
||||
G_GUINT64_FORMAT " ns, max %" G_GUINT64_FORMAT " ns).\n"),
|
||||
iterations, sum, sum / iterations, min, max);
|
||||
|
||||
/* We write these all to strings first because
|
||||
* G_GUINT64_FORMAT and gettext mix very poorly */
|
||||
s_iterations = g_strdup_printf ("%" G_GUINT64_FORMAT, iterations);
|
||||
s_sum = g_strdup_printf ("%" G_GUINT64_FORMAT, sum);
|
||||
s_ave = g_strdup_printf ("%" G_GUINT64_FORMAT, sum / iterations);
|
||||
s_min = g_strdup_printf ("%" G_GUINT64_FORMAT, min);
|
||||
s_max = g_strdup_printf ("%" G_GUINT64_FORMAT, max);
|
||||
|
||||
g_print (_("Execution ended after %s iterations (sum %s ns, "
|
||||
"average %s ns, min %s ns, max %s ns).\n"),
|
||||
s_iterations, s_sum, s_ave, s_min, s_max);
|
||||
g_free (s_iterations);
|
||||
g_free (s_sum);
|
||||
g_free (s_ave);
|
||||
g_free (s_min);
|
||||
g_free (s_max);
|
||||
}
|
||||
|
||||
return busy;
|
||||
|
|
Loading…
Reference in a new issue