mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
adding Ronald's timestamp debug defines
Original commit message from CVS: adding Ronald's timestamp debug defines
This commit is contained in:
parent
6572589d22
commit
d1f07374c3
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstinfo.h: adding Ronald's timestamp debugging defines
|
||||||
|
|
||||||
2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* testsuite/elements/Makefile.am:
|
* testsuite/elements/Makefile.am:
|
||||||
|
|
|
@ -521,6 +521,14 @@ G_CONST_RETURN gchar*
|
||||||
|
|
||||||
void gst_debug_print_stack_trace (void);
|
void gst_debug_print_stack_trace (void);
|
||||||
|
|
||||||
|
/* timestamp debugging macros */
|
||||||
|
#define GST_TIME_FORMAT "%u:%02u:%02u:%09u"
|
||||||
|
#define GST_TIME_ARGS(t) \
|
||||||
|
(guint) (t / (GST_SECOND * 60 * 60)), \
|
||||||
|
(guint) ((t / (GST_SECOND * 60)) % 60), \
|
||||||
|
(guint) ((t / GST_SECOND) % 60), \
|
||||||
|
(guint) (t % GST_SECOND)
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GSTINFO_H__ */
|
#endif /* __GSTINFO_H__ */
|
||||||
|
|
Loading…
Reference in a new issue