eia 608 embedded in video was supported (i.e. ffmpeg frame side
data AV_FRAME_DATA_A53_CC), but not as it's own track.
Fixes https://github.com/HandBrake/HandBrake/issues/1300
subtitle->config.dest = RENDERSUB;
subtitle->codec = WORK_DECPGSSUB;
break;
+ case AV_CODEC_ID_EIA_608:
+ subtitle->format = TEXTSUB;
+ subtitle->source = CC608SUB;
+ subtitle->config.dest = PASSTHRUSUB;
+ subtitle->codec = WORK_DECCC608;
+ subtitle->attributes = HB_SUBTITLE_ATTR_CC;
+ break;
default:
hb_log( "add_ffmpeg_subtitle: unknown subtitle stream type: 0x%x",
(int) codecpar->codec_id );