Changeset 23e37d8587da18ed726400b68db9d0f4ee60e316

Show
Ignore:
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
  • modules/access/v4l2.c

    r17ed8b5 r23e37d8  
    872872 
    873873    if( !p_frame ) return 0; 
    874              
     874 
    875875    /* New block */ 
    876876    if( !( p_block = block_New( p_demux, p_sys->i_video_frame_size ) ) ) 
     
    12461246        if( !IsChromaSupported( p_demux, fmt.fmt.pix.pixelformat ) || ( fmt.fmt.pix.pixelformat && ioctl( i_fd, VIDIOC_S_FMT, &fmt ) < 0 ) ) 
    12471247        { 
    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 ); 
    12491249            fmt.fmt.pix.pixelformat = 0; 
    12501250        }