From 6856df03a38b3e8dc7a2c72797b92ab7ad84dc4c Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 28 Mar 2012 03:58:25 -0400 Subject: [PATCH] Meaningless operations. --- plugins/video/transcode.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/video/transcode.py b/plugins/video/transcode.py index 9299ce9..2ebac63 100644 --- a/plugins/video/transcode.py +++ b/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: -- 2.11.4.GIT