Mercurial > libavformat.hg
comparison nutdec.c @ 3101:83537aac00f1 libavformat
subtitles (codec tag tables still missing ...)
author | michael |
---|---|
date | Sun, 02 Mar 2008 23:11:36 +0000 |
parents | f4c7d2d8acbb |
children | fca018d1bbce |
comparison
equal
deleted
inserted
replaced
3100:5f769b20cc76 | 3101:83537aac00f1 |
---|---|
323 st->codec->codec_id = codec_get_id(codec_wav_tags, tmp); | 323 st->codec->codec_id = codec_get_id(codec_wav_tags, tmp); |
324 if (st->codec->codec_id == CODEC_ID_NONE) | 324 if (st->codec->codec_id == CODEC_ID_NONE) |
325 av_log(s, AV_LOG_ERROR, "Unknown codec?!\n"); | 325 av_log(s, AV_LOG_ERROR, "Unknown codec?!\n"); |
326 break; | 326 break; |
327 case 2: | 327 case 2: |
328 // st->codec->codec_type = CODEC_TYPE_TEXT; | 328 st->codec->codec_type = CODEC_TYPE_SUBTITLE; |
329 // break; | 329 // st->codec->codec_id = codec_get_id(codec_wav_tags, tmp); FIXME |
330 if (st->codec->codec_id == CODEC_ID_NONE) | |
331 av_log(s, AV_LOG_ERROR, "Unknown codec?!\n"); | |
332 break; | |
330 case 3: | 333 case 3: |
331 st->codec->codec_type = CODEC_TYPE_DATA; | 334 st->codec->codec_type = CODEC_TYPE_DATA; |
332 break; | 335 break; |
333 default: | 336 default: |
334 av_log(s, AV_LOG_ERROR, "unknown stream class (%d)\n", class); | 337 av_log(s, AV_LOG_ERROR, "unknown stream class (%d)\n", class); |