summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-03 22:07:49 +0000
committerjstebbins <[email protected]>2009-06-03 22:07:49 +0000
commit705ea262b0f53fd19df594dfc8026798cf001155 (patch)
tree30c8fa07c6bc3808f9081356eb7850e33519e9c9 /libhb/common.h
parentfa937f5aab19995d36ffbb59eb017d9428a5037f (diff)
softsubs:
- 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
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h
index b9e26682e..f677d8bb5 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -95,6 +95,8 @@ void hb_audio_config_init(hb_audio_config_t * audiocfg);
int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg);
hb_audio_config_t * hb_list_audio_config_item(hb_list_t * list, int i);
+int hb_subtitle_add(const hb_job_t * job, const hb_subtitle_config_t * subtitlecfg, int track);
+
struct hb_rate_s
{
char * string;
@@ -449,7 +451,7 @@ struct hb_chapter_s
struct hb_subtitle_s
{
int id;
- int track;
+ int track;
hb_subtitle_config_t config;