mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
dshow: fix log message
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
This commit is contained in:
parent
d71f8d74db
commit
6d33026668
@ -786,8 +786,8 @@ dshow_add_device(AVFormatContext *avctx,
|
|||||||
codec->height = bih->biHeight;
|
codec->height = bih->biHeight;
|
||||||
codec->pix_fmt = dshow_pixfmt(bih->biCompression, bih->biBitCount);
|
codec->pix_fmt = dshow_pixfmt(bih->biCompression, bih->biBitCount);
|
||||||
if(bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
|
if(bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "attempt use full range for HDYC...");
|
av_log(avctx, AV_LOG_DEBUG, "attempt use full range for HDYC...");
|
||||||
codec->color_range = AVCOL_RANGE_MPEG;
|
codec->color_range = AVCOL_RANGE_MPEG; // just in case it needs this...
|
||||||
}
|
}
|
||||||
if (codec->pix_fmt == AV_PIX_FMT_NONE) {
|
if (codec->pix_fmt == AV_PIX_FMT_NONE) {
|
||||||
codec->codec_id = dshow_codecid(bih->biCompression);
|
codec->codec_id = dshow_codecid(bih->biCompression);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user