changeset 4989:7cd258a049b1 libavformat

use dts codec probing
author bcoudurier
date Sun, 31 May 2009 04:13:25 +0000
parents ba58d4eaca58
children 0b15fbb456f4
files utils.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sun May 31 04:10:15 2009 +0000
+++ b/utils.c	Sun May 31 04:13:25 2009 +0000
@@ -336,6 +336,9 @@
         } else if (!strcmp(fmt->name, "h264")) {
             st->codec->codec_id = CODEC_ID_H264;
             st->codec->codec_type = CODEC_TYPE_VIDEO;
+        } else if (!strcmp(fmt->name, "dts")) {
+            st->codec->codec_id = CODEC_ID_DTS;
+            st->codec->codec_type = CODEC_TYPE_AUDIO;
         }
     }
     return !!fmt;