OSDN Git Service

implement sar using encode function.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 23 Jun 2010 01:31:20 +0000 (01:31 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Wed, 23 Jun 2010 01:31:20 +0000 (01:31 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@632 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/ts2x264.py

index f9a8e28..e1584f1 100644 (file)
@@ -634,7 +634,8 @@ def get16_9ffmpeg_s(pin,x,y):
 def get_par_size(pin,y):
     tSize=getMovieBaseSize(pin)
     print tSize
-    tX=tSize[0]*10/tSize[1]*y
+    print y
+    tX=tSize[0]*10*y/tSize[1]
     tY=y
     print tX
     if tX>int(tX/10)*10: