summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WinGui:sr552011-04-211-15/+11
| | | | | | - Fix an issue with the Advanced options not being passed through to the CLI correctly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3945 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove redundant code.jstebbins2011-04-201-10/+2
| | | | | | | | Should have been removed here https://trac.handbrake.fr/changeset/2917 Thanks to rodeo for spotting this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3944 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-204-18/+22
| | | | | | | - Save Filter settings in presets by default. Seems to be common mistake. - Set the AcceptButton property on a few windows so they react properly to keyboard commands. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3943 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Remove last vestiges of the deprecated job->vfr.dynaflash2011-04-201-8/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-193-8/+7
| | | | | | | - 2 Exceptions fixed. (Removing a preset failed and After scan, audio panel would crash) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a potential crash when hud is destroyed jstebbins2011-04-191-2/+6
| | | | | | | link list could be modified while being traversed in the "forall" method. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3940 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remember user window size changesjstebbins2011-04-194-4/+39
| | | | | | | | window size gets stored in prefs when changed and restored whenever ghb starts. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3939 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-188-23/+71
| | | | | | - added mpeg2 option to the encoders list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3938 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HE-AAC support for the OSX port. Thanks go to amarcus, ritsuka and rodeo.sr552011-04-1811-30/+209
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with display of audio gain value.jstebbins2011-04-172-3/+5
| | | | | | | Was not updating properly, showed -1 and -0 when should have been 0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3936 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-1610-131/+218
| | | | | | | | - Switching Audio Selection dropdown to be databound. Added The scanned source track to the Audio Track model. - Added new Move to Top / Bottom options on the right click. - Further UI tweaks and fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3935 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-1612-852/+143
| | | | | | | - Moved DRC onto the advanced audio panel and tweaked the UI slightly. - Updated to Stylecop 4.5 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add ffmpeg Mpeg2 encoder support.dynaflash2011-04-161-9/+8
| | | | | | - Patch by Rodeo. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3933 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix PAR overflow issues.jstebbins2011-04-162-6/+26
| | | | | | | PAR values were saturating the max values allowed in PAR widget controls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3932 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix int overflow that can happen when computing PARjstebbins2011-04-163-2/+64
| | | | | | | | | | If the source has large non-reduced PAR values, our computed value was overflowing an int. Compute it in an int64_t then reduce it. Also, keep num and den below 65535. Larger values just aren't really significant and will cause more overflow issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implement Frame Rate Mode as per the Lingui.dynaflash2011-04-154-87/+364
| | | | | | | - Removes the current Peak Framerate checkbox and replaces it with appropriate Radio Buttons depending on if Same as Source or a specific framerate is chosen in the Frame Rate popup widget. - Gets the macgui up to speed with https://trac.handbrake.fr/changeset/3770 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3930 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-1513-294/+411
| | | | | | | | - Added "Advanced" audio options floating popup window. * This exposes a new Audio Gain Control (-20 to +20 dB) - Added support for (--gain=x,y,z) to the preset Loader. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3929 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-1511-193/+415
| | | | | | - Add "Send to" option. This will pass the encoded output file name of each completed job on the queue to a 3rd party application with optional arguments passed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3928 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incorrect list element free in custom hud widgetjstebbins2011-04-151-2/+4
| | | | | | | was freeing the widget instead of the structure that contains the widget. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3927 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow SRT File Paths up to 256 charactersdynaflash2011-04-151-2/+4
| | | | | | - Patch by Rodeo as per https://reviews.handbrake.fr/r/51/ Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3926 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove old unnecessary gtk bug workaround.jstebbins2011-04-151-7/+0
| | | | | | | They seem to have fixed the problem now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3925 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix ubuntu package dependency again :( it's picky about the name.jstebbins2011-04-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3924 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix another ubuntu natty package dependency issue.jstebbins2011-04-143-0/+64
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3923 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: update help text to add ffmpeg mpeg-2 encoderjstebbins2011-04-141-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3922 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a build dependency for ubuntu 11.04 packagingjstebbins2011-04-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3921 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Ubutnu 11.04 to nightly buildsjstebbins2011-04-131-0/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3920 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change HB.version from "svnXXXX" to "XXXXsvn"jstebbins2011-04-131-1/+1
| | | | | | | | | This fixes an issue with packaging for Ubuntu 11.04. The packaging tool now requires that version numbers start with a digit. They used to just issue a warning. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3919 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a problem with BD audio detection.jstebbins2011-04-111-11/+56
| | | | | | | | | | | | | | Each clip of a BD are allowed to have different audios if the clip does not have a seamless connection to the previous clip. Most titles are a series of seamless clips that all have the exact same audio. But I found some that have a final non-seamless clip that has completely different audios and broke the old algorithm. New algorithm, look at each clip and count the number of other clips have the same audio. Use the clip that has the most matches. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a deadlock that can happen with p-to-p encodingjstebbins2011-04-102-2/+39
| | | | | | | | | | | | | | | | | | With p-to-p, the audio sync thread waits for the video sync thread to reach the designated start point. There is a possibility that the video decoder will drop so many frames that the audio sync fifo fills before any frames reach the video sync thread. When this happens, drop some audio to unplug the pipeline. Also, to make this less likely to happen, start sending data to the video decoder 2 seconds before the actual desired start point. This will allow the decoder to find an initial i-frame before the audio stalls since the audio sync thread drops any audio that is before the designated start point. A side effect of this is our start time now more accurate since the decoder is only dropping frames before the start point instead of after. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3917 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-097-40/+40
| | | | | | | - Fix a culture issue with user settings (x264) - Made the Preset loader more strict with what settings it can and can't load with regards to video settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3916 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-081-2/+1
| | | | | | - Another QueryGenerator fix for VP3. Don't specify an empty -x git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3915 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-081-2/+2
| | | | | | - Fixed ffmpeg advanced options panel CLI query generation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3914 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-083-196/+154
| | | | | | - Improved audio panel design. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3913 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Handle boundaries between blueray clips better.jstebbins2011-04-083-0/+14
| | | | | | | | | | These boundaries are always discontinuities. But sometimes we were not detecting them as such and would drop frames. So set a flag in the buffer when libbluray tells us a new clip is starting and use that to trigger computation of a new scr offset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3912 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: AudioPanel refactored.sr552011-04-0815-315/+309
| | | | | | | - Switch the Audio panel to use DataBinding to a BindingList collection leading to much cleaner code. - Added gain support (--gain=3,4) to the services library. (UI has not been done yet) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3911 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Eliminate incompatible pointer type warnings for sws_scalejstebbins2011-04-084-5/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3910 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use bibiliographic form of ISO-639-2 lang codes in muxmkvjstebbins2011-04-081-4/+10
| | | | | | | | | | The Mkvtoolnix developer claims that MKV only allows the bibliographic form of ISO-639-2 lang codes: https://www.bunkus.org/bugzilla/show_bug.cgi?id=598 http://matroska.org/technical/specs/index.html#languages seems to confirm this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3909 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change internal audio representation rangejstebbins2011-04-0813-67/+70
| | | | | | | | | | | ...from float [-32768...32767] to float [-1.0...1.0] Using the range [-1.0..1.0] requires fewer translations of the range for our various encoders and decoders. This also gets rid of a hacky translation from float to int to float in decavcodec audio decoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3908 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix dts downmix when the output encoder is lamejstebbins2011-04-071-2/+0
| | | | | | | | | libdca downmix is broken if you ask for dolby and DCA_ADJUST_LEVEL. Since we fixed the clipping problem that DCA_ADJUST_LEVEL is used for with changeset 3294, we can just disable this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3907 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1913 to r1924jstebbins2011-04-061-1/+1
| | | | | | | It's that time again... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3906 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a couple layout issuesjstebbins2011-04-051-3/+4
| | | | | | | | Source title display was truncated. Notbook widget was changing sizes when changing video encoders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3905 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix build error on mingwjstebbins2011-04-051-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3904 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio gain adjustment and create advanced audio dialog.jstebbins2011-04-058-131/+338
| | | | | | | | | Gain, DRC, and Sample Rate are now in an advanced audio dialog. This makes the audio tab less crowded and makes room for future improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3903 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add audio gain adjustment to libhb and CLIjstebbins2011-04-055-41/+122
| | | | | | | | New CLI option is --gain <float>. Value is measured in dB. Negative values are quieter, positive values are louder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3902 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Start mkv clusters with a video keyframe whenever possiblejstebbins2011-04-051-1/+1
| | | | | | | | libmkv now starts a new cluster whever there is a video keyframe if the new cluster would not be closer than 2 seconds to the previous cluster. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3901 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix the volume output level of our dts decoderjstebbins2011-04-041-1/+1
| | | | | | | | | | dcadec returns samples that have values in the range -1.0 to 1.0. We need these to be converted to the range -32768 to 32767. For some reason, decdca was scaling by 16768 instead of 32767. This has been like this since dts support was initially added by maurj. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3900 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-0334-687/+836
| | | | | | - Move all user settings for the Services library into the services library. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3899 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make logging of audio and subtitle id's more consistantjstebbins2011-04-025-13/+13
| | | | | | | | | | | | 1) whenever we log audio->id or subtitle->id using hex formatting, precede the hex with 0x (which was already done in some places but not others) 2) format audio->id as hex instead of decimal in sync.c (makes it much easier to see which track "went backwards" or had silence added to it, checking the job configuration logged by work.c) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3898 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Shorten instead of dropping overlapping subtitles in mp4jstebbins2011-04-021-0/+10
| | | | | | | | If the non-overlaping remainder is greater than 0.5 seconds, shorten the subtitle instead of completely dropping it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3897 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Flush ffmpeg codec buffers after every seek.jstebbins2011-04-021-1/+21
| | | | | | | | | | According to several e-mails I've read on ffmpeg-devel, avcodec_flush_buffers should be called after any seek. It appears this is even more critical to do when using frame based multi-threading. I don't see any immediate difference in functionality by adding this, but it may prevent surprises in the future. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3896 b64f7644-9d1e-0410-96f1-a4d463321fa5