Changeset 152
- Timestamp:
- Nov 28, 2012, 1:51:00 AM (11 years ago)
- Location:
- trunk/Utilities/DumpMediaSamples
- Files:
-
- 1 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/DumpMediaSamples/DumpMediaSamples.cpp
r143 r152 5 5 // A permission to use the source code is granted as long as reference to 6 6 // source website http://alax.info is retained. 7 //8 // $Id$9 7 10 8 #include "stdafx.h" 11 9 //#include <qedit.h> 12 10 #include "rodshow.h" 11 #include "Handler.h" 13 12 14 13 #pragma region Re-Adding Removed from Windows SDK qedit.h … … 172 171 mutable CRoCriticalSection m_DataCriticalSection; 173 172 CMediaType m_pMediaType; 173 CComPtr<CAbstractHandler> m_pHandler; 174 174 175 175 public: … … 253 253 ; 254 254 _tprintf(_T("\n")); 255 } 256 VOID SetHandler(CAbstractHandler* pHandler) 257 { 258 CRoCriticalSectionLock DataLock(m_DataCriticalSection); 259 m_pHandler = pHandler; 255 260 } 256 261 … … 291 296 0); 292 297 } 298 if(m_pHandler) 299 m_pHandler->HandleSample(Properties); 293 300 _tprintf(_T("\n")); 294 301 } … … 373 380 const CMediaType pMediaType = _FilterGraphHelper::GetPinMediaType(_FilterGraphHelper::GetFilterPin(CComQIPtr<IBaseFilter>(pSampleGrabber), PINDIR_INPUT)); 374 381 pSampleGrabberCallback->SetMediaType(pMediaType); 382 //typedef CHdycInterlacingHandler CHandler; 383 //CObjectPtr<CHandler> pHandler; 384 //pHandler.Construct()->Initialize(pMediaType); 385 //pSampleGrabberCallback->SetHandler(pHandler); 375 386 } 376 387 #pragma endregion … … 505 516 return nResult; 506 517 } 518 519 -
trunk/Utilities/DumpMediaSamples/DumpMediaSamples.sln
r142 r152 1 1 Microsoft Visual Studio Solution File, Format Version 12.00 2 2 # Visual Studio 2012 3 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DumpMediaSamples", "DumpMediaSamples.vc proj", "{1421856B-3882-48ED-8E77-6C302CE9279C}"3 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DumpMediaSamples", "DumpMediaSamples.vcxproj", "{1421856B-3882-48ED-8E77-6C302CE9279C}" 4 4 EndProject 5 5 Global -
trunk/Utilities/DumpMediaSamples/DumpMediaSamples.vcxproj
r142 r152 113 113 </ItemGroup> 114 114 <ItemGroup> 115 <ClInclude Include="Handler.h" /> 115 116 <ClInclude Include="stdafx.h" /> 116 117 </ItemGroup> -
trunk/Utilities/DumpMediaSamples/DumpMediaSamples.vcxproj.filters
r143 r152 3 3 <ItemGroup> 4 4 <Filter Include="Source Files"> 5 <UniqueIdentifier>{ 0399a72a-f850-4b5d-a481-3e32e763561e}</UniqueIdentifier>5 <UniqueIdentifier>{e1fde5e0-a09a-4951-93e2-27a400c905f6}</UniqueIdentifier> 6 6 <Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm</Extensions> 7 7 </Filter> 8 8 <Filter Include="Header Files"> 9 <UniqueIdentifier>{ 16237c05-6860-49ec-a0cf-fa7c9efefbfe}</UniqueIdentifier>9 <UniqueIdentifier>{7603c873-6ee6-45c2-b9f8-bc4e681f8a2f}</UniqueIdentifier> 10 10 <Extensions>h;hpp;hxx;hm;inl;inc</Extensions> 11 11 </Filter> 12 12 <Filter Include="Resource Files"> 13 <UniqueIdentifier>{ a7c3bd78-bfbe-4980-8cb7-96c550521289}</UniqueIdentifier>13 <UniqueIdentifier>{e1bb0791-cbaf-44ca-bed4-6c4a8d169e78}</UniqueIdentifier> 14 14 <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions> 15 15 </Filter> … … 27 27 <Filter>Header Files</Filter> 28 28 </ClInclude> 29 <ClInclude Include="Handler.h"> 30 <Filter>Header Files</Filter> 31 </ClInclude> 29 32 </ItemGroup> 30 33 </Project> -
trunk/Utilities/DumpMediaSamples/stdafx.cpp
r142 r152 5 5 // A permission to use the source code is granted as long as reference to 6 6 // source website http://alax.info is retained. 7 //8 // $Id$9 7 10 8 #include "stdafx.h" -
trunk/Utilities/DumpMediaSamples/stdafx.h
r142 r152 5 5 // A permission to use the source code is granted as long as reference to 6 6 // source website http://alax.info is retained. 7 //8 // $Id$9 7 10 8 #pragma once
Note: See TracChangeset
for help on using the changeset viewer.