summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - get rid of another deadlock: if there were more than 64 audio frames ↵van2008-09-051-7/+16
| | | | | | | | | before the first video frame we'd lock up the reader. - if we get a bogus timestamp at the end of some conversion just ignore it and don't try to generate minutes or hours of silence to fill the hole. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1665 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removed old CYGWIN contrib pack files.sr552008-09-042-13/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences ↵eddyg2008-09-031-27/+66
| | | | | | when invalid audio inputs are used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1663 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Presets and preferences are now stored as plistsjstebbins2008-09-0227-3302/+8338
| | | | | | | | | | | | | This will also make saving/restoring the queue much easier. It's a scary big change. 1400 new lines of code. Due to efficiencies of a better desing, 2400 lines of old code also gets refactored down to 1600. Giving a final net +600 lines. Along the way, I stumbled across a couple bugs and fixed them. Chapter list entry would get wedged under certain circumstances. Pausing encoding didn't display pause message in status bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1662 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removed Cygwin info from BUILD file as it is no longer valid.sr552008-09-011-22/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated THANKS Filesr552008-09-011-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1660 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change buffer reuse policy to MRU to hopefully improve cache and VM performance.eddyg2008-08-292-1/+39
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1659 b64f7644-9d1e-0410-96f1-a4d463321fa5
* THANKS file updated, missed a name out, my bad.sr552008-08-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1658 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added some names to THANKS file.sr552008-08-281-0/+11
| | | | | | For those who have not yet been added, PM me please. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1657 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-281-4/+4
| | | | | | - Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1656 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-2711-237/+167
| | | | | | - Code Refactoring and optimization to numerous files git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: plug small memory leakjstebbins2008-08-271-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1654 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-2412-107/+297
| | | | | | | | | | - Adds checkbox to enable decomb. - Program Options updated with an option to customize decomb values. - Queue Recovery feature. If you close the GUI without letting a queue complete, the user will be prompted if they'd like to recover the queue on next launch. - Small bugfix with the queue HandBrakeCLI monitor thread not stopping when the GUI is closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1653 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops. presets weren't saved after refreshing standard presets, so thejstebbins2008-08-242-3/+6
| | | | | | | refresh got lost after restarting the app git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1652 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: bundle the standard presets in the exe. eliminates installingjstebbins2008-08-244-84/+646
| | | | | | | | a separate file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: allow standard presets to be deleted and provide a button to reloadjstebbins2008-08-238-142/+202
| | | | | | | them. This makes the lingui conform more closely to the macgui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: improve data entry method for deinterlace and denoise settings in jstebbins2008-08-227-144/+496
| | | | | | | | tweaks mode. replaces GtkComboBox with GtkComboBoxEntry. add easter egg that gives access to hidden preferences git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add a hidden feature to allow tweaking some settings. currentlyjstebbins2008-08-217-16/+357
| | | | | | | | | | tweaks are available for detelecine, decomb, deinterlace, deblock, and denoise to enable, you must manually edit preferences file and add "allow_tweaks=1" to tweak a setting, right click on the widget, an entry dialog will appear. minimal validity checking is done on the tweak's value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: force use of contrib libs. libtool seems to be pretty arbitraryjstebbins2008-08-201-1/+27
| | | | | | | about where it picks libs from git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Solaris buildseddyg2008-08-202-5/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1646 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix subtitle indepth scan abort & hang.van2008-08-192-4/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1645 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't allow theora to use pkg-config and use system versions of ogg and vorbiseddyg2008-08-182-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* The per-stream timing changes (r1570) make the overall timing depend on ↵van2008-08-181-7/+3
| | | | | | which media streams we process. So we can't ignore audio during pass 1 or the video timing will change between passes & make x264 abort. (Thanks to jbrjake for pointing out the problem.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1643 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - To reliably find audio in 720p or 1080i TS streams we need to search ↵van2008-08-181-5/+18
| | | | | | | | | | through first 50MB of file looking for the stream rather than first 18MB. - When we're looking for a PES header for some PID, check both that the TS 'start' bit is set and that the first 3 data bytes are an MPEG start code (the start bit may get set by an error not caught by the CRC). - Print the substream id when we reject a PID as "not audio" so we'll be able to debug TS streams using non-standard PES encapsulations. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* If we try to release old frames in the loop that searches for a free one we ↵van2008-08-181-19/+6
| | | | | | may free one that's in use & crash in avcodec_default_release_buffer. (Bug tracked down by eddyg). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1641 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't crash when the user specifies audio tracks that don't exist from the ↵eddyg2008-08-182-3/+13
| | | | | | HandBrakeCLI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1640 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - patch a reference picture leak in ffmpeg/libavcodec/mpegvideo.c that ↵van2008-08-184-10/+94
| | | | | | | | | | | | caused aborts on h264 transport stream encodes. - patch the log level of some h264 decoder error messages so we don't fill our log with messages about stuff that's a very likely & not terribly significant. - don't let hb.c set the ffmpeg av_log level to AV_LOG_DEBUG -- it fills the HB activity log with junk. - add a count of the decoder errors to decavcodec's final report. - when we don't have any chapter text (i.e., during a typical cli encode) just print the chapter number rather than empty quote marks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1639 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Contrib Jamfile Errorsr552008-08-171-2/+2
| | | | | | | - My Bad, put a && in the wrong place. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1638 b64f7644-9d1e-0410-96f1-a4d463321fa5
* * Contrib Updates:sr552008-08-178-9/+25
| | | | | | | | | | | | | | - libogg-1.1.3.tar.gz - xvidcore-1.1.3.tar.gz - libtheora-1.0beta3.tar.gz - libmpeg2-0.5.1.tar.gz - faac-1.26.tar.gz - ffmpeg-r14737.tar.gz * Cygwin Patch for new libfaac git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1637 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-172-3/+5
| | | | | | - Fixed stupid mistake with query generator and the dvd chapters being set to auto git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-174-77/+65
| | | | | | | - Added checkbox for decomb - Removed 2 panels for frmMain components. It was screwing up the tab numbering. Maybe re-visit later on. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1635 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-164-118/+118
| | | | | | | | - One elusive cross-thread bug in the Activity window fix (hopefully) + some tweaks to the log display - Nicer Exception Handling Message box errors for frmReadDVD. - frmMain Minimize to taskbar no tooltip text exception fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1634 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: set svn:ignore prop on generated files that will never be checked injstebbins2008-08-150-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1633 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a couple problems with the preset translation tooljstebbins2008-08-153-367/+483
| | | | | | | | change my presets file to use the settings generated by the translation tool also tidy up a display problem with x264 options git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1632 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update x264 to revision x264-r930-91d865cdynaflash2008-08-141-1/+1
| | | | | | - Mostly improves vbv. Still no psy-rdo but definitely better than current. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1631 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Code comment clean-up, mostly to clarify the difference between the prev and ↵jbrjake2008-08-141-8/+11
| | | | | | next frame buffers and yadif's prev2 and next2 field pointers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1630 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-143-285/+288
| | | | | | - Added some regions to common.cs to make it a bit easier to read. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1629 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Threaded yadif deinterlacer. Will split the YUV frames up into horizontal ↵eddyg2008-08-131-23/+225
| | | | | | segments based on the number of CPUs available. All these segments will be processed seperately in parallel in their own thread. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1628 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Sorry - just fix the indentation in 1626 that Xcode stuffed up.eddyg2008-08-121-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1627 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't crash HB when the video decoder (MPEG2 or ffmpeg) doesn't understand ↵eddyg2008-08-121-1/+10
| | | | | | the format of the input and so therefore doesn't populate vid_info. Just skip that preview instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1626 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: create a presets translator that reads mac gui xml file and jstebbins2008-08-111-0/+668
| | | | | | | writes linux gui presets file git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1625 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes hard tabs from detelecine.c as a first step towards documenting it.jbrjake2008-08-101-368/+368
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-106-472/+220
| | | | | | - Just some code refactoring in frmMain.cs and common as well as a few smaller files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1623 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make sure we never return an unitialized buffer chain to work_loop.van2008-08-091-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1622 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-097-760/+650
| | | | | | | | | | - Added Memory and screen bounds to the activity log. - Removed some x264 code from frmMain. The x264 widgets are now populated from the designer file. - Removed some duplicate code from x264Panel.cs - Added the macgui's animate function to x264Panel.cs - Setup the Audio panel to default the sample rate to audio on audio track change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1621 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: address scott's complaint that the way i handle audio presetsjstebbins2008-08-089-624/+420
| | | | | | | | | | is confusing. Eliminated the extra audio settings tab. consolidated everything in the Audio/Subtitles tab. up to 8 audios can be stored in a preset now. limit was 2 before, even though up to 8 audios could be added manually for an encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-082-18/+19
| | | | | | | | - Bug Fixes in QueryParser.cs and PresetLoader - Fixes a bug where an incorrect cropping option get's chosen when a preset is loaded. - No longer loads Source or destination from the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1619 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixed the warning in ChapterTitles for real this time.ritsuka2008-08-081-5/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1618 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use fast numerators in HBPreferencesController, remove an hard tab ↵ritsuka2008-08-081-12/+10
| | | | | | and replace float with CGFloat. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1617 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - change aspect from a scaled int to a double so we can handle the widervan2008-08-0810-84/+129
| | | | | | | | | | | | | | | | | | | range of aspect ratios we get from ffmpeg files. - add container_aspect to title struct (always zero except for DVDs when it's the aspect from the VTSI). To handle broken French DVDs, make HB complain & use the container aspect if it's different from the aspect computed from the video PAR. - fix ScanFunc's job template init so that it doesn't think the only legal aspect ratios are 16:9 & 4:3. - hb_reduce wouldn't reduce any fraction where both terms were equal and prime (e.g., 2/2, 3/3, 5/5, etc. would not become 1/1). Recoded it using Euclid's Algorithm so it always works and is faster. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1616 b64f7644-9d1e-0410-96f1-a4d463321fa5