mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Shorten GES_FORMAT output
This commit is contained in:
parent
430719d172
commit
957d9a01fe
2 changed files with 16 additions and 4 deletions
|
@ -57,10 +57,10 @@ GST_DEBUG_CATEGORY_EXTERN (_ges_debug);
|
|||
#define _set_priority0 ges_timeline_element_set_priority
|
||||
|
||||
#define GES_TIMELINE_ELEMENT_FORMAT \
|
||||
"s:%p" \
|
||||
" start: %" GST_TIME_FORMAT \
|
||||
" inpoint: %" GST_TIME_FORMAT \
|
||||
" duration: %" GST_TIME_FORMAT
|
||||
"s<%p>" \
|
||||
" [ %" GST_TIME_FORMAT \
|
||||
" (%" GST_TIME_FORMAT \
|
||||
") - %" GST_TIME_FORMAT "]"
|
||||
|
||||
#define GES_TIMELINE_ELEMENT_ARGS(element) \
|
||||
GES_TIMELINE_ELEMENT_NAME(element), element, \
|
||||
|
|
|
@ -96,4 +96,16 @@ G_STMT_START { \
|
|||
gst_object_unref (tmplayer); \
|
||||
}
|
||||
|
||||
#define GES_TIMELINE_ELEMENT_FORMAT \
|
||||
"s<%p>" \
|
||||
" [ %" GST_TIME_FORMAT \
|
||||
" (%" GST_TIME_FORMAT \
|
||||
") - %" GST_TIME_FORMAT "]"
|
||||
|
||||
#define GES_TIMELINE_ELEMENT_ARGS(element) \
|
||||
GES_TIMELINE_ELEMENT_NAME(element), element, \
|
||||
GST_TIME_ARGS(GES_TIMELINE_ELEMENT_START(element)), \
|
||||
GST_TIME_ARGS(GES_TIMELINE_ELEMENT_INPOINT(element)), \
|
||||
GST_TIME_ARGS(GES_TIMELINE_ELEMENT_DURATION(element))
|
||||
|
||||
#endif /* _GES_TEST_UTILS */
|
||||
|
|
Loading…
Reference in a new issue