diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-16 18:01:34 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-08 17:54:34 +0100 |
commit | 67deba8a416d818f3d95aef0aa916589090396e2 (patch) | |
tree | f8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavdevice | |
parent | 59d2b00d201935c16408a2917957d89a170fe58f (diff) | |
download | ffmpeg-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz |
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/vfwcap.c | 3 | ||||
-rw-r--r-- | libavdevice/xcbgrab.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 9edd2c5f30..3523fde6e1 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -383,8 +383,7 @@ static int vfw_read_header(AVFormatContext *s) if (par->format == AV_PIX_FMT_NONE) { par->codec_id = vfw_codecid(biCompression); if (par->codec_id == AV_CODEC_ID_NONE) { - av_log(s, AV_LOG_ERROR, "Unknown compression type. " - "Please report verbose (-v 9) debug information.\n"); + avpriv_report_missing_feature(s, "This compression type"); vfw_read_close(s); return AVERROR_PATCHWELCOME; } diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 0fd99ebc9f..2913df5e94 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -500,7 +500,7 @@ static int pixfmt_from_pixmap_format(AVFormatContext *s, int depth, fmt++; } - av_log(s, AV_LOG_ERROR, "Pixmap format not mappable.\n"); + avpriv_report_missing_feature(s, "Mapping this pixmap format"); return AVERROR_PATCHWELCOME; } |