avformat/dashenc: Format VP9 profile as decimal instead of Hexadecimal
authorJames Almer <jamrial@gmail.com>
Mon, 17 Sep 2018 17:29:46 +0000 (14:29 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 17 Sep 2018 17:29:46 +0000 (14:29 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/dashenc.c

index dc8af2f..df7a856 100644 (file)
@@ -211,7 +211,7 @@ static void set_vp9_codec_str(AVFormatContext *s, AVCodecParameters *par,
     VPCC vpcc;
     int ret = ff_isom_get_vpcc_features(s, par, frame_rate, &vpcc);
     if (ret == 0) {
-        av_strlcatf(str, size, "vp09.%02x.%02d.%02d",
+        av_strlcatf(str, size, "vp09.%02d.%02d.%02d",
                     vpcc.profile, vpcc.level, vpcc.bitdepth);
     } else {
         // Default to just vp9 in case of error while finding out profile or level