summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Save picture settings by default when creating a new preset.dynaflash2011-04-291-3/+4
| | | | | | | | | - Use Custom (defaulted to current picture size). - Use currently selected Filters. - Note this is by default. All choices are still the same - As per https://reviews.handbrake.fr/r/82/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change key for video framerate mode from VideoframerateMode to ↵dynaflash2011-04-282-12/+12
| | | | | | | | VideoFramerateMode to match the lingui. - Good catch Rodeo ... thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix screaching at the beginning of some ac3 to X transcodesjstebbins2011-04-281-0/+459
| | | | | | | | | | | a52dec isn't completely thread safe. It has a collection of static data that gets initialized when a52_init is called. This static data gets initialized to the same thing every time, but if one instance of the decoder is using the data when it gets reinitialized, bad(tm) things happen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-281-3/+5
| | | | | | Fix a small issue with the last checkin. Folder was created but item was not added to the queue after. Forgot to remove a return statement. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3965 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: don't use deprecated elements of the FFmpeg/Libav APIjstebbins2011-04-285-39/+33
| | | | | | | | | | | | | HandBrake uses many attributes of the FFmpeg API that are were deprecated when we did the last bump. Many of them no longer exist in current FFmpeg/Libav git, or are going to be removed soon. Replaces them with non-deprecated attributes that already exist in the build we currently use. Thanks to Rodeo for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a crash that can happen due to corrupt mpeg2 datajstebbins2011-04-271-0/+9
| | | | | | | | | The mpe2dec can return nonsense values for width and height that make sws_getContext fail. So check the context return value and just drop the buffer if it fails. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3963 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-274-10/+45
| | | | | | | - Automatically attempt to create destination path if it does not exist when starting an encode. - When adding to queue, it'll optionally ask. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3962 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a problem with overlapping vobsubsjstebbins2011-04-272-13/+29
| | | | | | | | | | | Since we now allow subtitles that overlap in time, it is no longer appropriate to arbitrarily set the duration to 3 seconds when vobsubs don't have an explicit stop time. This causes them to overlap on the display. So now, we set the stop time for such vobsubs to -1. Then in sync adjust the stop time to the start of the next vobsub when it is seen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3961 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Brian Lopez's name and email in AUTHORS filesaintdev2011-04-271-1/+1
| | | | | | patch by Brian Lopez <seniorlopez gmail com> git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3960 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix spelling errorjstebbins2011-04-261-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3959 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make order of audio tracks found in PS streams more predictablejstebbins2011-04-253-1/+45
| | | | | | | | | Since PS streams don't have a directory of streams, we find them by scanning the PES headers for stream types. We were adding them in the order found which is pretty random. This sorts audios by substream id. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a problem when encoding the same source audio track twice from BD sourcesjstebbins2011-04-251-5/+23
| | | | | | | | | The pid and substream were being added to the TS stream list twice which caused 2 copies of each packet to be returned to reader. This caused sync to drop every second packet with "time went backwards" log message. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3957 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Simplify HBDVDDetector bsdName creationdynaflash2011-04-251-16/+14
| | | | | | | - Instead of lazily populating bsdName identically in two places, why not just have its accessor do it. - As per patch provided by blindjimmy https://reviews.handbrake.fr/r/78/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix stall due due to propagation of incorrect audio timestampjstebbins2011-04-241-0/+2
| | | | | | | | Was passing AV_NOPTS_VALUE that is generated by libav. Needed to translate to -1 which is what we use to designate invalid timestamps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3955 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change scale factor for timestamp offset in vobsub commandsjstebbins2011-04-241-4/+4
| | | | | | | | Testing shows that this should be 1024 instead of 900. Thanks to Rodeo for validation and patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3954 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-231-0/+9
| | | | | | - Another fix to make sure a valid mixdown is set when changing encoders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3953 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-235-11/+26
| | | | | | - Multiple bug fixes to the Audio Panel. (Disable DRC for non AC3 sources, DPL2 getting swaped out for stereo when you click between tracks, Exception thrown due to the source track not getting pushed into the Audio model before it's used.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3952 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-223-11/+37
| | | | | | - Added new substitute option to the AutoName default path feature. "{source_folder_name}" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3951 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add support for TrueHD and DTS-HD from BD sourcesjstebbins2011-04-2212-801/+1189
| | | | | | | | | | | | | | TrueHD and DTS-HD now show up in the audio list along side their AC-3 and DTS counterparts. Note that currently the DTS-HD decoder we are using (ffmpeg) discards the HD portion of the stream and onle decodes the DTS core portion. So there is no advantage yet to using the DTS-HD stream. In the future I would like to add DTS-HD passthru support and hopefully ffmpeg will improve their DTS-HD decoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3950 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1924 to r1937jstebbins2011-04-211-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Simplify some code in the hud compositorjstebbins2011-04-211-20/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3948 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove unused vfr member of hb_job_tjstebbins2011-04-211-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3947 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-04-212-6/+87
| | | | | | - Added "Custom" option to the Add Preset Window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3946 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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