git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1640881
)
If you don't know how to scale ... don't pretend that you do. (Needs backporting)
author
Antoine Cellerier
<dionoea@videolan.org>
Thu, 28 Aug 2008 16:42:40 +0000
(18:42 +0200)
committer
Antoine Cellerier
<dionoea@videolan.org>
Thu, 28 Aug 2008 16:43:17 +0000
(18:43 +0200)
modules/video_chroma/yuy2_i420.c
patch
|
blob
|
history
diff --git
a/modules/video_chroma/yuy2_i420.c
b/modules/video_chroma/yuy2_i420.c
index
f10274d
..
2dfe3fd
100644
(file)
--- a/
modules/video_chroma/yuy2_i420.c
+++ b/
modules/video_chroma/yuy2_i420.c
@@
-76,6
+76,10
@@
static int Activate( vlc_object_t *p_this )
return -1;
}
return -1;
}
+ if( p_filter->fmt_in.video.i_width != p_filter->fmt_out.video.i_width
+ || p_filter->fmt_in.video.i_height != p_filter->fmt_out.video.i_height )
+ return -1;
+
switch( p_filter->fmt_out.video.i_chroma )
{
case VLC_FOURCC('I','4','2','0'):
switch( p_filter->fmt_out.video.i_chroma )
{
case VLC_FOURCC('I','4','2','0'):