OSDN Git Service

MacGui: Remove the audio encoder bitrate cap.
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 5 Oct 2010 16:36:19 +0000 (16:36 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 5 Oct 2010 16:36:19 +0000 (16:36 +0000)
- This used to cap the bitrate available in the ui to the sources audio bitrate.
- Note: this can allow people to do stupid things. A more elegant solution is forthcoming.

git-svn-id: svn://localhost/HandBrake/trunk@3571 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBAudio.m

index b32d90d..62e0658 100644 (file)
@@ -396,14 +396,7 @@ static NSDictionary *bitRate384 = nil;
                                shouldAdd = NO;
                        }
                }
-               
-               //      Now make sure the bitrate does not exceed the track's bitrate
-               if (YES == shouldAdd) {
-                       if (currentBitRate > trackInputBitRate) {
-                               shouldAdd = NO;
-                       }
-               }
-               
+                               
                if (YES == shouldAdd) {
                        [permittedBitRates addObject: dict];
                }