diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
commit | e3287077ecff33bd02227b85ec760fe47d796f54 (patch) | |
tree | d94ccb713264f90ad6048bfab85ef7fb85807fca /libavdevice | |
parent | b6c293d5e609a7b651c47d3de4749840ae00492e (diff) | |
parent | 67deba8a416d818f3d95aef0aa916589090396e2 (diff) |
Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'
* commit '67deba8a416d818f3d95aef0aa916589090396e2':
Use avpriv_report_missing_feature() where appropriate
Merged-by: Clément Bœsch <cboesch@gopro.com>
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 1ed73133cd..f03d38ac26 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -387,8 +387,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 2068cd3ab4..1968fe02d4 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -509,7 +509,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; } |