OSDN Git Service

x264: bump to r1159-3da3f95
[handbrake-jp/handbrake-jp-git.git] / libhb / scan.c
index 420904b..6ff83a8 100644 (file)
@@ -440,6 +440,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title )
         int vcodec = title->video_codec? title->video_codec : WORK_DECMPEG2;
         hb_work_object_t *vid_decoder = hb_get_work( vcodec );
         vid_decoder->codec_param = title->video_codec_param;
+        vid_decoder->title = title;
         vid_decoder->init( vid_decoder, NULL );
         hb_buffer_t * vid_buf = NULL;
         int vidskip = 0;