2009-08-06 09:23:01 +00:00
|
|
|
/* GStreamer Editing Services
|
2009-11-30 14:14:25 +00:00
|
|
|
* Copyright (C) 2009 Edward Hervey <edward.hervey@collabora.co.uk>
|
|
|
|
* 2009 Nokia Corporation
|
2009-08-06 09:23:01 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <ges/ges.h>
|
2010-06-08 16:36:37 +00:00
|
|
|
#include <gst/controller/gstcontroller.h>
|
2009-08-06 17:51:29 +00:00
|
|
|
#include "ges-internal.h"
|
2009-08-06 09:23:01 +00:00
|
|
|
|
|
|
|
GST_DEBUG_CATEGORY (ges_debug);
|
|
|
|
|
2009-09-10 16:40:51 +00:00
|
|
|
/**
|
2009-11-12 19:11:28 +00:00
|
|
|
* SECTION:ges-common
|
2009-09-10 16:40:51 +00:00
|
|
|
* @short_description: Initialization.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ges_init:
|
|
|
|
*
|
|
|
|
* Initialize the GStreamer Editing Service. Call this before any usage of
|
|
|
|
* GES.
|
|
|
|
*/
|
|
|
|
|
2009-08-06 09:23:01 +00:00
|
|
|
void
|
|
|
|
ges_init (void)
|
|
|
|
{
|
|
|
|
/* initialize debugging category */
|
|
|
|
GST_DEBUG_CATEGORY_INIT (ges_debug, "ges", GST_DEBUG_FG_YELLOW,
|
|
|
|
"GStreamer Editing Services");
|
2010-06-08 16:36:37 +00:00
|
|
|
gst_controller_init (NULL, NULL);
|
2009-08-07 14:46:35 +00:00
|
|
|
|
2010-09-23 13:49:04 +00:00
|
|
|
/* register timeline object classes with the system */
|
|
|
|
|
|
|
|
GES_TYPE_TIMELINE_TEST_SOURCE;
|
|
|
|
GES_TYPE_TIMELINE_FILE_SOURCE;
|
|
|
|
GES_TYPE_TIMELINE_TITLE_SOURCE;
|
|
|
|
GES_TYPE_TIMELINE_TRANSITION;
|
|
|
|
GES_TYPE_TIMELINE_OVERLAY;
|
|
|
|
|
|
|
|
/* TODO: user-defined types? */
|
|
|
|
|
2009-08-07 14:46:35 +00:00
|
|
|
GST_DEBUG ("GStreamer Editing Services initialized");
|
2009-08-06 09:23:01 +00:00
|
|
|
}
|