mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
docs/manual/advanced-position.xml: Fix typo in sample code.
Original commit message from CVS: * docs/manual/advanced-position.xml: Fix typo in sample code.
This commit is contained in:
parent
b1cb4a633c
commit
422f85898c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* docs/manual/advanced-position.xml:
|
||||||
|
Fix typo in sample code.
|
||||||
|
|
||||||
2006-09-05 Wim Taymans <wim@fluendo.com>
|
2006-09-05 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* libs/gst/net/gstnetclientclock.c: (inet_aton),
|
* libs/gst/net/gstnetclientclock.c: (inet_aton),
|
||||||
|
|
|
@ -82,7 +82,7 @@ cb_print_position (GstElement *pipeline)
|
||||||
gint64 pos, len;
|
gint64 pos, len;
|
||||||
|
|
||||||
if (gst_element_query_position (pipeline, &fmt, &pos)
|
if (gst_element_query_position (pipeline, &fmt, &pos)
|
||||||
& & gst_element_query_duration (pipeline, &fmt, &len)) {
|
&& gst_element_query_duration (pipeline, &fmt, &len)) {
|
||||||
g_print ("Time: %" GST_TIME_FORMAT " / %" GST_TIME_FORMAT "\r",
|
g_print ("Time: %" GST_TIME_FORMAT " / %" GST_TIME_FORMAT "\r",
|
||||||
GST_TIME_ARGS (pos), GST_TIME_ARGS (len));
|
GST_TIME_ARGS (pos), GST_TIME_ARGS (len));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue