[xiph-commits] r11887 - trunk/oggdsf/src/lib/codecs/flac/filters/dsfFLACEncoder

illiminable at svn.xiph.org illiminable at svn.xiph.org
Thu Oct 5 23:51:07 PDT 2006


Author: illiminable
Date: 2006-10-05 23:51:04 -0700 (Thu, 05 Oct 2006)
New Revision: 11887

Modified:
   trunk/oggdsf/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeOutputPin.cpp
Log:
* More tidy up in flac encoder filter

Modified: trunk/oggdsf/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeOutputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeOutputPin.cpp	2006-10-05 17:01:26 UTC (rev 11886)
+++ trunk/oggdsf/src/lib/codecs/flac/filters/dsfFLACEncoder/FLACEncodeOutputPin.cpp	2006-10-06 06:51:04 UTC (rev 11887)
@@ -32,8 +32,16 @@
 #include "stdafx.h"
 #include "FLACencodeoutputpin.h"
 
-FLACEncodeOutputPin::FLACEncodeOutputPin(FLACEncodeFilter* inParentFilter,CCritSec* inFilterLock, vector<CMediaType*> inAcceptableMediaTypes)
-	:	AbstractTransformOutputPin(inParentFilter, inFilterLock,NAME("FLACDecodeOutputPin"), L"FLAC Out", 131072, 5, inAcceptableMediaTypes)
+FLACEncodeOutputPin::FLACEncodeOutputPin(       FLACEncodeFilter* inParentFilter
+                                            ,   CCritSec* inFilterLock
+                                            ,   vector<CMediaType*> inAcceptableMediaTypes)
+	:	AbstractTransformOutputPin(     inParentFilter
+                                    ,   inFilterLock
+                                    ,   NAME("FLACDecodeOutputPin")
+                                    ,   L"FLAC Out"
+                                    ,   131072
+                                    ,   5
+                                    ,   inAcceptableMediaTypes)
 {
 }
 
@@ -54,13 +62,3 @@
 	}
 }
 
-//bool FLACEncodeOutputPin::FillFormatBuffer(BYTE* inFormatBuffer) {
-//	FLACEncodeFilter* locParentFilter = (FLACEncodeFilter*)mParentFilter;
-//
-//	//TODO::: This is not needed... put in a get and set
-//	memcpy((void*)inFormatBuffer, (const void*) &(locParentFilter->mFLACFormatBlock), sizeof(sFLACFormatBlock));
-//	return true;
-//}
-//unsigned long FLACEncodeOutputPin::FormatBufferSize() {
-//	return sizeof(sFLACFormatBlock);
-//}



More information about the commits mailing list