[xiph-commits] r6965 -

illiminable at dactyl.lonelymoon.com illiminable
Sat Jul 3 10:43:48 PDT 2004


trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder
Message-ID: <20040703174348.506269AAAD at dactyl.lonelymoon.com>

Author: illiminable
Date: Sat Jul  3 10:43:48 2004
New Revision: 6965

Modified:
trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp
Log:
* Yes... the ordering of variable initialisations does matter ! But it was a pretty pink video !


Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp	2004-07-03 17:26:49 UTC (rev 6964)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp	2004-07-03 17:43:47 UTC (rev 6965)
@@ -366,21 +366,25 @@
=	mYUV.y_stride
=	(((mVideoFormat->bmiHeader.biWidth + 15)>>4)<<4);

+	mTheoraInfo.frame_width		=	mWidth
+								=	mVideoFormat->bmiHeader.biWidth;
+
mYUV.uv_width				=	mYUV.uv_stride
=	mWidth/2;

-	mTheoraInfo.frame_width		=	mWidth
-								=	mVideoFormat->bmiHeader.biWidth;
+
//

//Height data
mTheoraInfo.height			=	mYUV.y_height
=	(((mVideoFormat->bmiHeader.biHeight + 15)>>4)<<4);

+	mTheoraInfo.frame_height	=	mHeight
+								=	mVideoFormat->bmiHeader.biHeight;
+
mYUV.uv_height				=	mHeight/2;

-	mTheoraInfo.frame_height	=	mHeight
-								=	mVideoFormat->bmiHeader.biHeight;
+
//

//Set offset values... centred



More information about the commits mailing list