diff options
-rw-r--r-- | libhb/common.c | 1 | ||||
-rw-r--r-- | libhb/muxavformat.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c index 4d74f5cee..a5f4bcaf5 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -5016,6 +5016,7 @@ int hb_subtitle_can_pass( int source, int mux ) case HB_MUX_AV_MKV: switch( source ) { + case DVBSUB: case PGSSUB: case VOBSUB: case SSASUB: diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index 8507c4e5c..be5bf7b5d 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -853,6 +853,11 @@ static int avformatInit( hb_mux_object_t * m ) track->st->codecpar->codec_id = AV_CODEC_ID_HDMV_PGS_SUBTITLE; } break; + case DVBSUB: + { + track->st->codecpar->codec_id = AV_CODEC_ID_DVB_SUBTITLE; + } break; + case CC608SUB: case CC708SUB: case TX3GSUB: |