2001-12-23 17:27:58 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 2001 Steve Baker <stevebaker_org@yahoo.co.uk>
|
|
|
|
*
|
|
|
|
* gstcontrol.c: GStreamer control utility library
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2004-03-13 15:27:01 +00:00
|
|
|
|
2003-06-29 14:05:49 +00:00
|
|
|
#include <gst/gst.h>
|
|
|
|
|
2002-05-02 13:41:07 +00:00
|
|
|
#include "control.h"
|
2001-12-23 17:27:58 +00:00
|
|
|
|
2004-03-13 15:27:01 +00:00
|
|
|
GST_DEBUG_CATEGORY (_gst_control_debug);
|
2004-07-02 13:24:33 +00:00
|
|
|
#define GST_CAT_DEFAULT _gst_control_debug
|
2003-06-29 14:05:49 +00:00
|
|
|
|
2004-07-21 11:32:09 +00:00
|
|
|
/**
|
|
|
|
* gst_control_init:
|
|
|
|
* @argc: pointer to application's argc
|
|
|
|
* @argv: pointer to application's argv
|
|
|
|
*
|
|
|
|
* Initializes the GStreamer control library, registering modes and units
|
|
|
|
*/
|
2001-12-23 17:27:58 +00:00
|
|
|
void
|
2004-03-13 15:27:01 +00:00
|
|
|
gst_control_init (int *argc, char **argv[])
|
|
|
|
{
|
|
|
|
GST_DEBUG_CATEGORY_INIT (_gst_control_debug, "control", 0, "libgstcontrol");
|
|
|
|
_gst_dpman_initialize ();
|
|
|
|
_gst_unitconv_initialize ();
|
2002-03-24 20:55:45 +00:00
|
|
|
}
|