IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> TIF Filter QueryInterface Failed
Guest_Howard_*
post Nov 29 2007, 07:40 PM
Post #1





Guests






Hi.

I'm new ATSC BDA Developer.

(1)

I'd like to get guidedata pointer using TIF Filter Query interface as shown followng source.
but return value after calling TIF Filter Query interface is Failed.

----------------------------------------------------------------------------------------------------------
HRESULT CGraph::CheckTIFPin(IBaseFilter* pDemux)
{
HRESULT hr = E_INVALIDARG;

if(pDemux == NULL)
return hr;

AM_MEDIA_TYPE pintype;
GetTIFMedia(&pintype);

IPin* pOPin = NULL;
if (SUCCEEDED(CheckDemuxPin(pDemux, pintype, &pOPin)))
{

IPin* pIPin = NULL;
if (SUCCEEDED(pOPin->ConnectedTo(&pIPin)))
{

PIN_INFO pinInfo;
if (SUCCEEDED(pIPin->QueryPinInfo(&pinInfo)))
{

IBaseFilter* pTIF;
pTIF = pinInfo.pFilter;

// Get the GuideData interface from the TIF filter
IGuideData* pGuideData;
hr = pTIF->QueryInterface(&pGuideData);
if (SUCCEEDED(hr))

-------------------------------------------------------------------------------------------------------------
(2)
Does'nt ATSC TIF Filter support EPG(Guide Data) yet ?

Please inform us above peoblem.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2018 - 12:43 PM