whoops
This commit is contained in:
parent
22eacccc26
commit
6b5d7328a8
1 changed files with 2 additions and 2 deletions
4
pack-vid
4
pack-vid
|
|
@ -320,6 +320,8 @@ function convert( $src, $dest, $options ) {
|
||||||
}
|
}
|
||||||
$filters[] = "scale=w=$scaleWidth:h=$scaleHeight";
|
$filters[] = "scale=w=$scaleWidth:h=$scaleHeight";
|
||||||
if ( $hdr ) {
|
if ( $hdr ) {
|
||||||
|
$filters[] = "format=yuv420p10le";
|
||||||
|
} elseif ( $hdrInput ) {
|
||||||
$filters[] = "zscale=t=linear:p=709:m=709";
|
$filters[] = "zscale=t=linear:p=709:m=709";
|
||||||
if ( $exposure ) {
|
if ( $exposure ) {
|
||||||
$filters[] = "exposure=$exposure";
|
$filters[] = "exposure=$exposure";
|
||||||
|
|
@ -338,8 +340,6 @@ function convert( $src, $dest, $options ) {
|
||||||
if ( $vibrance ) {
|
if ( $vibrance ) {
|
||||||
$filters[] = "vibrance=$vibrance";
|
$filters[] = "vibrance=$vibrance";
|
||||||
}
|
}
|
||||||
} elseif ( $hdrInput ) {
|
|
||||||
$filters[] = "format=yuv420p10le";
|
|
||||||
} else {
|
} else {
|
||||||
$filters[] = "format=yuv420p";
|
$filters[] = "format=yuv420p";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue