mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 07:09:56 +00:00
added info trace as well
Original commit message from CVS: added info trace as well
This commit is contained in:
parent
095c7fffc0
commit
2f1ce27730
1 changed files with 4 additions and 2 deletions
|
@ -3,14 +3,16 @@
|
|||
|
||||
void init ()
|
||||
{
|
||||
int argc = 2;
|
||||
int argc = 3;
|
||||
char **argv = NULL;
|
||||
|
||||
argv = (char **) malloc (sizeof (char *) * 2);
|
||||
argv = (char **) malloc (sizeof (char *) * 3);
|
||||
argv[0] = (char *) malloc (80);
|
||||
argv[1] = (char *) malloc (80);
|
||||
argv[2] = (char *) malloc (80);
|
||||
strcpy (argv[0], "swigged gst");
|
||||
strcpy (argv[1], "--gst-debug-mask=-1");
|
||||
strcpy (argv[2], "--gst-info-mask=-1");
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue