Changeset 2668e1141ec31c9f8a582dc41ad648e24ec446c6

Show
Ignore:
Timestamp:
03/02/07 22:50:25 (2 years ago)
Author:
KRKeegan <KRKeegan>
git-committer:
KRKeegan <KRKeegan> 1172897425 +0000
git-parent:

[303570adb60c9254c17bdf1410bc5ecc1f01c518]

git-author:
KRKeegan <KRKeegan> 1172897425 +0000
Message:

-Fixed height, width transposition problems
-Changed ffmpeg signal to kill not term
-Changed python2.4 to python in interpreter heading

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/video/transcode.py

    r303570a r2668e11  
    4040        else: 
    4141            import os, signal 
    42             os.kill(ffmpeg.pid, signal.SIGTERM
     42            os.kill(ffmpeg.pid, signal.SIGKILL
    4343 
    4444def select_aspect(inFile): 
    45     type, height, width, fps, millisecs =  video_info(inFile) 
     45    type, width, height, fps, millisecs =  video_info(inFile) 
    4646     
    4747    d = gcd(height,width) 
     
    8181            settings.append('-padbottom') 
    8282            settings.append(str(bottomPadding)) 
    83                  
     83             
    8484            return settings 
    8585        #If video is taller than 4:3 add left and right padding, this is rare 
     
    105105def tivo_compatable(inFile): 
    106106    suportedModes = [[720, 480], [704, 480], [544, 480], [480, 480], [352, 480]] 
    107     type, height, width, fps, millisecs =  video_info(inFile) 
     107    type, width, height, fps, millisecs =  video_info(inFile) 
    108108 
    109109    if not type == 'mpeg2video': 
     
    114114 
    115115    for mode in suportedModes: 
    116         if (mode[0], mode[1]) == (height, width): 
     116        if (mode[0], mode[1]) == (width, height): 
    117117            return True 
    118118    return False 
  • pyTivo.py

    r32e2d9d r2668e11  
    1 #!/usr/bin/env python2.4 
     1#!/usr/bin/env python 
    22 
    33