summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix garbled previews from BD h.264 sourcesjstebbins2011-04-028-10/+15
| | | | | | | | | | | Forome reason, frames that are tagged as recovery points in many BD h.264 streams do not result in complete frames when decoded. Pushing 2 extra frames through the decoder seems to always fix this. This patch extends something I was already doing when generating previews from a BD structure. This just applies the same logic to ffmpeg streams that have h.264 video. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3895 b64f7644-9d1e-0410-96f1-a4d463321fa5
* get rid of an superfluous test and decrimentjstebbins2011-03-311-10/+7
| | | | | | | just an old thinko that needed correcting. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3894 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-313-26/+59
| | | | | | - Add code to attempt an automatic recovery if config files get corrupted. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3893 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make the queue window's wording match that of the main window.dynaflash2011-03-311-2/+6
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3892 b64f7644-9d1e-0410-96f1-a4d463321fa5
* True SSA passthru for MKV.jstebbins2011-03-312-12/+125
| | | | | | | | | We were converting SSA to UTF8 subs which looses a lot of formatting. Now we pass through the ssa unmodified and add all fonts as attachments to the mkv. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3891 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MP4 muxer ignores all but the first of overlapping UTF-8 subtitles.davidfstr2011-03-301-51/+62
| | | | | | | | | This is necessary because MP4 does not support overlapping subtitles. Attempting to use overlapping subtitles causes the display of subsequent subtitles to be delayed incorrectly. Subsequent patches may merge UTF-8 subtitles (upstream) so that this case does not occur. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3890 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix chapter passthru problems with some files.jstebbins2011-03-291-0/+1
| | | | | | | | | | | | If the video stream is not the first track in the file, chapters were lost. During scan, we identify which track is video and stash this in title. While reading, when a chapter is found we want to tag the next video buffer. But the video track id stored in the title was not being applied when opening the file for reading, so the chapter mark always went on track id 0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3889 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Never disable the chapter markers checkbox.dynaflash2011-03-291-14/+13
| | | | | | | | | | | | | | | Patch by Rodeo ... Thanks! - Discussed here https://reviews.handbrake.fr/r/58/ This allows users to enable/disable chapter markers regardless of whether the source has chapters, which is very useful when saving a preset. This will not cause chapter markers to be inserted if we only have one chapter, as this is sanitized twice: - once in macosx/Controller.m, in createQueueFileItem - once in libhb/work.c, in do_job() In autoSetM4vExtension, update the condition for chapter markers being on or off, since we can no longer rely on the checkbox being enabled/disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3888 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix problem with qt7 playback of mpeg4 videojstebbins2011-03-281-0/+7
| | | | | | | | | The reference frames were not being tagged correctly during muxing which really screwes up qt7 but appears to have little effect on qtx or other players. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3887 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify a lot of subtitle handling code.jstebbins2011-03-276-499/+110
| | | | | | | Makes it easier to read. Gets rid of some unnecessary variables. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3886 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-2715-274/+324
| | | | | | - Some move re factoring to push the logic code into the service library. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3885 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix type in tooltipjstebbins2011-03-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3884 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-275-23/+73
| | | | | | - Add option for playing previews in the systems default player. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3883 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-279-476/+136
| | | | | | | - Remove built-in quicktime based video preview support. - Resigned the Preview window as a result. Currently only supports VLC launching, but will later add an option to use the systems default player for the format produced. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3882 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-261-2/+2
| | | | | | - Trim the contents of the advanced options box. Prevents -x being used with only spaces git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3881 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-261-5/+12
| | | | | | - Fix for the AutoName helper. Should now set the correct file extension based on the user preference. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-261-3/+3
| | | | | | - Fix a couple of possible culture issues in the query parser util. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3879 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix building on ubuntu 10.04jstebbins2011-03-241-0/+2
| | | | | | | A couple gtk functions were deprecated at a different version than I thought. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3878 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix for "{source_path}" option.sr552011-03-241-11/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3877 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: backwards compatibility fixjstebbins2011-03-231-1/+12
| | | | | | | gtk versions prior to 2.22 don't have gtk_widget_set/get_realized() func git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3876 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: a few more random deprecated functions and macros removedjstebbins2011-03-235-71/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3875 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove some deprecated widget propertiesjstebbins2011-03-231-7/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix incorrect base class in ghbcompositorjstebbins2011-03-231-2/+2
| | | | | | | "Works" with gtk2, but causes error in gtk3 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: don't use private gtk_marshal_* functionsjstebbins2011-03-226-23/+22
| | | | | | | They are not exported in gtk+-3, so create our own marshalers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-2215-16/+34
| | | | | | | Versions of gdk on Ubuntu 9.10 and 10.04 do not have GDK_KEY_* macros git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: another improper access to gtk member variablesjstebbins2011-03-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3870 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: clean up more accesses to private gtk member variablesjstebbins2011-03-221-23/+46
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use g_object_set to set widget propertiesjstebbins2011-03-221-3/+3
| | | | | | | | instead of directly setting the member variables. The member variables dissepear into priv data in gtk+-3.0. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3868 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix printf with too many parametersjstebbins2011-03-221-2/+1
| | | | | | | cut/paste error git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3867 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of deprecated GTK_WIDGET_VISIBLE macrojstebbins2011-03-222-10/+13
| | | | | | | Replace with gtk_widget_get_visible() git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3866 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of depricated GDK_DRAWABLE_XIDjstebbins2011-03-222-2/+2
| | | | | | | Replace with GDK_WINDOW_XID git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3865 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of private member "window" of GtkWidgetjstebbins2011-03-223-18/+22
| | | | | | | It doesn't exist in gtk+-3.0. Use gtk_widget_get_window() instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3864 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: No need to call gtk_set_localejstebbins2011-03-221-1/+0
| | | | | | | | gtk_init does it for us. And since gtk_set_locale is being removed from gtk+-3.0, might as well remove the call. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3863 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove deprecated use of GDK_* keysymsjstebbins2011-03-222-3/+3
| | | | | | | They have been changed to GDK_KEY_* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Remove use of deprecated GTK_WIDGET_SENSITIVE and GTK_WIDGET_HAS_FOCUSjstebbins2011-03-223-13/+13
| | | | | | | Replace with gtk_widget_is_sensitive and gtk_widget_has_focus git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3861 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove use of deprecated GTK_WIDGET_TYPE and GTK_OBJECT_TYPE macrosjstebbins2011-03-224-5/+5
| | | | | | | replace with G_OBJECT_TYPE git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3860 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove use of deprecated gdk_draw_pixbufjstebbins2011-03-221-6/+12
| | | | | | | Use gdk_ciaro_set_source_bixbuf and ciaro_paint instead git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3859 b64f7644-9d1e-0410-96f1-a4d463321fa5