[FFmpeg-cvslog] hdyc col
Clément Bœsch
ubitux at gmail.com
Thu Feb 14 22:45:23 CET 2013
On Tue, Feb 05, 2013 at 09:18:39PM +0100, rogerdpack wrote:
> ffmpeg | branch: master | rogerdpack <rogerpack2005 at gmail.com> | Tue Jan 15 18:37:30 2013 -0700| [47e88486b4b3b3de992b07f89dfaedf410a8bd5e] | committer: rogerdpack
>
> hdyc col
>
Please add better commit description next time...
> Signed-off-by: rogerdpack <rogerpack2005 at gmail.com>
>
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=47e88486b4b3b3de992b07f89dfaedf410a8bd5e
> ---
>
> libavdevice/dshow.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
> index 342831d..aaba9bc 100644
> --- a/libavdevice/dshow.c
> +++ b/libavdevice/dshow.c
> @@ -785,6 +785,10 @@ dshow_add_device(AVFormatContext *avctx,
> codec->width = bih->biWidth;
> codec->height = bih->biHeight;
> codec->pix_fmt = dshow_pixfmt(bih->biCompression, bih->biBitCount);
> + if(bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
> + av_log(avctx, AV_LOG_ERROR, "attempt use full range for HDYC...");
I think it's missing a "to" or something.
> + codec->color_range = AVCOL_RANGE_MPEG;
> + }
Also, style is not correct (and not consistent with the surrounding code).
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20130214/59f2c8ad/attachment.asc>
More information about the ffmpeg-cvslog
mailing list