mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '619d5e7db88941cadb8136f805564e885c6c6434'
* commit '619d5e7db88941cadb8136f805564e885c6c6434': v4l2: Use the codec descriptor facility Conflicts: libavdevice/v4l2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
cde6e328de
@ -285,9 +285,9 @@ static void list_formats(AVFormatContext *ctx, int type)
|
||||
vfd.description);
|
||||
} else if (vfd.flags & V4L2_FMT_FLAG_COMPRESSED &&
|
||||
type & V4L_COMPFORMATS) {
|
||||
AVCodec *codec = avcodec_find_decoder(codec_id);
|
||||
av_log(ctx, AV_LOG_INFO, "Compressed: %9s : %20s :",
|
||||
codec ? codec->name : "Unsupported",
|
||||
const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
|
||||
av_log(ctx, AV_LOG_INFO, "Compressedll : %9s : %20s :",
|
||||
desc ? desc->name : "Unsupported",
|
||||
vfd.description);
|
||||
} else {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user