+
+int
+main (int argc, char *argv[])
+{
+ int ret;
+
+ /* gstinspect.c calls this function */
+#if defined(G_OS_WIN32) && !defined(GST_CHECK_MAIN)
+ argv = g_win32_get_command_line ();
+#endif
+
+#if defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE
+ ret = gst_macos_main ((GstMainFunc) real_main, argc, argv, NULL);
+#else
+ ret = real_main (argc, argv);
+#endif
+
+#if defined(G_OS_WIN32) && !defined(GST_CHECK_MAIN)
+ g_strfreev (argv);
+#endif
+
+ return ret;
+}