mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
timeline: Create a debug logging category for the timeline
This commit is contained in:
parent
4c28e59046
commit
5a29478c2d
1 changed files with 7 additions and 0 deletions
|
@ -49,6 +49,10 @@ static inline void init_movecontext (MoveContext * mv_ctx);
|
|||
|
||||
G_DEFINE_TYPE (GESTimeline, ges_timeline, GST_TYPE_BIN);
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (ges_timeline_debug);
|
||||
#undef GST_CAT_DEFAULT
|
||||
#define GST_CAT_DEFAULT ges_timeline_debug
|
||||
|
||||
#define GES_TIMELINE_PENDINGOBJS_GET_LOCK(timeline) \
|
||||
(GES_TIMELINE(timeline)->priv->pendingobjects_lock)
|
||||
#define GES_TIMELINE_PENDINGOBJS_LOCK(timeline) \
|
||||
|
@ -396,6 +400,9 @@ ges_timeline_init (GESTimeline * self)
|
|||
{
|
||||
GESTimelinePrivate *priv;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (ges_timeline_debug, "gestimeline",
|
||||
GST_DEBUG_FG_YELLOW, "ges timeline");
|
||||
|
||||
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
|
||||
GES_TYPE_TIMELINE, GESTimelinePrivate);
|
||||
|
||||
|
|
Loading…
Reference in a new issue