Skip to content

Commit

Permalink
Update eac3toac3.sh
Browse files Browse the repository at this point in the history
force LANG english
  • Loading branch information
samirfor authored Sep 14, 2016
1 parent 74ba3d8 commit 185b580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eac3toac3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ IFILE=$(basename "$MKV_INPUT")
IFILE="${IFILE%.*}"

# get E-AC3 audio track ID from MKV container
LINE=$(mkvinfo ${MKV_INPUT} | grep "Track type" | grep -n "audio" | cut -d":" -f1)
LINE=$(LANG=C mkvinfo ${MKV_INPUT} | grep "Track type" | grep -n "audio" | cut -d":" -f1)
AUDIO_ID=$(( $LINE - 1 ))

# extract E-AC3 audio track from MKV container
Expand Down

0 comments on commit 185b580

Please sign in to comment.