summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 720770a5d..a0e6b7a58 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -2808,7 +2808,8 @@ hb_title_t * hb_title_init( char * path, int index )
strcat( t->path, path );
// default to decoding mpeg2
t->video_id = 0xE0;
- t->video_codec = WORK_DECMPEG2;
+ t->video_codec = WORK_DECAVCODECV;
+ t->video_codec_param = AV_CODEC_ID_MPEG2VIDEO;
t->angle_count = 1;
t->pixel_aspect_width = 1;
t->pixel_aspect_height = 1;