[SCM] libav/experimental: use dts codec probing

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:46:53 UTC 2013


The following commit has been merged in the experimental branch:
commit e695906ec77b4647e29a769d24aef47bf6655af7
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Sun May 31 04:13:25 2009 +0000

    use dts codec probing
    
    Originally committed as revision 19014 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/utils.c b/libavformat/utils.c
index a93a954..252a797 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -336,6 +336,9 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score)
         } 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list