2010-04-20 11:08:27 +00:00
|
|
|
/* GStreamer Editing Services
|
|
|
|
* Copyright (C) 2010 Edward Hervey <bilboed@bilboed.com>
|
|
|
|
*
|
|
|
|
* 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
|
2012-11-04 00:25:20 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2010-04-20 11:08:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
2013-06-17 05:55:54 +00:00
|
|
|
#include <locale.h> /* for LC_ALL */
|
2015-03-24 13:13:54 +00:00
|
|
|
#include "ges-launcher.h"
|
2015-02-19 07:51:20 +00:00
|
|
|
|
2015-02-26 12:19:25 +00:00
|
|
|
|
2010-04-20 11:08:27 +00:00
|
|
|
int
|
|
|
|
main (int argc, gchar ** argv)
|
|
|
|
{
|
2015-03-24 13:13:54 +00:00
|
|
|
GESLauncher *launcher;
|
|
|
|
gint ret;
|
2014-10-30 11:38:16 +00:00
|
|
|
|
2013-06-17 05:55:54 +00:00
|
|
|
setlocale (LC_ALL, "");
|
|
|
|
|
2015-03-24 13:13:54 +00:00
|
|
|
launcher = ges_launcher_new ();
|
2014-10-30 11:38:16 +00:00
|
|
|
|
2015-03-24 13:13:54 +00:00
|
|
|
ret = g_application_run (G_APPLICATION (launcher), argc, argv);
|
2016-06-29 00:39:02 +00:00
|
|
|
|
|
|
|
if (!ret)
|
|
|
|
ret = ges_launcher_get_exit_status (launcher);
|
|
|
|
|
|
|
|
g_object_unref (launcher);
|
2016-11-30 12:53:21 +00:00
|
|
|
gst_deinit ();
|
2016-06-29 00:39:02 +00:00
|
|
|
|
|
|
|
return ret;
|
2010-04-20 11:08:27 +00:00
|
|
|
}
|