aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-17 00:15:34 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-17 10:29:34 +0200
commit031ba466331c091bd68ce757b8ae11497306b8b7 (patch)
tree01f238693dc573daab6f74789a80f420f7d69fb6 /ffplay.c
parentc6ef3f44812582da27cb7300674176a28c2a2ef4 (diff)
downloadffmpeg-031ba466331c091bd68ce757b8ae11497306b8b7.tar.gz
ffplay: increase log level of the message issued when the stream frame size changes
Use av_log(AV_LOG_LEVEL...) rather than av_dlog, the log is useful even for "normal" debugging, and consistent with what is done in ffmpeg. Also change the message to achieve better consistency with the corresponding ffmpeg message.
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index b276056d2c..c5b26dfd46 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1749,8 +1749,8 @@ static int video_thread(void *arg)
#if CONFIG_AVFILTER
if ( last_w != is->video_st->codec->width
|| last_h != is->video_st->codec->height) {
- av_dlog(NULL, "Changing size %dx%d -> %dx%d\n", last_w, last_h,
- is->video_st->codec->width, is->video_st->codec->height);
+ av_log(NULL, AV_LOG_INFO, "Frame changed from size:%dx%d to size:%dx%d\n",
+ last_w, last_h, is->video_st->codec->width, is->video_st->codec->height);
avfilter_graph_free(&graph);
graph = avfilter_graph_alloc();
if ((ret = configure_video_filters(graph, is, vfilters)) < 0)