Changeset 1e2e68559e32d3ff1079e92ee920d84cfe01d631

Show
Ignore:
Timestamp:
28/08/08 19:09:48 (3 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1219943388 +0200
git-parent:

[89ec4e6268a775ec55544ad540d0143fad34b3f8]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1219943388 +0200
Message:

Here too. (yeah, we now have video filters in modules/video_chroma and modules/video_filter)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_filter/rv32.c

    r4b00ff6 r1e2e685  
    7070    /* XXX Only support RV24 -> RV32 conversion */ 
    7171    if( p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','V','2','4') || 
    72         p_filter->fmt_out.video.i_chroma != VLC_FOURCC('R', 'V', '3', '2') ) 
     72        (p_filter->fmt_out.video.i_chroma != VLC_FOURCC('R', 'V', '3', '2') && 
     73        p_filter->fmt_out.video.i_chroma != VLC_FOURCC('R', 'G', 'B', 'A')) ) 
    7374    { 
    7475        return VLC_EGENERIC; 
    7576    } 
     77 
     78    if( p_filter->fmt_in.video.i_width != p_filter->fmt_out.video.i_width 
     79     || p_filter->fmt_in.video.i_height != p_filter->fmt_out.video.i_height ) 
     80        return -1; 
    7681 
    7782    /* Allocate the memory needed to store the decoder's structure */