Commit 819e4e79 authored by James Almer's avatar James Almer

avformat/matroskaenc: reindent after the previous commit

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 84396565
...@@ -1249,19 +1249,19 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv, ...@@ -1249,19 +1249,19 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv,
} }
} }
} else if (par->codec_id == AV_CODEC_ID_WEBVTT) { } else if (par->codec_id == AV_CODEC_ID_WEBVTT) {
if (st->disposition & AV_DISPOSITION_CAPTIONS) { if (st->disposition & AV_DISPOSITION_CAPTIONS) {
codec_id = "D_WEBVTT/CAPTIONS"; codec_id = "D_WEBVTT/CAPTIONS";
native_id = MATROSKA_TRACK_TYPE_SUBTITLE; native_id = MATROSKA_TRACK_TYPE_SUBTITLE;
} else if (st->disposition & AV_DISPOSITION_DESCRIPTIONS) { } else if (st->disposition & AV_DISPOSITION_DESCRIPTIONS) {
codec_id = "D_WEBVTT/DESCRIPTIONS"; codec_id = "D_WEBVTT/DESCRIPTIONS";
native_id = MATROSKA_TRACK_TYPE_METADATA; native_id = MATROSKA_TRACK_TYPE_METADATA;
} else if (st->disposition & AV_DISPOSITION_METADATA) { } else if (st->disposition & AV_DISPOSITION_METADATA) {
codec_id = "D_WEBVTT/METADATA"; codec_id = "D_WEBVTT/METADATA";
native_id = MATROSKA_TRACK_TYPE_METADATA; native_id = MATROSKA_TRACK_TYPE_METADATA;
} else { } else {
codec_id = "D_WEBVTT/SUBTITLES"; codec_id = "D_WEBVTT/SUBTITLES";
native_id = MATROSKA_TRACK_TYPE_SUBTITLE; native_id = MATROSKA_TRACK_TYPE_SUBTITLE;
} }
} }
if (!native_id) { if (!native_id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment