diff options
author | eddyg <[email protected]> | 2009-06-23 00:32:36 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2009-06-23 00:32:36 +0000 |
commit | a51f35b6201202aed554f92fd540e4a3ca19cd0e (patch) | |
tree | c123aa5643eef80ff50b8ec7befbbf6272fa8851 /libhb/common.h | |
parent | 7b90e7deaa04a4ac7e1af7d8bf5996549dd2ea5f (diff) |
CLI: SubRip Subtitle import
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2602 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h index 488004f7a..808714ee7 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -96,6 +96,9 @@ 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); +int hb_srt_add(const hb_job_t * job, const hb_subtitle_config_t * subtitlecfg, + const char *lang); + struct hb_rate_s { @@ -115,7 +118,10 @@ struct hb_subtitle_config_s { enum subdest { RENDERSUB, PASSTHRUSUB } dest; int force; - int default_track; + int default_track; + char src_filename[128]; + char src_codeset[40]; + int64_t offset; }; #define HB_VIDEO_RATE_BASE 27000000 @@ -671,6 +677,7 @@ extern hb_work_object_t hb_decmpeg2; extern hb_work_object_t hb_decvobsub; extern hb_work_object_t hb_encvobsub; extern hb_work_object_t hb_deccc608; +extern hb_work_object_t hb_decsrtsub; extern hb_work_object_t hb_render; extern hb_work_object_t hb_encavcodec; extern hb_work_object_t hb_encx264; |