RESOLVED INVALID 50888
build-webkit --minimal --enable-video doesn't enable video
https://bugs.webkit.org/show_bug.cgi?id=50888
Summary build-webkit --minimal --enable-video doesn't enable video
Philippe Normand
Reported 2010-12-12 03:33:27 PST
Because configure is called with these options in order: --enable-video --disable-video (because of --minimal)
Attachments
proposed patch (1.57 KB, patch)
2010-12-12 04:20 PST, Philippe Normand
ossy: review-
Philippe Normand
Comment 1 2010-12-12 04:20:33 PST
Created attachment 76321 [details] proposed patch
Xan Lopez
Comment 2 2010-12-12 11:01:52 PST
Not really GTK specific.
Csaba Osztrogonác
Comment 3 2010-12-13 03:15:54 PST
Comment on attachment 76321 [details] proposed patch It doesn't work, because there isn't --enable-video option in build-webkit script. You can use --video to enable and --no-video to disable video support. This code sets the default value or 0 if you passed --minimal option : ... # Initialize values from defaults foreach (@features) { ${$_->{value}} = ($_->{default} && !$minimal) || 0; } ... But the script processes the command line arguments later: ... # Build usage text and options list from features foreach (@features) { my $opt = sprintf("%-35s", " --[no-]$_->{option}"); $usage .= "$opt $_->{desc} (default: $_->{default})\n"; $options{"$_->{option}!"} = $_->{value}; } ... So "build-webkit --minimal --video" will work for you and it isn't a bug.
Note You need to log in before you can comment on or make changes to this bug.