mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
mov: Unbreak sbtl writing
This commit is contained in:
parent
654c7446a8
commit
f94371b1db
@ -1312,9 +1312,13 @@ static int mov_write_hdlr_tag(AVIOContext *pb, MOVTrack *track)
|
||||
hdlr_type = "soun";
|
||||
descr = "SoundHandler";
|
||||
} else if (track->enc->codec_type == AVMEDIA_TYPE_SUBTITLE) {
|
||||
if (track->tag == MKTAG('t','x','3','g')) hdlr_type = "sbtl";
|
||||
if (track->tag == MKTAG('m','p','4','s')) hdlr_type = "subp";
|
||||
else hdlr_type = "text";
|
||||
if (track->tag == MKTAG('t','x','3','g')) {
|
||||
hdlr_type = "sbtl";
|
||||
} else if (track->tag == MKTAG('m','p','4','s')) {
|
||||
hdlr_type = "subp";
|
||||
} else {
|
||||
hdlr_type = "text";
|
||||
}
|
||||
descr = "SubtitleHandler";
|
||||
} else if (track->enc->codec_tag == MKTAG('r','t','p',' ')) {
|
||||
hdlr_type = "hint";
|
||||
|
Loading…
x
Reference in New Issue
Block a user