mirror of
https://github.com/gpac/gpac.git
synced 2026-01-12 00:05:22 +08:00
fixed -speed option parsing
This commit is contained in:
@@ -1353,6 +1353,7 @@ int mp4client_main(int argc, char **argv)
|
||||
else if (!strcmp(arg, "-speed")) {
|
||||
playback_speed = FLT2FIX( atof((const char *) argv[i+1]) );
|
||||
if (playback_speed <= 0) playback_speed = FIX_ONE;
|
||||
i++;
|
||||
}
|
||||
else if (!strcmp(arg, "-no-wnd")) user.init_flags |= GF_TERM_WINDOWLESS;
|
||||
else if (!strcmp(arg, "-no-back")) user.init_flags |= GF_TERM_WINDOW_TRANSPARENT;
|
||||
|
||||
Reference in New Issue
Block a user