2
* Copyright © 2011 David King <amigadave@amigadave.com>
4
* Licensed under the GNU General Public License Version 2
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
#include <clutter-gst/clutter-gst.h>
26
* @short_description: Initialize libcheese
27
* @stability: Unstable
28
* @include: cheese/cheese.h
30
* Call cheese_init() to initialize libcheese.
36
* @argc: pointer to the argument list count
37
* @argv: pointer to the argument list vector
39
* Initialize libcheese, by initializing Clutter and GStreamer.
41
* Returns: %TRUE if the initialization was successful, %FALSE otherwise
44
cheese_init (int *argc, char ***argv)
46
ClutterInitError error;
48
error = clutter_gst_init (argc, argv);
50
if (error != CLUTTER_INIT_SUCCESS)