diff nut.c @ 3112:88e032ac11e7 libavformat

Subtitle support. (untested)
author michael
date Wed, 05 Mar 2008 13:06:49 +0000
parents 0439b354e005
children ea5623a8efde
line wrap: on
line diff
--- a/nut.c	Wed Mar 05 12:06:57 2008 +0000
+++ b/nut.c	Wed Mar 05 13:06:49 2008 +0000
@@ -22,6 +22,14 @@
 #include "nut.h"
 #include "tree.h"
 
+const AVCodecTag ff_nut_subtitle_tags[] = {
+    { CODEC_ID_TEXT        , MKTAG('U', 'T', 'F', '8') },
+    { CODEC_ID_SSA         , MKTAG('S', 'S', 'A',  0 ) },
+    { CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') },
+    { CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') },
+    { CODEC_ID_NONE        , 0                         }
+};
+
 void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val){
     int i;
     for(i=0; i<nut->avf->nb_streams; i++){