OSDN Git Service

implement recque system.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 30 Oct 2010 06:19:50 +0000 (06:19 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Sat, 30 Oct 2010 06:19:50 +0000 (06:19 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@717 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/tv2avi.py

index f0a3bd1..724d111 100644 (file)
@@ -55,7 +55,13 @@ def b252ts(pout, chtxt, btime, etime, opt):
     #status.setB25Decoding(status.getB25Decoding() + 1)
     status.changeB25Decoding(1)
     try:
-        tv2ts.b252ts(pout + ".ts", chdb.chtxtsearch(chtxt)['ch'], chdb.chtxtsearch(chtxt)['csch'])
+        try:
+            ch=chdb.chtxtsearch(chtxt)['ch']
+            csch=chdb.chtxtsearch(chtxt)['csch']
+        except:
+            ch=0
+            csch=0
+        tv2ts.b252ts(pout + ".ts", ch, csch)
         tsout = pout
         aviin = pout + ".ts"
         dualaudio = 0