#include <gst/gst.h>
#include <gst/validate/validate.h>
#include <gst/video/video.h>
+#include <locale.h> /* for LC_ALL */
int
main (int argc, char **argv)
"The minimum 'lowest' similarity under which we consider"
"the test as failing",
NULL},
- {"result-output-folder", 'r', 0, G_OPTION_ARG_STRING,
+ {"result-output-folder", 'r', 0, G_OPTION_ARG_FILENAME,
&outfolder,
"The folder in which to store resulting grey scale images"
" when the test failed. In that folder you will find"
{NULL}
};
+ setlocale (LC_ALL, "");
+
g_set_prgname ("gst-validate-mages-check-" GST_API_VERSION);
ctx = g_option_context_new ("/reference/file/path /compared/file/path");
#include <gst/validate/media-descriptor-parser.h>
#include <gst/validate/media-descriptor.h>
#include <gst/pbutils/encoding-profile.h>
+#include <locale.h> /* for LC_ALL */
int
main (int argc, gchar ** argv)
{NULL}
};
+ setlocale (LC_ALL, "");
g_set_prgname ("gst-validate-media-check-" GST_API_VERSION);
ctx = g_option_context_new ("[URI]");
g_option_context_set_summary (ctx, "Analyzes a media file and writes "
#include <stdlib.h>
#include <string.h>
+#include <locale.h> /* for LC_ALL */
#include <gst/gst.h>
#include <gst/video/video.h>
"The presence property of the profile can be specified with |<presence>, eg:\n"
"video/webm:video/x-vp8|<presence>:audio/x-vorbis\n",
"properties-values"},
- {"set-scenario", '\0', 0, G_OPTION_ARG_STRING, &scenario,
+ {"set-scenario", '\0', 0, G_OPTION_ARG_FILENAME, &scenario,
"Let you set a scenario, it can be a full path to a scenario file"
" or the name of the scenario (name of the file without the"
" '.scenario' extension).", NULL},
{NULL}
};
+ setlocale (LC_ALL, "");
/* There is a bug that make gst_init remove the help param when initializing,
* it is FIXED in 1.0 */
for (i = 1; i < argc; i++) {
int rep_err;
GOptionEntry options[] = {
- {"set-scenario", '\0', 0, G_OPTION_ARG_STRING, &scenario,
+ {"set-scenario", '\0', 0, G_OPTION_ARG_FILENAME, &scenario,
"Let you set a scenario, it can be a full path to a scenario file"
" or the name of the scenario (name of the file without the"
" '.scenario' extension).", NULL},