Commit 23e37d85 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Improve error message for v4l2.

parent cacd39b8
......@@ -1245,7 +1245,7 @@ int OpenVideoDev( demux_t *p_demux, char *psz_device )
/* Try and set user chroma */
if( !IsChromaSupported( p_demux, fmt.fmt.pix.pixelformat ) || ( fmt.fmt.pix.pixelformat && ioctl( i_fd, VIDIOC_S_FMT, &fmt ) < 0 ) )
{
msg_Warn( p_demux, "Driver is unable to use specified chroma. Using defaults." );
msg_Warn( p_demux, "Driver is unable to use specified chroma %4.4s. Using defaults.", (char *)&fmt.fmt.pix.pixelformat );
fmt.fmt.pix.pixelformat = 0;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment