X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fcommon.c;h=52ea27f66bdb6ab5707685d1538cc472ddea49d1;hb=033e32de9c380f54c7d1362a3979da205ebc3a29;hp=1da836ece465ef0a0b56b532f5a681688d4179c5;hpb=89fcf04fbfa36be493df94b160633cf2c1d58a7f;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/common.c b/libhb/common.c index 1da836ec..52ea27f6 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -880,6 +880,7 @@ int hb_srt_add( const hb_job_t * job, subtitle = calloc( 1, sizeof( *subtitle ) ); + subtitle->id = (hb_list_count(job->list_subtitle) << 8) | 0xFF; subtitle->format = TEXTSUB; subtitle->source = SRTSUB;