[mythtv-commits] mythtv commit: r8574 - in trunk/mythtv by cpinkham

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jan 12 06:30:59 UTC 2006


      Author: cpinkham
        Date: 2006-01-12 06:30:58 +0000 (Thu, 12 Jan 2006)
New Revision: 8574
   Changeset: http://cvs.mythtv.org/trac/changeset/8574

Modified:

   trunk/mythtv/libs/libmythtv/recordingprofile.cpp
   trunk/mythtv/programs/mythtranscode/transcode.cpp

Log:

Add a "Preserve Aspect Ratio" option to the Transcoding recording profiles
when "Resize Video while transcoding" is turned on.  This preserves the
original file aspect ratio of the recording by calculating the height
based on the original file's aspect and the new file's width.  So, if your
original recording was 1920x1088 and your new width was 640, the new calculated
height would be 362.  This way the recording is being scaled the same amount
in both directions just by setting one number and it doesn't matter what the
source file aspect is, the new file will be the same.

NOTE: This is not the same as the aspect of the video displayed since you
could have a 4:3 recording stored as 480x480 in the file such as the SVCD
format.






More information about the mythtv-commits mailing list