summaryrefslogtreecommitdiffstats
path: root/gtk/src
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: fix incorrect glib version check macrosjstebbins2013-03-072-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5307 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add default Auto Passthru settings to built-in presets.Rodeo2013-03-041-0/+132
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5303 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update built-in presets.Rodeo2013-03-041-1211/+1441
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5300 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add optional fdk-aac encoderjstebbins2013-03-031-15/+0
| | | | | | | configure --enable-fdk-aac to enable this encoder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5287 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve scan progress granularityjstebbins2013-03-014-4/+21
| | | | | | | | We were only updating progress after completely processing each title. Now progress is updated as we generate previews as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5276 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: increase max number of static previews to 60jstebbins2013-02-201-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: increase max live preview duration to 240 secondsjstebbins2013-02-201-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5260 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add tooltips for subtitle optionsjstebbins2013-02-022-0/+68
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash caused by bug in newer versions of gtk2jstebbins2013-02-012-19/+11
| | | | | | | | | GtkCombobBoxText is not initialized correctly by gtk2. Reading out it's current value fails and returns NULL. So explicitely initialize the text column value and guard against future bugs by checking return value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 preset system: miscellaneous improvements.Rodeo2013-01-301-40/+13
| | | | | | | | See https://reviews.handbrake.fr/r/421/ for details. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5225 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove unnecessary GtkFramejstebbins2013-01-291-18/+11
| | | | | | | It was being rendered incorrectly in gtk2 anyway :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix gtk3 subtitle and audio list issuejstebbins2013-01-292-12/+28
| | | | | | | | | | | The wrong subtitle or audio track was sometimes getting removed from the list when the remove button was pressed. The sequence of widget callbacks changed is such a way as to require some small rearrangement of code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5222 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Work around STUPID gtk3 file chooser bug :-\jstebbins2013-01-211-0/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5186 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix building with versions of gstreamer older than 0.10.33jstebbins2013-01-161-1/+1
| | | | | | | Ubuntu 11.04 uses something older git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5173 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix compatibility with GTK versions < 2.32jstebbins2013-01-154-17/+40
| | | | | | | | Ubuntu 11.04 and 11.10 use this and I'm not quite ready to drop support for these. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Add GTK+-3 supportjstebbins2013-01-1310-3827/+4602
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui,CLI: change h.264 profile to high in AppleTV presetjstebbins2013-01-061-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix issue with FLAC24 fallbackjstebbins2013-01-061-23/+1
| | | | | | | Was setting lame as fallback when flac24 fallback was set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5154 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: silence some compiler warningsjstebbins2013-01-051-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5150 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix selection of mixdown when using fallback audio encoderjstebbins2013-01-031-0/+4
| | | | | | | It was getting set to mono all the time :-\ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: build preset import/export tables from hb_encoder_t tablesjstebbins2013-01-031-36/+53
| | | | | | | | | This makes tracking additions to libhb encoders completely transparent to the LinGui. Changes or deletions still require special handling to ensure backwards compatibility. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5140 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: filter out high444 from h264 profilesjstebbins2012-12-312-1/+10
| | | | | | | | | and force profile to auto when RF < 1.0 and fix a problem with video quality slider digits display when changing granularity in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: filter out x264 profiles high10 and high422jstebbins2012-12-301-0/+8
| | | | | | | 10 bit encoding and yuv422 are not supported. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Update copyright datesjstebbins2012-12-3021-22/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: preset import/export robustnessjstebbins2012-12-281-0/+10
| | | | | | | | | Upon import, if x264Preset is missing, force x264UseAdvancedOptions enabled. Upon export, if x264UseAdvancedOptions is true, do not output x264Preset, x264Tune, x264Level, x264Profile, or x264OptionExtra. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5114 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: convert tabs to spacesjstebbins2012-12-2748-24781/+24781
| | | | | | | Makes lingui source conform to hb standard for indentation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* update presets for lingui and CLIjstebbins2012-12-271-285/+175
| | | | | | | These new presets use x264 preset/tune/profile/level git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5111 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add x264 preset/tune/profile/level supportjstebbins2012-12-2710-419/+1341
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5110 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix loose crop calculationjstebbins2012-12-081-2/+2
| | | | | | | It was sometimes coming up with odd cropping values git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5093 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: fix subtitle configuration problemjstebbins2012-12-041-1/+2
| | | | | | | | | If the preset has "burned" checked, under certain circumstances, both "burned" and "default" would be checked in the gui. These are suppose to be mutually exclusive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5089 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: go back to original pause, start, stop icons. jstebbins2012-11-223-0/+0
| | | | | | | they just look better git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5077 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve management of titles and jobsjstebbins2012-11-127-353/+633
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleans up several several unavoidable memory leaks caused by old api. Clearly separates titles from jobs. Titles are set during scan and never modified now. Since titles are immutable, this lead to API some changes. For example, We were setting chapter names in the title from the front ends. Now these get set in the job. These new APIs allow us to start moving away from our use of title->job. Eventually, I would like to eliminate title->job completely, but the mac ui is too tightly tied to using this field to allow removing it at this time. So there is temporarily a convenience function used only by the mac ui that allows it to continue using title->job and also use the new APIs. New APIs: typedef struct hb_title_set_s hb_title_set_t; struct hb_title_set_s { hb_list_t * list_title; int feature; // Detected DVD feature title }; hb_title_set_t * hb_get_title_set( hb_handle_t * ); This is just something I added to clean up how "feature title" info is passed. hb_job_t * hb_job_init( hb_title_t * title ); Initializes a new job with default settings from the title. hb_job_t * hb_job_init_by_index( hb_handle_t *h, int title_index ); Same as hb_job_init(). For use by win Interop lib. void hb_job_reset( hb_job_t * job ); Convenience function for the MacUi. Clears audio, subtitle, and filter lists. The macui still uses title->job because it is so intricately tied to it. So I created this convenience function that it can call after adding a job. void hb_job_close( hb_job_t ** job ); Releases the job an all resources it contains. void hb_job_set_advanced_opts( hb_job_t *job, const char *advanced_opts ); Makes a copy of "advanced_opts" and stores in job. Freed by hb_job_close(). void hb_job_set_file( hb_job_t *job, const char *file ); Makes a copy of "file" and stores in job. Freed by hb_job_close(). void hb_chapter_set_title(hb_chapter_t *chapter, const char *title); Makes a copy of "title" and stores in chapter. Freed by hb_chapter_close(). Recommended usage (cli and lingui are updated to do this): job = hb_job_init( title ); // set job settings ... hb_add(h, job); hb_job_close( &job ); I have also added new APIs for managing metadata. These are used to add metadata to a job. void hb_metadata_set_name( hb_metadata_t *metadata, const char *name ); void hb_metadata_set_artist( hb_metadata_t *metadata, const char *artist ); void hb_metadata_set_composer( hb_metadata_t *metadata, const char *composer ); void hb_metadata_set_release_date( hb_metadata_t *metadata, const char *release_date ); void hb_metadata_set_comment( hb_metadata_t *metadata, const char *comment ); void hb_metadata_set_genre( hb_metadata_t *metadata, const char *genre ); void hb_metadata_set_album( hb_metadata_t *metadata, const char *album ); void hb_metadata_set_coverart( hb_metadata_t *metadata, const uint8_t *coverart, int size ); Example: job = hb_job_init( &job ); // set job settings ... hb_metadata_set_artist( job->metadata, "Danny Elfman" ); hb_add(h, job); hb_job_close( &job ); Some APIs have changed in order to avoid using title incorrectly and use the new hb_title_set_t. -void hb_autopassthru_apply_settings( hb_job_t * job, hb_title_t * title ); +void hb_autopassthru_apply_settings( hb_job_t * job ); -void hb_get_preview( hb_handle_t *, hb_title_t *, int, uint8_t * ); +void hb_get_preview( hb_handle_t *, hb_job_t *, int, uint8_t * ); hb_thread_t * hb_scan_init( hb_handle_t *, volatile int * die, const char * path, int title_index, - hb_list_t * list_title, int preview_count, + hb_title_set_t * title_set, int preview_count, int store_previews, uint64_t min_duration ); These APIs have been removed. Win Interop will need some changes. I think what I've provided will be suffecient, but let me know if it's not. -void hb_get_preview_by_index( hb_handle_t *, int, int, uint8_t * ); -void hb_set_anamorphic_size_by_index( hb_handle_t *, int, - int *output_width, int *output_height, - int *output_par_width, int *output_par_height ); git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5058 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: update iconsjstebbins2012-11-1137-32/+55
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5054 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove unneeded .cvsignore files.Rodeo2012-10-171-17/+0
| | | | | | | | Thanks to Adrian Bunk for noticing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix link failure on ubuntu, incorrect link orderjstebbins2012-10-061-2/+3
| | | | | | | libxml2 needs to be after libbluray since libbluray uses xml2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5002 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix mingw build problemsjstebbins2012-10-041-3/+3
| | | | | | | | | | | | If the mingw environment has duplicates of some of the contrib libraries that we build, the mingw system lib or header was being used instead of our contrib version. Also, some dependencies were missing which would cause parallel builds to randomly fail because a necessary contrib hadn't been built yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Lingui: make hb icon more visible on Summary tab.jstebbins2012-09-282-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4992 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Lingui: update hb icon. Fix icon in notification bubble on fedora.jstebbins2012-09-2711-7/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4991 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Audio improvements.Rodeo2012-09-034-70/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New supported samplerates: 8, 11.025, 12, 16 kHz. Now 8, 11.025, 12, 16, 22.05, 24, 42, 44.1, 48 Khz are supported. Unsupported samplerates are sanitized to the closest samplerate for all encoders. Samplerates < 32 kHz are now forbidden for AC3 encoding (sanitized to 32 kHz). Most AC3 decoders don't support such samplerates. New upmixing: 3.0 (Front Left, Right & Center) can now be upmixed to 5.1 to preserve the center channel. New mixdowns: 6.1 (Front Left, Right & Center, Surround Left, Right & Center, LFE) 7.1 (Front Left, Right & Center, Surround Left & Right, Rear Left & Right, LFE) -> available to Vorbis & FLAC encoders for compatible input channel layouts 7.1 (Front Left, Right & Center, Front Left & Right of Center, Surround Left & Right, LFE) -> available to AAC encoders (ca_aac, ca_haac, faac) for compatible input channel layouts Mono (Left Only): Stereo to Mono by discarding the Right channel Mono (Right Only): Stereo to Mono by discarding the Left channel -> available to all encoders for non-Dolby Stereo input The "6-channel discrete" mixdown becomes "5.1 Channels". New bitrates: 960 - 1536 Kbps. This lets users work around poor audio quality in crappy encoders by throwing more bits at them. Bitrate limits have been re-worked and re-tested for all encoders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4930 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use HB_INVALID_AMIXDOWN and HB_AMIXDOWN_NONE where applicable.Rodeo2012-07-291-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4879 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Fix preset import of new frameratesjstebbins2012-07-172-7/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4859 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use libav for dts audio decoding instead of libdca jstebbins2012-07-151-2/+2
| | | | | | | | | libdca has no advantage over libav for dts audio decoding. It doesn't do drc and it's downmix capabilities are actually inferior to libav. So this completely removes libdca from libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libav to libav-v0.8-2197-g1a068bfjstebbins2012-07-111-6/+6
| | | | | | | | | | | | Resolves several deprecated api's Eliminates several libav patches Eliminates our builtin downmix in favour of avresample Eliminate HB_INPUT_CH_LAYOUT_* and replace with AV_CH_LAYOUT_* Resolves 6.x and 7.0 input channel layout issues HB had Adds downmix support to declpcm. We never had it! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: sync with iPad preset changesjstebbins2012-07-021-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: merge preset changesjstebbins2012-06-281-4/+109
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4786 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: disable status icon progress when status icon is disabledjstebbins2012-06-211-16/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4763 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: drop HB_INPUT_CH_LAYOUT_*Rodeo2012-06-181-6/+5
| | | | | | | | AV_CH_LAYOUT_* works for us, and as its usage becomes more widespread in libhb, translating between the two formats gets increasingly tedious. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash when dvd volume id has non-ascii charactersjstebbins2012-06-081-1/+1
| | | | | | | | | | The iso9660 spec says the volume id must only be composed of 0-9, A-Z, and _. But dvd authors seem to take liberties with the character set. Certain non-ascii character sequences cause a crash in the glib function g_markup_escape_text(). So force all characters into the standard ascii range. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4724 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with setting the default destination file namejstebbins2012-06-081-7/+1
| | | | | | | | | If ghb is started with a parameter that specifies the source, it was not updating the destination name as it normally would when choosing the source from the file open dialog. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4722 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Portability patchesjstebbins2012-06-071-3/+8
| | | | | | | | | gudev is only available on linux, so ifdef it out on all other systems. also add some definitions to the make system for generic gnu and freebsd systems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4717 b64f7644-9d1e-0410-96f1-a4d463321fa5