Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv22352/src/tv
Modified Files: record_video.py Log Message: Fix the gap for consecutive recordings. Only "timecode" formats were getting the buffer time before, now both timecode and seconds type recording get the 10 second buffer. Index: record_video.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/tv/record_video.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** record_video.py 11 Jul 2003 20:21:15 -0000 1.22 --- record_video.py 12 Jul 2003 06:23:44 -0000 1.23 *************** *** 10,13 **** --- 10,18 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.23 2003/07/12 06:23:44 outlyer + # Fix the gap for consecutive recordings. Only "timecode" formats were getting + # the buffer time before, now both timecode and seconds type recording get the + # 10 second buffer. + # # Revision 1.22 2003/07/11 20:21:15 outlyer # Actually, 10 seconds makes more sense than 60. *************** *** 324,327 **** --- 329,333 ---- # Length in seconds len_secs = int(recinfo.length.selected) * 60 + len_secs = len_secs-10 # Recording filename *************** *** 339,346 **** # Calculate timecode for mp1e and similar encoders ! temp = len_secs - 10 ! hour = int(temp/3600) ! minu = int(temp/60) ! seco = int(temp%60) timecode_format = '%0.2i:%0.2i:%0.2i' % (hour,minu,seco) --- 345,351 ---- # Calculate timecode for mp1e and similar encoders ! hour = int(len_secs/3600) ! minu = int(len_secs/60) ! seco = int(len_secs%60) timecode_format = '%0.2i:%0.2i:%0.2i' % (hour,minu,seco) ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog