[vlc-devel] libvlc: static parameters don't work

Jens Kallup kallup.jens at web.de
Wed Sep 11 13:40:14 CEST 2019


Hello List,

I have more error:

char const *vlc_argv[] = {
      "screen://",
      "--screen-fps=1",
      "--screen-width=100",
      "--screen-height=100",
      "-vv"
};
int vlc_argc = sizeof(vlc_argv) / sizeof(*vlc_argv);


     if (!(inst = libvlc_new(vlc_argc,vlc_argv))) {
         fprintf(stderr,"Error: arguments missmatch.\n");
         exit(1);
     }

inst is 0x0 by inspecting with gdb.
on console I get segfault, or the fprintf error, when i handle
inst with a condition.

Is the list wrong?

Jens


More information about the vlc-devel mailing list