Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Meaningless operations.

  • Loading branch information...
commit 6856df03a38b3e8dc7a2c72797b92ab7ad84dc4c 1 parent 99ec1b8
@wmcbrine authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 plugins/video/transcode.py
View
7 plugins/video/transcode.py
@@ -290,19 +290,12 @@ def select_audiolang(inFile, tsn):
stream = s
# if only 1 item matched we're done
if len(langmatch_curr) == 1:
- del langmatch_prev[:]
break
# if more than 1 item matched copy the curr area to the prev
# array we only need to look at the new shorter list from
# now on
elif len(langmatch_curr) > 1:
- del langmatch_prev[:]
langmatch_prev = langmatch_curr[:]
- del langmatch_curr[:]
- # if nothing matched we'll keep the prev array and clear the
- # curr array
- else:
- del langmatch_curr[:]
# if we drop out of the loop with more than 1 item default to
# the first item
if len(langmatch_prev) > 1:
Please sign in to comment.
Something went wrong with that request. Please try again.