summaryrefslogtreecommitdiffstats
path: root/libhb/dvdnav.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-12-11 16:29:33 -0800
committerJohn Stebbins <[email protected]>2020-03-29 08:23:20 -0600
commit93ac83aca7220403b84fb88d4b0326f383e862b9 (patch)
tree983d995ec7c0d48e90cfeaa63dbdb7923f328c26 /libhb/dvdnav.c
parent494a548865e20767076f2caaa4f23522ee750687 (diff)
decavsub: use libav to decode dvd subtitles
Simplifies code, removes encvobsub.c (was never used) and decvobsub.c.
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;