]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_showinfo.c
af_volume: support using replaygain frame side data
[ffmpeg] / libavfilter / vf_showinfo.c
index 04b436d4b0561a333a551ca46c60294471268df5..73d72ab8de1283132a9cb6736ffc11f182bb5e4f 100644 (file)
@@ -22,6 +22,8 @@
  * filter for showing textual video frame information
  */
 
+#include <inttypes.h>
+
 #include "libavutil/adler32.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/internal.h"
@@ -57,7 +59,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
     av_log(ctx, AV_LOG_INFO,
            "n:%d pts:%"PRId64" pts_time:%f "
            "fmt:%s sar:%d/%d s:%dx%d i:%c iskey:%d type:%c "
-           "checksum:%u plane_checksum:[%u %u %u %u]\n",
+           "checksum:%"PRIu32" plane_checksum:[%"PRIu32" %"PRIu32" %"PRIu32" %"PRIu32"]\n",
            showinfo->frame,
            frame->pts, frame->pts * av_q2d(inlink->time_base),
            desc->name,
@@ -91,7 +93,7 @@ static const AVFilterPad avfilter_vf_showinfo_outputs[] = {
     { NULL }
 };
 
-AVFilter avfilter_vf_showinfo = {
+AVFilter ff_vf_showinfo = {
     .name        = "showinfo",
     .description = NULL_IF_CONFIG_SMALL("Show textual information for each video frame."),