#include <locale.h> /* for LC_ALL */
#include "ges-launcher.h"
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
-int
-main (int argc, gchar ** argv)
+static int
+real_main (int argc, gchar ** argv)
{
GESLauncher *launcher;
gint ret;
return ret;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <glib-unix.h>
#endif
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
static const gchar *HELP_SUMMARY =
"gst-transcoder-1.0 transcodes a stream defined by its first <input-uri>\n"
"argument to the place defined by its second <output-uri> argument\n"
warn ("Got warning: %s", error->message);
}
-int
-main (int argc, char *argv[])
+static int
+real_main (int argc, char *argv[])
{
gint res = 0;
GError *err = NULL;
goto done;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <stdio.h>
#include <string.h>
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
GST_DEBUG_CATEGORY (devmon_debug);
#define GST_CAT_DEFAULT devmon_debug
return G_SOURCE_REMOVE;
}
-int
-main (int argc, char **argv)
+static int
+real_main (int argc, char **argv)
{
gboolean print_version = FALSE;
GError *err = NULL;
return 0;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <gst/pbutils/pbutils.h>
#include <gst/audio/audio.h>
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
#define MAX_INDENT 40
/* *INDENT-OFF* */
g_main_loop_quit (ml);
}
-int
-main (int argc, char **argv)
+static int
+real_main (int argc, char **argv)
{
GError *err = NULL;
GstDiscoverer *dc;
return 0;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <mmsystem.h>
#endif
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
#include "gst-play-kb.h"
#define VOLUME_STEPS 20
}
#endif
-int
-main (int argc, char **argv)
+static int
+real_main (int argc, char **argv)
{
GstPlay *play;
GPtrArray *playlist;
gst_deinit ();
return 0;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <io.h>
#endif
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
/* "R" : support color
* "X" : do not clear the screen when leaving the pager
* "F" : skip the pager if content fit into the screen
return FALSE;
}
-int
-main (int argc, char *argv[])
+static int
+real_main (int argc, char *argv[])
{
gboolean print_all = FALSE;
gboolean do_print_blacklist = FALSE;
return exit_code;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <mmsystem.h>
#endif
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
extern volatile gboolean glib_on_error_halt;
#ifdef G_OS_UNIX
}
#endif
-int
-main (int argc, char *argv[])
+static int
+real_main (int argc, char *argv[])
{
/* options */
gboolean verbose = FALSE;
return last_launch_code;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}
#include <string.h>
#include <locale.h>
+#ifdef __APPLE__
+#include <TargetConditionals.h>
+#endif
+
#include "tools.h"
static void
gst_object_unref (pipeline);
}
-int
-main (int argc, char *argv[])
+static int
+real_main (int argc, char *argv[])
{
gchar **filenames = NULL;
guint num, i;
return 0;
}
+
+int
+main (int argc, char *argv[])
+{
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ return gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ return real_main (argc, argv);
+#endif
+}