[FFmpeg-cvslog] avfiltergraph: add some debug info about selected pixel formats
Michael Niedermayer
git at videolan.org
Wed Jul 18 17:56:23 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jul 18 17:17:23 2012 +0200| [ef1c0b52953e4103956e5646880bf8c5681c33e2] | committer: Michael Niedermayer
avfiltergraph: add some debug info about selected pixel formats
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef1c0b52953e4103956e5646880bf8c5681c33e2
---
libavfilter/avfiltergraph.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index ccd5ff9..4b41529 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -430,6 +430,9 @@ static int pick_format(AVFilterLink *link, AVFilterLink *ref)
enum PixelFormat p = link->in_formats->formats[i];
best= avcodec_find_best_pix_fmt2(best, p, ref->format, has_alpha, NULL);
}
+ av_log(link->src,AV_LOG_DEBUG, "picking %s out of %d ref:%s alpha:%d\n",
+ av_get_pix_fmt_name(best), link->in_formats->format_count,
+ av_get_pix_fmt_name(ref->format), has_alpha);
link->in_formats->formats[0] = best;
}
}
More information about the ffmpeg-cvslog
mailing list