summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* MacGui:sr552007-09-041-0/+1
| | | | | | | Fixed mkv file extension not being appending by auto naming Included Ritsuka patch for mkv file size issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Workaround from "van" to prevent double chapter markers when using advanced ↵eddyg2007-08-311-2/+8
| | | | | | deinterlace filters git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@907 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added progress marking for when doing the subtitle scaneddyg2007-08-301-0/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@901 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make the auto-fps selected rate stickyeddyg2007-08-301-3/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@900 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improved debug messages for Cell start/stop with Cell number and block.eddyg2007-08-291-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@897 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from bitsflew that displays fading subtitles as solid subtitles rather ↵eddyg2007-08-291-6/+36
| | | | | | than being invisible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@896 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Die, non-standard printf logging, die!jbrjake2007-08-292-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* These calls to free produce double free warnings. It seems that removing the ↵superdump2007-08-291-4/+0
| | | | | | avpicture_free calls doesn't stop the warnings. Confusing to me as the buffers aren't freed elsewhere, but removing these seems to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@891 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Roll back avpicture_alloc to malloc + avpicture_fill. This fixes the ↵superdump2007-08-281-12/+36
| | | | | | | | | | | MacGUI preview window crashing. - Free the sws context after its use to avoid a memleak. Both alterations courtesy of BradleyS. Kudos. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@889 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Enable jam to work by changing the error handling to use a callback rather ↵eddyg2007-08-272-5/+17
| | | | | | than a direct call outside of libhb. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* missed fileeddyg2007-08-271-0/+232
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@875 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moved functions from lang.h to lang.c for easy includion in Controller.mmeddyg2007-08-273-223/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added support to the mac gui for auto-selecting subtitles if the main audio ↵eddyg2007-08-271-0/+15
| | | | | | language is not in your native language (via the new preferences box). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improved error handling when disk already full for MKV containers.eddyg2007-08-271-2/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixed up mkv error messages that did not apply, and added one which was missed.eddyg2007-08-271-12/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@870 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added rudimentory error handling to HB. Instead of using hb_log() use ↵eddyg2007-08-275-29/+107
| | | | | | hb_error(). Also causes us to stop muxing when we get a write error in MP4 and MKV containers. Still requires macosx dialog box by dynaflash (see main.mm for stub to use). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix main window closing to it doesnt crash HB and allow you to get ↵dynaflash2007-08-242-1/+12
| | | | | | | | it back. Also, closing main window now does NOT quit HandBrake. - Courtesy of Ritsuka. Thanks Ritsuka! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@864 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Doubles the number of frames checked for cadence changes, streamlines their ↵jbrjake2007-08-241-10/+10
| | | | | | storage with a for loop, gets rid of inaccurate "Interlaced->Progressive" messages during scanning, and, during encoding, displays those messages with time stamps in seconds instead of using the PTS units. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allows stream.c to try to read .VOB, .TS, and .mpeg files in addition to ↵jbrjake2007-08-241-3/+6
| | | | | | | | .vob, .ts, .m2t, and .mpg files. These are just more hard-coded file type extensions. awk, if this is a Bad Idea for a reason I'm ignorant of, feel free to revert. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@861 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Subtitle scanning for forced subtitles and normal subtitles from the CLIeddyg2007-08-2110-44/+162
| | | | | | | and the MacOS GUI. See the new subtitle language options in the GUI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added "--subtitle-force" option to the CLI, and added changes to decsub toeddyg2007-08-202-9/+42
| | | | | | | | select only forced subtitles curtesy of Utumno (thanks!). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@843 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add colour/chroma to subtitles where they are not transparent.eddyg2007-08-202-5/+98
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@842 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Small patch to keep mcdeint in mode 2 from crashing. Thanks, blindjimmy!jbrjake2007-08-191-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@833 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Prevents a bus error at scan time with DVDs that have a weird cell ↵jbrjake2007-08-171-10/+13
| | | | | | structure. Much gratitude to dynaflash, as without his patient assistance tele-debugging this, I would have been forced to buy a copy of Young Guns. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@828 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Switch to mk_laceXiph().saintdev2007-08-161-20/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@822 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Lessens the brownpantsification effect from the DVD Read Blocks Failed error ↵jbrjake2007-08-151-1/+1
| | | | | | message. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Prettier logging display for filters.jbrjake2007-08-141-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@814 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use hb_log for DVD: messages instead of printf.jbrjake2007-08-141-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@813 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moves the filters' logging info to work.c, adds parameter info. I also ↵jbrjake2007-08-143-3/+15
| | | | | | changed the deinterlace filter name to include its default method (ffmpeg) and removed the logging line from work.c that said if job->deinterlace was true or not, as it's now superfluous. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a log message informing the user of which filters are being applied.jbrjake2007-08-141-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@804 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "Same as source" changes. Old behavior: mark all NTSC content as 23.976. New ↵jbrjake2007-08-132-14/+152
| | | | | | | | | behavior: mark all NTSC content as 29.97, only use 23.976 when scanning shows a title reporting itself as mostly progressive. Also threw in a bunch of commented out logging messages for diagnostic usage. And notification during encodes when progressive flags go on or off (only works in jam builds until the contrib binary packs get rebuilt). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from eddyg for a much less cryptic hb_log message when DVDReadBlocks ↵jbrjake2007-08-061-1/+1
| | | | | | fails. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@789 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Display thread IDs in hb_log messages with %x instead of %d, so they aren't ↵jbrjake2007-08-061-3/+3
| | | | | | negative numbers in 32-bit Ubuntu (and maybe other places). Thanks for the suggestion, mr_cheese_. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Implements libswscale in HandBrake, giving it Lanczos scaling! This major ↵jbrjake2007-08-014-58/+73
| | | | | | | | | | enhancement comes to us courtesy of superdump, who deserves much praise and glory. To make this work, ffmpeg's been updated to a recent revision. Darwin contrib binary pack ++ to 0016. Includes fresh ffmpeg and libswscale as well as the recently-patched libmp4v2. I've also added the configure option --disable-sdl to libmpeg2 in the contrib/Jamfile, because without it jam always fails for me and I'm sick of adding it in every time. Hopefully this doesn't break anything for anyone, but if it does it's just a one-word change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@778 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Patch from huevos_rancheros to restore 2-pass functionality, which broke ↵jbrjake2007-07-271-0/+17
| | | | | | when the new filters got added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@758 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Fix for issue in deinterlace.c where it would not compile. Also reduces ↵sr552007-07-271-595/+595
| | | | | | final executable size by 2.5MB git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@757 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Oops, fixes a typo I made in the libhb/Jamfile that broke compilation. ↵jbrjake2007-07-271-1/+1
| | | | | | Thanks for noticing, cvk_b. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@752 b64f7644-9d1e-0410-96f1-a4d463321fa5
* This huge patch from huevos_rancheros ports a number of video filters from ↵jbrjake2007-07-2711-63/+2819
| | | | | | | | | | mencoder to HandBrake: yadif+mcdeint, hqdn3d, pp7, and pullup+softskip+harddup. What this means is that HB now has stateless inverse telecine, temporal denoising, and motion-adaptive deinterlacing! HandBrake is growing up =) Thank you, huevos_rancheros! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Matroska: Mark all tracks enabled.saintdev2007-07-271-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@748 b64f7644-9d1e-0410-96f1-a4d463321fa5
* We don't need to write end times for chapters, these are automatically ↵saintdev2007-07-271-9/+5
| | | | | | | | | calculated figured out from the beginning of the next chapter. Also, start at display strings at 'Chapter 01' instead of 'Chapter 00'. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@747 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Native language subtitle scan improvements. Thanks, eddyg!jbrjake2007-07-262-59/+130
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@741 b64f7644-9d1e-0410-96f1-a4d463321fa5
* This should finally fix the PS stream language without iterating through ↵saintdev2007-07-261-1/+1
| | | | | | every language to find we want the first. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@740 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Change Matroska timecode scale to be 1000000000 / 90000.saintdev2007-07-261-8/+9
| | | | | | | This is a patch from Yuvi on the forums. Thanks for killing that magic number! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@739 b64f7644-9d1e-0410-96f1-a4d463321fa5
* This patch from eddyg should help alleviate HandBrake's audio drop issues. ↵jbrjake2007-07-254-15/+58
| | | | | | It also adds a number of beautiful comments to sync.c that really help clarify the code. Thanks, eddy! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@738 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Ok, this should fix compilation. Instead of using the 2-letter language code ↵jbrjake2007-07-251-1/+1
| | | | | | for "Unknown" (which is a blank string) I've set it to use the 3-letter code ("und" for undetermined). There could easily be a better way to do this. C strings are not my forte. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@732 b64f7644-9d1e-0410-96f1-a4d463321fa5
* We shouldn't assume that MPEG2-PS audio is English. Set it to 'Unknown' instead.saintdev2007-07-251-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Makes sure chapter markers get applied to the right track, so ReaderFunc() ↵jbrjake2007-07-241-2/+5
| | | | | | sees them. Thanks for this patch too, ares01590! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@727 b64f7644-9d1e-0410-96f1-a4d463321fa5
* These hopefully-innocuous changes to hb.c should help with the active ↵jbrjake2007-07-201-2/+19
| | | | | | queuing in the MacGui. Adds a new counter variable, h->job_count_permanent, so the task list readout ("Encoding job x of y") stays correct even if the user adds or removes items on the jobs list during an encode. Seems to work ok for me and Dynaflash, but who knows? This might need to be reverted, and/or maybe someone can come up with a less hackish way of doing it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@719 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Set MinCache to 1 if we're using x264 and b-frames.saintdev2007-07-161-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@704 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Active Queue Initial Implementationdynaflash2007-07-162-3/+25
| | | | | | | | | - Warning: currently, when adding jobs during encoding, the main window progress bar and task info gets hosed, if a workaround via libhb cannot be easily obtained, a cocoa workaround is available for checkin. - Can now add jobs during encoding - Scan progress bar is a barber pole until scanning progress during encoding is fine tuned. - Needs further testing if DVD Auto Detect is turned on. If conflicts with drive arise, automatically turning off dvd auto detect when adding jobs during encoding is ready for checkin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@695 b64f7644-9d1e-0410-96f1-a4d463321fa5