summaryrefslogtreecommitdiffstats
path: root/libhb/dvdnav.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r--libhb/dvdnav.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index 779f234ec..970ee29c5 100644
--- a/libhb/dvdnav.c
+++ b/libhb/dvdnav.c
@@ -351,7 +351,8 @@ static void add_subtitle( hb_list_t * list_subtitle, int position,
subtitle->config.dest = RENDERSUB;
subtitle->stream_type = 0xbd;
subtitle->substream_type = 0x20 + position;
- subtitle->codec = WORK_DECVOBSUB;
+ subtitle->codec = WORK_DECAVSUB;
+ subtitle->codec_param = AV_CODEC_ID_DVD_SUBTITLE;
subtitle->timebase.num = 1;
subtitle->timebase.den = 90000;