Skip to content

Commit

Permalink
Fixed check_CES() checking incorrectly if the C.E.S from the video wa…
Browse files Browse the repository at this point in the history
…s equal to from_ces and thus not converting any video.
  • Loading branch information
hiulit committed Dec 28, 2019
1 parent 676ff22 commit 02d15b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retropie-convert-videos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function check_CES() {

local ces
ces="$(avprobe -show_streams "$video" 2>&1 | grep -Po "(?<=^pix_fmt=).*")"
[[ "$ces" == "$from_ces" ]] && return 1
[[ "$ces" == "$to_ces" ]] && return 1 || return 0
}


Expand Down

0 comments on commit 02d15b7

Please sign in to comment.