summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 420904b61..6ff83a872 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -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;