Changeset 152


Ignore:
Timestamp:
Nov 28, 2012, 1:51:00 AM (10 years ago)
Author:
roman
Message:
 
Location:
trunk/Utilities/DumpMediaSamples
Files:
1 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/DumpMediaSamples/DumpMediaSamples.cpp

    r143 r152  
    55// A permission to use the source code is granted as long as reference to
    66// source website http://alax.info is retained.
    7 //
    8 // $Id$
    97
    108#include "stdafx.h"
    119//#include <qedit.h>
    1210#include "rodshow.h"
     11#include "Handler.h"
    1312
    1413#pragma region Re-Adding Removed from Windows SDK qedit.h
     
    172171                mutable CRoCriticalSection m_DataCriticalSection;
    173172                CMediaType m_pMediaType;
     173                CComPtr<CAbstractHandler> m_pHandler;
    174174
    175175        public:
     
    253253                                ;
    254254                        _tprintf(_T("\n"));
     255                }
     256                VOID SetHandler(CAbstractHandler* pHandler)
     257                {
     258                        CRoCriticalSectionLock DataLock(m_DataCriticalSection);
     259                        m_pHandler = pHandler;
    255260                }
    256261
     
    291296                                                0);
    292297                                }
     298                                if(m_pHandler)
     299                                        m_pHandler->HandleSample(Properties);
    293300                                _tprintf(_T("\n"));
    294301                        }
     
    373380                        const CMediaType pMediaType = _FilterGraphHelper::GetPinMediaType(_FilterGraphHelper::GetFilterPin(CComQIPtr<IBaseFilter>(pSampleGrabber), PINDIR_INPUT));
    374381                        pSampleGrabberCallback->SetMediaType(pMediaType);
     382                        //typedef CHdycInterlacingHandler CHandler;
     383                        //CObjectPtr<CHandler> pHandler;
     384                        //pHandler.Construct()->Initialize(pMediaType);
     385                        //pSampleGrabberCallback->SetHandler(pHandler);
    375386                }
    376387                #pragma endregion
     
    505516        return nResult;
    506517}
     518
     519
  • trunk/Utilities/DumpMediaSamples/DumpMediaSamples.sln

    r142 r152  
    11Microsoft Visual Studio Solution File, Format Version 12.00
    22# Visual Studio 2012
    3 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DumpMediaSamples", "DumpMediaSamples.vcproj", "{1421856B-3882-48ED-8E77-6C302CE9279C}"
     3Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DumpMediaSamples", "DumpMediaSamples.vcxproj", "{1421856B-3882-48ED-8E77-6C302CE9279C}"
    44EndProject
    55Global
  • trunk/Utilities/DumpMediaSamples/DumpMediaSamples.vcxproj

    r142 r152  
    113113  </ItemGroup>
    114114  <ItemGroup>
     115    <ClInclude Include="Handler.h" />
    115116    <ClInclude Include="stdafx.h" />
    116117  </ItemGroup>
  • trunk/Utilities/DumpMediaSamples/DumpMediaSamples.vcxproj.filters

    r143 r152  
    33  <ItemGroup>
    44    <Filter Include="Source Files">
    5       <UniqueIdentifier>{0399a72a-f850-4b5d-a481-3e32e763561e}</UniqueIdentifier>
     5      <UniqueIdentifier>{e1fde5e0-a09a-4951-93e2-27a400c905f6}</UniqueIdentifier>
    66      <Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm</Extensions>
    77    </Filter>
    88    <Filter Include="Header Files">
    9       <UniqueIdentifier>{16237c05-6860-49ec-a0cf-fa7c9efefbfe}</UniqueIdentifier>
     9      <UniqueIdentifier>{7603c873-6ee6-45c2-b9f8-bc4e681f8a2f}</UniqueIdentifier>
    1010      <Extensions>h;hpp;hxx;hm;inl;inc</Extensions>
    1111    </Filter>
    1212    <Filter Include="Resource Files">
    13       <UniqueIdentifier>{a7c3bd78-bfbe-4980-8cb7-96c550521289}</UniqueIdentifier>
     13      <UniqueIdentifier>{e1bb0791-cbaf-44ca-bed4-6c4a8d169e78}</UniqueIdentifier>
    1414      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
    1515    </Filter>
     
    2727      <Filter>Header Files</Filter>
    2828    </ClInclude>
     29    <ClInclude Include="Handler.h">
     30      <Filter>Header Files</Filter>
     31    </ClInclude>
    2932  </ItemGroup>
    3033</Project>
  • trunk/Utilities/DumpMediaSamples/stdafx.cpp

    r142 r152  
    55// A permission to use the source code is granted as long as reference to
    66// source website http://alax.info is retained.
    7 //
    8 // $Id$
    97
    108#include "stdafx.h"
  • trunk/Utilities/DumpMediaSamples/stdafx.h

    r142 r152  
    55// A permission to use the source code is granted as long as reference to
    66// source website http://alax.info is retained.
    7 //
    8 // $Id$
    97
    108#pragma once
Note: See TracChangeset for help on using the changeset viewer.