diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-03 10:50:28 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-06-23 08:49:49 +0200 |
commit | 41b68dce4d148b6a227d001b32deb275c01aa550 (patch) | |
tree | c385237106b906e67187a5d5fb68192a785e19cf /libavdevice/fbdev.c | |
parent | a4bda405447b13e84b4004ab281ae01abd230e22 (diff) | |
download | ffmpeg-41b68dce4d148b6a227d001b32deb275c01aa550.tar.gz |
lavdev: improve feedback in case of invalid frame rate/size
Show the invalid string in the error message.
While at it also prefer "Could not" over "Couldn't", plain forms are
preferred over contractions (simplify readability, especially for non
English-savvy people).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavdevice/fbdev.c')
-rw-r--r-- | libavdevice/fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c index 68a52693fd..2f3e0ff937 100644 --- a/libavdevice/fbdev.c +++ b/libavdevice/fbdev.c @@ -104,7 +104,7 @@ av_cold static int fbdev_read_header(AVFormatContext *avctx, ret = av_parse_video_rate(&fbdev->framerate_q, fbdev->framerate); if (ret < 0) { - av_log(avctx, AV_LOG_ERROR, "Couldn't parse framerate.\n"); + av_log(avctx, AV_LOG_ERROR, "Could not parse framerate '%s'.\n", fbdev->framerate); return ret; } #if FF_API_FORMAT_PARAMETERS |