Add a quality factor packet side data
[ffmpeg.git] / libavformat / dump.c
index 22ae5861469c053f7c1700389cbb8fc364024173..878eae8c1d2d947c69aea0f7ac1f0b5349ab2ca1 100644 (file)
@@ -359,6 +359,9 @@ static void dump_sidedata(void *ctx, AVStream *st, const char *indent)
             av_log(ctx, AV_LOG_INFO, "audio service type: ");
             dump_audioservicetype(ctx, &sd);
             break;
+        case AV_PKT_DATA_QUALITY_FACTOR:
+            av_log(ctx, AV_LOG_INFO, "quality factor: %d", *(int *)sd.data);
+            break;
         default:
             av_log(ctx, AV_LOG_WARNING,
                    "unknown side data type %d (%d bytes)", sd.type, sd.size);