Revision 80357cfc

View differences:

libavformat/movenc.c
923 923
            descr = "SoundHandler";
924 924
        } else if (track->enc->codec_type == CODEC_TYPE_SUBTITLE) {
925 925
            if (track->tag == MKTAG('t','x','3','g')) hdlr_type = "sbtl";
926
            else                          hdlr_type = "text";
926
            else                                      hdlr_type = "text";
927 927
            descr = "SubtitleHandler";
928 928
        }
929 929
    }
......
952 952
        mov_write_smhd_tag(pb);
953 953
    else if (track->enc->codec_type == CODEC_TYPE_SUBTITLE) {
954 954
        if (track->tag == MKTAG('t','e','x','t')) mov_write_gmhd_tag(pb);
955
        else                         mov_write_nmhd_tag(pb);
955
        else                                      mov_write_nmhd_tag(pb);
956 956
    }
957 957
    if (track->mode == MODE_MOV) /* FIXME: Why do it for MODE_MOV only ? */
958 958
        mov_write_hdlr_tag(pb, NULL);

Also available in: Unified diff