X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fdecmetadata.c;h=bd848a95ad4f054bfccae95925aabfe0dc3c8ce7;hb=814438ce8ec7b400d211ef9050278e283d2bba5f;hp=df0c5b3ef7bc6c182d9be62859e6c83d224ac835;hpb=f664919814bbfc57f3cdc7698870f0182dc6b388;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/libhb/decmetadata.c b/libhb/decmetadata.c index df0c5b3e..bd848a95 100644 --- a/libhb/decmetadata.c +++ b/libhb/decmetadata.c @@ -13,7 +13,7 @@ static void decmp4metadata( hb_title_t *title ) MP4FileHandle input_file; hb_deep_log( 2, "Got an MP4 input, read the metadata"); - input_file = MP4Read( title->dvd, 0 ); + input_file = MP4Read( title->path, 0 ); if( input_file != MP4_INVALID_FILE_HANDLE ) { @@ -84,7 +84,7 @@ static void decmp4metadata( hb_title_t *title ) chapter->minutes = ( ( chapter->duration / 90000 ) % 3600 ) / 60; chapter->seconds = ( chapter->duration / 90000 ) % 60; strcpy( chapter->title, chapter_list[i-1].title ); - hb_deep_log( 2, "Added chapter %i, name='%s', dur=%lld, (%02i:%02i:%02i)", chapter->index, chapter->title, + hb_deep_log( 2, "Added chapter %i, name='%s', dur=%"PRId64", (%02i:%02i:%02i)", chapter->index, chapter->title, chapter->duration, chapter->hours, chapter->minutes, chapter->seconds); hb_list_add( title->list_chapter, chapter );