[vlc-devel] commit: Allowed RV32 (same code than RGBA). (Laurent Aimar )
git version control
git at videolan.org
Tue Jul 1 01:06:25 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 30 23:08:28 2008 +0000| [6ca53488910d5e9920384f7c363f625568123ec6]
Allowed RV32 (same code than RGBA).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ca53488910d5e9920384f7c363f625568123ec6
---
modules/video_filter/scale.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/scale.c b/modules/video_filter/scale.c
index 53503ee..726d513 100644
--- a/modules/video_filter/scale.c
+++ b/modules/video_filter/scale.c
@@ -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('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('R','V','3','2') &&
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 )
{
@@ -132,7 +133,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
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++ )
{
More information about the vlc-devel
mailing list