Changeset 23e37d8587da18ed726400b68db9d0f4ee60e316
- Timestamp:
- 31/10/07 21:30:52
(1 year ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1193862652 +0000
- git-parent:
[cacd39b8661a299781bbeb4c888a36d4a47215ca]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1193862652 +0000
- Message:
Improve error message for v4l2.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r17ed8b5 |
r23e37d8 |
|
| 872 | 872 | |
|---|
| 873 | 873 | if( !p_frame ) return 0; |
|---|
| 874 | | |
|---|
| | 874 | |
|---|
| 875 | 875 | /* New block */ |
|---|
| 876 | 876 | if( !( p_block = block_New( p_demux, p_sys->i_video_frame_size ) ) ) |
|---|
| … | … | |
| 1246 | 1246 | if( !IsChromaSupported( p_demux, fmt.fmt.pix.pixelformat ) || ( fmt.fmt.pix.pixelformat && ioctl( i_fd, VIDIOC_S_FMT, &fmt ) < 0 ) ) |
|---|
| 1247 | 1247 | { |
|---|
| 1248 | | msg_Warn( p_demux, "Driver is unable to use specified chroma. Using defaults." ); |
|---|
| | 1248 | msg_Warn( p_demux, "Driver is unable to use specified chroma %4.4s. Using defaults.", (char *)&fmt.fmt.pix.pixelformat ); |
|---|
| 1249 | 1249 | fmt.fmt.pix.pixelformat = 0; |
|---|
| 1250 | 1250 | } |
|---|