Commit 6ca53488 authored by Laurent Aimar's avatar Laurent Aimar

Allowed RV32 (same code than RGBA).

parent db9c7223
...@@ -73,6 +73,7 @@ static int OpenFilter( vlc_object_t *p_this ) ...@@ -73,6 +73,7 @@ static int OpenFilter( vlc_object_t *p_this )
p_filter->fmt_in.video.i_chroma != VLC_FOURCC('Y','U','V','A') && p_filter->fmt_in.video.i_chroma != VLC_FOURCC('Y','U','V','A') &&
p_filter->fmt_in.video.i_chroma != VLC_FOURCC('I','4','2','0') && p_filter->fmt_in.video.i_chroma != VLC_FOURCC('I','4','2','0') &&
p_filter->fmt_in.video.i_chroma != VLC_FOURCC('Y','V','1','2') && p_filter->fmt_in.video.i_chroma != VLC_FOURCC('Y','V','1','2') &&
p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','V','3','2') &&
p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','G','B','A') ) || p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','G','B','A') ) ||
p_filter->fmt_in.video.i_chroma != p_filter->fmt_out.video.i_chroma ) p_filter->fmt_in.video.i_chroma != p_filter->fmt_out.video.i_chroma )
{ {
...@@ -132,7 +133,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) ...@@ -132,7 +133,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
return NULL; return NULL;
} }
if( p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','G','B','A') ) if( p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','G','B','A') &&
p_filter->fmt_in.video.i_chroma != VLC_FOURCC('R','V','3','2') )
{ {
for( i_plane = 0; i_plane < p_pic_dst->i_planes; i_plane++ ) for( i_plane = 0; i_plane < p_pic_dst->i_planes; i_plane++ )
{ {
......
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