[vlc-devel] commit: Revert "Fixed segfault with I410 (it is 10 bits per pel)." ( Laurent Aimar )
git version control
git at videolan.org
Fri Aug 29 12:19:25 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Aug 29 00:17:37 2008 +0200| [d524ec29f7bbc56a2ea67d340d7349465e8e9db3] | committer: Laurent Aimar
Revert "Fixed segfault with I410 (it is 10 bits per pel)."
This reverts commit 48079eeaa7c011485072486cfe1efb6dbbe33b4d.
I410 is 9 bits per pel, it is ffmpeg doing something wrong.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d524ec29f7bbc56a2ea67d340d7349465e8e9db3
---
src/video_output/vout_pictures.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/video_output/vout_pictures.c b/src/video_output/vout_pictures.c
index 20a1143..9c62089 100644
--- a/src/video_output/vout_pictures.c
+++ b/src/video_output/vout_pictures.c
@@ -617,7 +617,7 @@ void vout_InitFormat( video_frame_format_t *p_format, vlc_fourcc_t i_chroma,
break;
case FOURCC_I410:
case FOURCC_YVU9:
- p_format->i_bits_per_pixel = 10;
+ p_format->i_bits_per_pixel = 9;
break;
case FOURCC_Y211:
p_format->i_bits_per_pixel = 8;
More information about the vlc-devel
mailing list