From 67deba8a416d818f3d95aef0aa916589090396e2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 16 Dec 2015 18:01:34 +0100 Subject: Use avpriv_report_missing_feature() where appropriate --- libavdevice/vfwcap.c | 3 +-- libavdevice/xcbgrab.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'libavdevice') 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; } -- cgit v1.2.3