struct hb_title_s
{
char dvd[1024];
+ char name[1024];
int index;
int vts;
int ttn;
int c;
uint64_t duration;
float duration_correction;
+ unsigned char unused[1024];
title = hb_title_init( d->path, t );
+ if( DVDUDFVolumeInfo( d->reader, title->name, sizeof( title->name ),
+ unused, sizeof( unused ) ) )
+ {
+ goto fail;
+ }
hb_log( "scan: scanning title %d", t );
}
job->file = strdup( [[NSString stringWithFormat:
- @"%@/%p - Title %d.mp4", fConvertFolderString, self,
- title->index] UTF8String] );
+ @"%@/%s - Title %d - %@.mp4", fConvertFolderString,
+ title->name, title->index, [fConvertFormatPopUp
+ titleOfSelectedItem]] UTF8String] );
hb_add( fHandle, job );
}