summaryrefslogtreecommitdiffstats
path: root/gtk/src/subtitlehandler.c
Commit message (Collapse)AuthorAgeFilesLines
* 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: fix a bunch of compiler warningsjstebbins2012-05-261-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4701 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops, fixed on sigsegv and created another :(jstebbins2012-05-261-3/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4700 b64f7644-9d1e-0410-96f1-a4d463321fa5
* PGS (bluray) subtitle support \o/jstebbins2012-04-261-41/+85
| | | | | | | | | | | | Thanks to patches supplied by David Mitchell and Rob McMullen we finally have PGS support. I added a fix for libav pgs timestamp processing and detection of forced subtitles to their work, then made foreign audio search work with PGS subs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: experimental support for batch queuingjstebbins2011-10-161-99/+173
| | | | | | | | | This allows all titles in the title popup to be added to the queue in one go. It uses the current *preset* for the settings. I.e. settings changes in the UI are ignored. This deficiency will be rectified at a future time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4294 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix backward compatibility issuejstebbins2011-03-221-1/+1
| | | | | | | 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: update copyright datesjstebbins2011-01-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SSA subtitle burn injstebbins2010-09-281-17/+37
| | | | | | | | | | Anime fans rejoice! This patch adds SSA subtitle burn-in support with libass. Therefore SSA subtitles should now be rendered in full quality, with the appropriate embedded fonts and positioning information. Thanks to davidfstr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3557 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: initialize srt language with preferred language from preferncesjstebbins2010-06-091-2/+4
| | | | | | | whenever a new srt is added to the subtitle list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3374 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add SSA subtitle supportjstebbins2010-06-011-45/+20
| | | | | | | Thanks to davidfster git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: tweak the ui to accommodate universal subtitle inputjstebbins2010-05-291-2/+13
| | | | | | | | don't show burned or forced fields for non-vobsubs show subtitle type in the subtitle track combo box git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add support for Nero vobsubs in mp4jstebbins2010-05-241-9/+0
| | | | | | | | | | | Note that these do not work with any apple products that I know of. Perian might be able to do something with them. MPlayer and VLC both grok nero vobsubs. libhb, cli, and lingui updated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: enhancements to automatic audio selection when passthru is requestedjstebbins2009-11-241-1/+0
| | | | | | | and the source codec isn't capable of passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2969 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make subtitle burned and default checkboxes mutually exclusivejstebbins2009-11-201-2/+20
| | | | | | | | "default" doesn't really apply to burned in subtitles so it shouldn't be checked when burned. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2947 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix reference to hash key that was never added to hashjstebbins2009-11-191-55/+39
| | | | | | | reorganized some subtitle code to eliminate the possibility of this happening git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2945 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a couple subtitle UI issuesjstebbins2009-10-031-2/+8
| | | | | | | | - SRT filename was getting lost when moving the subtitle highlight around - SRT subtitles didn't get reloaded properly when editing a queue item git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2862 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix mbtree/b-pyramid dependency issuejstebbins2009-09-301-4/+4
| | | | | | | make sure b-pyramid gets set to insensitive when mbtree is enabled git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix incorrect marking of CC track as forced or burnedjstebbins2009-09-301-2/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2855 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix loading of multiple subtitles from a presetjstebbins2009-09-291-3/+5
| | | | | | | | under some circumstances the "default" and "forced" flags would end up on the incorrect entry in the list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2850 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem updating subtitle type description in subtitle listjstebbins2009-09-281-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2846 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: don't remove srt subs when changing from mkv to mp4jstebbins2009-09-261-13/+20
| | | | | | | | The logic to remove extra vobsubs that can't all be burned was also sweeping away srt's. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2841 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change mp4 extension to m4v if there are any soft subtitlesjstebbins2009-08-241-0/+21
| | | | | | | yet another qt boneheadism git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2775 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a double free crashjstebbins2009-07-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2720 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add preference option to automatically add CC track if presentjstebbins2009-07-171-0/+29
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2706 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: SRT supportjstebbins2009-06-301-26/+420
| | | | | | | | | | | | | | | | - there are now two buttons to add subtitles one button adds normal subtitles from the source. the second adds SRT subtitles. - when an SRT subtitle is selected in the list, the available controls change SRT controls are: Language, Character Codeset, File, and Time Offset (ms) - A combo entry box is used for character code. A subset of the most common character codes is available in the popup. Other codes can be manually entered in the entry box. - The last used SRT file directory is remembered. - Remove the debug printf eddyg left in decsrtsub.c git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a problem with saving subtitle language to presetjstebbins2009-06-271-0/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2635 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: subtitle previewsjstebbins2009-06-261-0/+7
| | | | | | | | | | - Increase the font size of subtitles in the preview. the default is microscopic. - reset the status of live preview encodings whenever a subtitle setting is changed. forces re-encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2632 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: preference improvementsjstebbins2009-06-241-1/+1
| | | | | | | | | | - move PreferredLanguage and AudioDUB from audio tab to preferences - move CRF vs. CQP option from video tab to preferences - reorganize preferences into categories (general, audio, advanced) - add blank spaces to unclutter preferences some. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2615 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add subtitle list to queue displayjstebbins2009-06-231-25/+35
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add audio-dub/add-subtitle radio buttons for preferred language controljstebbins2009-06-221-3/+76
| | | | | | | | | | - When Audio DUB is enabled, behavior is essentially unchanged - When Add Subtitle is enabled, a subtitle of the preferred language will be added to the subtitle list when the preferred language does not match the first audio track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2600 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Put DVD volume name scanning on it's own thread.jstebbins2009-06-191-3/+3
| | | | | | | | | | At startup, I scan all dvd devices for their volume names. Usually this information is cached by the filesystem so this is fast. But every once in a while this takes several seconds which delays the initial display of the UI. This activity is now on it's own thread to prevent the delay. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: revert the extra widgets for subtitle foreign audio searchjstebbins2009-06-081-39/+1
| | | | | | | | put it back in the list with the normal subtitle tracks. gets rid of extra preset keys that were really unnecessary git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2504 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make "Foreign Audio Search" a separate widget instead of adding itjstebbins2009-06-041-6/+42
| | | | | | | like a to the subtitle track list as if it were a regular subtitle track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2485 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: jstebbins2009-06-031-94/+110
| | | | | | | | | | improve the behavior of "burned" flag when switching between mkv and mp4 containers. since the list may contain a mix of subtitles that is impossible in mp4, do a reasonable job of cleaning it up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2480 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubs:jstebbins2009-06-031-289/+144
| | | | | | | | | | | | | | - add ability to have 1 source subtitle feed many output subtitles use hb_subtitle_add() to add output tracks. example use case: you want forced subtitles from a source track on one output track and the entire subtitle stream from the same source track on a second output track - LinGui: make subtitle tab resemble functionality of the audio tab any track can be added multiple times with different settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2476 b64f7644-9d1e-0410-96f1-a4d463321fa5
* softsubtitles:jstebbins2009-06-021-9/+95
| | | | | | | | | | | | | | | | | | - when doing an indepth scan, do not scan CC tracks - separate subtitle configureation attributes into separate hb_subtitle_config_t. Add an instance of this to hb_job_t for setting the attributes of the subtitle found through an indepth scan - Add a default_track flag to hb_subtitle_config_t that tells the muxer that the track should be flaged as the default. muxmkv uses this. - When an indepth scan is complete, check to see if the autoselected subtitle matchces (by id) one of the manually selected subtitles. If a match is found, the autoselected subtitle with all the attributes the user assigned to it replaces the manually selected subtitle. - LinGui: Add "Default" column to subtitle tab. This is a radio that lets the user choose which subtitle should be displayed by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2468 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a couple bugs in subtitle handlingjstebbins2009-05-221-7/+3
| | | | | | | | | - validation of subtitiles wasn't looking at the 'enabled' flag so it gave an incorrect warning message for subtitles that were not enabled - subtitles were being erroneously enabled when there was no subtitle list in the preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2440 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-221-4/+32
| | | | | | reload subtitles properly when a queue item is edited git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2438 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-211-172/+224
| | | | | | | add 'enable' checkbox to subtitle list and show all subtitles in the list after scanning. Thanks eddyg for the suggestions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2434 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-201-109/+108
| | | | | | | - Move the subtitle track combo into the treeview list Each subtitle entry has its own combo to select the track now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2433 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: give feedback indicating problems with subtitle selectionsjstebbins2009-05-201-22/+127
| | | | | | | | | - highlight subtitles that can not be encoded for some reason example: user adds several subtitles, then changes container from mkv to mp4 - validate subtitle list when adding to queue and show warning popup when there's a problem git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2432 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui:jstebbins2009-05-201-4/+7
| | | | | | | | - fix a couple ui widget size/position issues - fix subtitle selection when no match is found in a title for a subtitle preset - fix an error in generating strings that describe a subtitles type git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2431 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: forgot a couple files needed for the subtitle supportjstebbins2009-05-191-0/+630
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2429 b64f7644-9d1e-0410-96f1-a4d463321fa5