From 3160a2a24c4c10f10363f8f8af1790faa94a2dce Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Sun, 2 May 2010 09:00:11 +0000 Subject: [PATCH] implement caption/audio 0 byte error auto skip system. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@583 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/tv2mp4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rec10/trunk/src/tv2mp4.py b/rec10/trunk/src/tv2mp4.py index 22d57f9..f96651a 100644 --- a/rec10/trunk/src/tv2mp4.py +++ b/rec10/trunk/src/tv2mp4.py @@ -138,7 +138,7 @@ def addAudio(pts,pmp4,opt):#オプションに応じた音声の追加を行う else: tv2audio.ts2single_audio(pts) pinaac=pts.replace(".ts",".aac") - if os.path.exists(pinaac): + if not os.path.exists(pinaac): pinaac=pinaac.replace(".aac",".mp3") e1a=exe +u" -add \""+pinaac+"\" \""+pmp4+"\"" addmp4(pinaac, pmp4, e1a) -- 2.11.0