X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fcommon.c;h=52ea27f66bdb6ab5707685d1538cc472ddea49d1;hb=033e32de9c380f54c7d1362a3979da205ebc3a29;hp=82499635225fb2830c8bf7a81ab95d63c81fd36a;hpb=d6a4ae73b86cca10f2342c9e26c132855cad6356;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/common.c b/libhb/common.c index 82499635..52ea27f6 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -124,8 +124,8 @@ void hb_fix_aspect( hb_job_t * job, int keep ) if ( title->height == 0 || title->width == 0 || title->aspect == 0 ) { hb_log( "hb_fix_aspect: incomplete info for title %d: " - "height = %d, width = %d, aspect = %d", - title->height, title->width, title->aspect ); + "height = %d, width = %d, aspect = %.3f", + title->index, title->height, title->width, title->aspect ); return; } @@ -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;