summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* build: fix mingw Jenkins buildsjstebbins2015-01-191-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6773 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Work around fedora mingw pthread library requirementjstebbins2015-01-182-2/+11
| | | | | | | | | | Fedora mingw seems to require it's own pthread library which causes build conflicts with our pthread lib. So this patch distinguishes whether libpthread or libpthreadGC2 is already installed on the system and uses the appropriate system lib when found. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6766 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix srt filename parsingjstebbins2015-01-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6762 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dvd: demote an hb_error to hb_log to prevent GUI error dialog spamjstebbins2015-01-151-1/+1
| | | | | | | This "error" always happens with non-dvd sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6755 b64f7644-9d1e-0410-96f1-a4d463321fa5
* stream: Fix scanning files with large PNGsjstebbins2015-01-141-1/+15
| | | | | | | | Increase libavformat probe buffer size. The default size of 5MB is not large enough to successfully scan some files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix libdvdnav dvd name and add additional fallback if no name is foundritsuka2015-01-131-1/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6744 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Revert a change Xcode committed on its own.ritsuka2015-01-131-8/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move the audio/subtitles selection logic out of the view ↵ritsuka2015-01-131-1/+8
| | | | | | controllers. Now it's possible to create a HBJob and apply a preset to without the UI classes help. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6741 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify frontend useage of hb_add()jstebbins2015-01-124-26/+43
| | | | | | | | | Modify hb_add() to automatically add all necessary passes, so hb_add() only needs to be called once per job. It now automatically adds subtitle scan and 2-pass encoding passes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: simplify hb_add_json APIjstebbins2015-01-111-10/+25
| | | | | | | | Now automatically adds subtitle scan and 2-pass encoding jobs. Changed "Pass" integer to "TwoPass" boolean to facilite this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix parsing of SRT subtitlesjstebbins2015-01-111-1/+1
| | | | | | | Previously required "Track" < 0 which is unintuitive and unnecessary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* rendersub: fix small blending errorjstebbins2015-01-101-3/+3
| | | | | | | | The error is really small, but visible over some backgrounds. See https://forum.handbrake.fr/viewtopic.php?f=5&t=30942 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6726 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix some leaks in OpenCL code. https://reviews.handbrake.fr/r/779/ritsuka2015-01-101-39/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6715 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: reduce framerate fps/num for all encoders.Rodeo2015-01-091-0/+7
| | | | | | | | Some encoders do it on their own, but others don't, so do it unconditionally for consistency. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6714 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: only sanitize PAR for the MPEG-4 encoder.Rodeo2015-01-091-17/+7
| | | | | | | | | The MPEG-2 and VP8 encoders will initialize fine regardless, and the PAR will be stored at the container, not the bitstream level. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6713 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: disable AdaptiveI/B options by default.Rodeo2015-01-091-2/+2
| | | | | | | | | | Detection of the features' availability is not 100% reliable yet, and the encoder could fail to initialize if the options are enabled but not supported by the graphics driver. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6711 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix job configuration when qsv removes all filtersjstebbins2015-01-051-0/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6688 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: simplify job initializationjstebbins2015-01-032-22/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6683 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix access to uninitialized variables in hb_set_anamorphic_size2jstebbins2015-01-031-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6682 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: initialize the buffer pool only oncejstebbins2014-12-291-5/+5
| | | | | | | | We leak a little memory for the buffer pool lists if we initialize it with every new hb_handle_t. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6673 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add "Codec" to audio list itemsjstebbins2014-12-233-0/+17
| | | | | | | and add hb_audio_can_apply_drc2 API which doesn't require audio codec_param git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: eliminate refereces to libmkvjstebbins2014-12-231-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: eliminate unnecessary references to mp4v2jstebbins2014-12-232-7/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* eliminate job->largeFileSizejstebbins2014-12-233-10/+3
| | | | | | | It is no longer needed since we eliminated mp4v2 support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove dead codejstebbins2014-12-232-10/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6646 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove hb_job_resetjstebbins2014-12-222-55/+0
| | | | | | | It is no longer needed by the mac ui git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6641 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove deprecated job and title fieldsjstebbins2014-12-221-26/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6639 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix hb_get_preview_jsonjstebbins2014-12-192-11/+136
| | | | | | | and add some routines for json conversion of preview parameters and images git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6614 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add hb_image_init to create blank imagesjstebbins2014-12-192-0/+81
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6613 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: make hb_get_preview2 always return a valid imagejstebbins2014-12-191-3/+8
| | | | | | | When we fail to read the preview image, create a blank image git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6612 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix plane size in hb_get_preview_image_jsonjstebbins2014-12-191-0/+1
| | | | | | | The actual size of the base64 encoded data is the length of the string git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6611 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix memory leak in hb_get_preview_jsonjstebbins2014-12-191-0/+1
| | | | | | | forgot to call hb_image_close on the image git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6610 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add hb_get_preview_jsonjstebbins2014-12-191-2/+112
| | | | | | | | | | | | | | No idea if it actually works as advertised. Probably not ;) Returns a json representation of an hb_image_t with the data encoded in base64. Also, fix a bug in hb_set_anamorphic_size_json that probably would have cause it to just fail. And fix a couple of memory leaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6609 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix building with --enable-hwdjstebbins2014-12-182-13/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6607 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: separate the video settings logic from the view controller. There ↵ritsuka2014-12-181-0/+1
| | | | | | are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mux: fix format of ssa preamblejstebbins2014-12-161-11/+12
| | | | | | | | sprintf decimal specifier was using the system local to insert a ',' where there should have been a '.' git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6604 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix building with qsv enabled.jstebbins2014-12-166-51/+68
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6603 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add json APIsjstebbins2014-12-1638-743/+1765
| | | | | | | | | | There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* sync: fix another issue with overlapping ssa subtitle translation to tx3gjstebbins2014-12-151-7/+15
| | | | | | | It was failing if 3 or more subtitles overlapped simultaneously. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: potential fix for missing audio tracksjstebbins2014-12-121-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6597 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decsrtsub: fix incorrect usage of strncatjstebbins2014-12-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6592 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: build and link new jansson libjstebbins2014-12-051-5/+5
| | | | | | | No new functionality yet. To be used for new json APIs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6590 b64f7644-9d1e-0410-96f1-a4d463321fa5
* sync: fix dropping of subtitles caused by my previous commitjstebbins2014-12-051-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6588 b64f7644-9d1e-0410-96f1-a4d463321fa5
* sync: fix a problem with overlapping ssa in mp4jstebbins2014-12-041-0/+11
| | | | | | | | If an SSA starts before and ends after the subsequent SSA, the subtitles were improperly merged resulting in timestamp issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6584 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: eliminate duplicate activity log stream infojstebbins2014-11-171-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6525 b64f7644-9d1e-0410-96f1-a4d463321fa5
* deccc608sub: fix positioning of popup CCsjstebbins2014-11-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: enable crc checking of audio streams during audio parameter probejstebbins2014-11-051-2/+7
| | | | | | | | | We used to check ac3 crc's when we used a52 dec. When we switched to libav we did not enable crc checks. I suspect this is the root cause of this problem https://forum.handbrake.fr/viewtopic.php?f=12&t=31032 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6507 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix p-to-p start for some streamsjstebbins2014-11-051-18/+21
| | | | | | | | | The primary problem was in setting our "zero" time in reader based on a stream that is not decoded. Since this stream never reaches sync, there would appear to be a long initial frame from syncs perspective. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6506 b64f7644-9d1e-0410-96f1-a4d463321fa5
* deccc608sub: fix writing outside bufferjstebbins2014-10-301-0/+15
| | | | | | | | When the rollup mode changes, check if the baserow + rollup height goes outside the screen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6487 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fifo: add code (ifdef'd out) to assist with finding buffer leaksjstebbins2014-10-301-0/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6485 b64f7644-9d1e-0410-96f1-a4d463321fa5