Technology Questions

Go Back   Technology Questions > Hardware Questions > Electronics > Pocket PC General



Reply
 
LinkBack Thread Tools
  #1  
Old 08-27-2007, 06:00 AM
Ankur Gupta
Newsgroup Contributor
 
Posts: n/a
Replacing MEDIATYPE_VideoBuffered with MEDIATYPE_Video leads to cr

For the P&V App,
In the Video Encoder DMO, I am trying to keep only support for
MEDIATYPE_Video and removing MEDIATYPE_VideoBuffered and also suitably
changing CLSID in the registry of the input pin types for the DMO.

In the InternalCheckInputType function, its able to match the input type
against MEDIATYPE_Video and it returns properly S_OK. However after doing
this twice, after sometime, there is an exception raised, pimg crashes.

Call stack at that time is as follows:
1671948 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1671950 PID:b66e2eb2 TID:b699f6a2 <Output>
1671951 PID:b66e2eb2 TID:b699f6a2 <Input>
1671951 PID:b66e2eb2 TID:b699f6a2 Already connected
1671954 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1671954 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672074 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672075 PID:b66e2eb2 TID:b699f6a2 <Output>
1672076 PID:b66e2eb2 TID:b699f6a2 <Input>
1672077 PID:b66e2eb2 TID:b699f6a2 Already connected
1672084 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672084 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672085 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672104 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672124 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672124 PID:b66e2eb2 TID:b699f6a2 <Output>
1672125 PID:b66e2eb2 TID:b699f6a2 <AudioIn>
1672125 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672125 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672125 PID:b66e2eb2 TID:b699f6a2 sub type : Unknown GUID Name
1672125 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672125 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672125 PID:b66e2eb2 TID:b699f6a2 sub type : TIME_FORMAT_NONE
1672127 PID:b66e2eb2 TID:b699f6a2 Failed to agree type
1672133 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672133 PID:b66e2eb2 TID:b699f6a2 <Output>
1672133 PID:b66e2eb2 TID:b699f6a2 <Input>
1672136 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672136 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672136 PID:b66e2eb2 TID:b699f6a2 sub type : TIME_FORMAT_NONE
1672138 PID:b66e2eb2 TID:b699f6a2 Failed to agree type
1672140 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672140 PID:b66e2eb2 TID:b699f6a2 <Output>
1672143 PID:b66e2eb2 TID:b699f6a2 <AudioIn>
1672144 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672145 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672146 PID:b66e2eb2 TID:b699f6a2 sub type : Unknown GUID Name
1672147 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672148 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672150 PID:b66e2eb2 TID:b699f6a2 sub type : TIME_FORMAT_NONE
1672151 PID:b66e2eb2 TID:b699f6a2 Failed to agree type
1672154 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672154 PID:b66e2eb2 TID:b699f6a2 <Output>
1672155 PID:b66e2eb2 TID:b699f6a2 <VideoIn>
1672156 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672156 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672157 PID:b66e2eb2 TID:b699f6a2 sub type : Unknown GUID Name
1672158 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672159 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672160 PID:b66e2eb2 TID:b699f6a2 sub type : TIME_FORMAT_NONE
1672161 PID:b66e2eb2 TID:b699f6a2 Failed to agree type
1672164 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672165 PID:b66e2eb2 TID:b699f6a2 <Output>
1672165 PID:b66e2eb2 TID:b699f6a2 <AudioIn>
1672166 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672167 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672167 PID:b66e2eb2 TID:b699f6a2 sub type : Unknown GUID Name
1672169 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672169 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672172 PID:b66e2eb2 TID:b699f6a2 sub type : TIME_FORMAT_NONE
1672172 PID:b66e2eb2 TID:b699f6a2 Failed to agree type
1672176 PID:b66e2eb2 TID:b699f6a2 Trying to connect Pins :
1672177 PID:b66e2eb2 TID:b699f6a2 <Output>
1672177 PID:b66e2eb2 TID:b699f6a2 <VideoIn>
1672178 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672179 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672180 PID:b66e2eb2 TID:b699f6a2 sub type : Unknown GUID Name
1672181 PID:b66e2eb2 TID:b699f6a2 Trying media type:
1672182 PID:b66e2eb2 TID:b699f6a2 major type: Unknown GUID Name
1672182 PID:b66e2eb2 TID:b699f6a2 sub type : TIME_FORMAT_NONE
1672183 PID:b66e2eb2 TID:b699f6a2 Failed to agree type
1672184 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672185 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672197 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672197 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672199 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672200 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672201 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672202 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672202 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672203 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672204 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672204 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672205 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672206 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672214 PID:d7de4b86 TID:b699f6a2 0x971d86a0: PIN_IOControl(006fbab0):
Creating new timer.
PB Debugger Unloaded symbols for
'C:\WM604\RELEASE\WPC_DEVICE_EMULATOR_DEBUG\WPC\DD RAW.DLL'
1672216 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672219 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672219 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672220 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672221 PID:b66e2eb2 TID:b699f6a2 StartAt: now
1672222 PID:b66e2eb2 TID:b699f6a2 StopAt: now
1672222 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672222 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672268 PID:b66e2eb2 TID:b699f6a2 0x971d86a0: <<< Unloading module ddraw.dll
at address 0x031E4000-0x031EC000 (RW data at 0x01F2E000-0x01F2E53C)
1672324 PID:d7de4b86 TID:b699f6a2 0x971d86a0: +
pCamDevice->AdapterHandlePinRequests
1672326 PID:d7de4b86 TID:b699f6a2 0x971d86a0: -
pCamDevice->AdapterHandlePinRequests
1672330 PID:17fec37a TID:b699f6a2 0x971d86a0: Invalid handle: Set=4 Method=4
1672340 PID:d7de4b86 TID:b699f6a2 0x971d86a0: <<< Unloading module
mmtimer.dll at address 0x03555000-0x0355A000 (RW data at
0x01F4D000-0x01F4D420)
1672368 PID:17fec37a TID:b699f6a2 0x971d86a0: Invalid handle: Set=4 Method=4
1672762 PID:b66e2eb2 TID:b699f6a2 0x971d86a0: Invalid handle: Set=7 Method=3f
1672764 PID:b66e2eb2 TID:b699f6a2 0x971d86a0: CePerf: Deleting 18 tracked
items still open in hSession=0x50180000
1672773 PID:b66e2eb2 TID:b699f6a2 0x971d86a0: RaiseException:
Thread=971d86a0 Proc=800bd110 'pimg.exe'
1672774 PID:b66e2eb2 TID:b699f6a2 0x971d86a0: AKY=00000081
PC=03f66bb8(coredll.dll+0x00018bb8) RA=8811d1c0(NK.EXE+0x000ed1c0)
BVA=016f5574 FSR=00000005

COREDLL!xxx_RaiseException() line 991
PIMGDLL!CErrorHandler::ProcessCurErrorCmn(int 1) line 1233
PIMGDLL!CErrorHandler::ProcessCurError() line 1279
PIMGDLL!CErrorHandler::SetError() line 1155
PIMGDLL!CSizeWndCmd::Execute() line 1354
PIMGDLL!CScreenUICmd::Execute() line 790
PIMGDLL!CVideoCapture::SetupWidget() line 899
PIMGDLL!CCamera::SetState() line 962 + 68 bytes
PIMGDLL!CStateChangeCmd::Execute() line 1189 + 12 bytes
PIMGDLL!CStillCapture::HandleMessage(long 2080869456) line 793
PIMGDLL!WndProc() line 76
COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x026c7d18) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::SendMessageWithOptions(unsigned int 0) line 3732 + 32 bytes
GWES!MsgQueue::SendMessageW_I() line 4724 + 28 bytes
COREDLL!DoSendMessageWInGwe() line 2641 + 32 bytes
COREDLL!SendMessageW() line 2926
AYGSHELL!MenuWndProc() line 1253
COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x03839ae0) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::SendMessageWithOptions(unsigned int 0) line 3732 + 32 bytes
GWES!MsgQueue::SendMessageW_I() line 4724 + 28 bytes
COREDLL!DoSendMessageWInGwe() line 2641 + 32 bytes
COREDLL!SendMessageW() line 2926
AYGSHELL!SoftKeyBar::v_WndProc(long 2080869456) line 1630
AYGSHELL!SoftKeyBar::s_WndProc() line 658 + 24 bytes
COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x0385e93c) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::DispatchMessageW_I() line 4483 + 24 bytes
COREDLL!DispatchMessageW() line 2986 + 20 bytes
PIMGDLL!CMainWnd::Run() line 365 + 8 bytes
PIMGDLL!CCamera::Run() line 998
PIMGDLL!StartCameraUI() line 143
FBROWSER!StartCameraUI() line 40 + 84 bytes
FBROWSER!CFilePicker::OnCmdSelectCamera() line 1013 + 44 bytes
FBROWSER!CFilePicker::OnCommand() line 1128 + 12 bytes
FBROWSER!CPicturePicker::OnCommand() line 280 + 16 bytes
FBROWSER!CCoreBrowser::WndProc() line 649 + 28 bytes
COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x0370bb6c) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::SendMessageWithOptions(unsigned int 0) line 3732 + 32 bytes
GWES!MsgQueue::SendMessageW_I() line 4724 + 28 bytes
COREDLL!DoSendMessageWInGwe() line 2641 + 32 bytes
COREDLL!SendMessageW() line 2926
CESHELL!CLVItemCamera::Action() line 2012
CESHELL!CCEFolderThumbnailView::OnActionItem() line 196
CESHELL!CCEFolderCommon::HandleCommand(int * 0x1002f208) line 1258
CESHELL!CCEFolderThumbnailView::HandleCommand(int * 0x1002f208) line 1408 +
24 bytes
CESHELL!CCEFolderThumbnailView::ProcessWindowMessa ge(long 0, long & 21001,
unsigned long 0) line 306 + 68 bytes
CESHELL!ATL::CWindowImplBaseT<ATL::CWindow,ATL::CW inTraits<1442840576,0>
>::WindowProc() line 2562 + 104 bytes

COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x000336f4) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::SendMessageWithOptions(unsigned int 0) line 3732 + 32 bytes
GWES!MsgQueue::SendMessageW_I() line 4724 + 28 bytes
COREDLL!DoSendMessageWInGwe() line 2641 + 32 bytes
COREDLL!SendMessageW() line 2926
CESHELL!CCEFolderCommon::HandleCommand(int * 0x1002f4a4) line 1386
CESHELL!CCEFolderThumbnailView::HandleCommand(int * 0x1002f4a4) line 1408 +
24 bytes
CESHELL!CCEFolderThumbnailView::ProcessWindowMessa ge(long 268629736, long &
12, unsigned long 0) line 305 + 64 bytes
CESHELL!ATL::CWindowImplBaseT<ATL::CWindow,ATL::CW inTraits<1442840576,0>
>::WindowProc() line 2562 + 104 bytes

COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x000336f4) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::SendMessageWithOptions(unsigned int 0) line 3732 + 32 bytes
GWES!MsgQueue::SendMessageW_I() line 4724 + 28 bytes
COREDLL!DoSendMessageWInGwe() line 2641 + 32 bytes
COREDLL!SendMessageW() line 2926
COMMCTRL!CCSendNotify() line 110
COMMCTRL!ListView_HandleMouse(unsigned int 1, int 0) line 7471
COMMCTRL!ListView_WndProc() line 2934
COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x03255370) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!CWindow::CallWindowProcWApiSetEntry(CePtr_t<l ong (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, void * 0xb66e2eb2) line 2678 + 32
bytes
COREDLL!CallWindowProcW(long 3276851) line 2798
CESHELL!ATL::CContainedWindowT<ATL::CWindow,ATL::C WinTraits<1442840576,0>
>::WindowProc() line 3132

COREDLL!xxx_PerformCallBack4() line 57
GWES!WindowProcCallback(unsigned int 66412036, long -1234293070, bool *
0x00035334) line 2392 + 20 bytes
GWES!CWindow::CallWindowProcWInternal(CePtr_t<long (__cdecl*)(HWND__
*,unsigned int,unsigned int,long)> {...}, SendMsgEntry_t * 0x00000000) line
2569 + 40 bytes
GWES!MsgQueue::DispatchMessageW_I() line 4483 + 24 bytes
COREDLL!DispatchMessageW() line 2986 + 20 bytes
FBROWSER!CCoreBrowser::MessageLoop() line 72 + 8 bytes
FBROWSER!CFilePicker::MessageLoop() line 59
FBROWSER!CFileExplorer::InitInstance() line 153
FBROWSER!CFilePicker::InitInstance() line 359 + 32 bytes
FBROWSER!StartFilePicker() line 598 + 28 bytes
PIMG!WinMain() line 50
PIMG!WinMainCRTStartup() line 25 + 20 bytes
COREDLL!MainThreadBaseF

When tried to see the debug zones for the quartz, following messages are
printed:

Can someone help me to know where i am going wrong?

WIth regards,
Ankur Gupta
Software Engineer


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 08-27-2007, 06:00 AM
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clicking Email Links in IE 7 leads to multiple windows opening Rabbitgum Internet Explorer 3 08-26-2007 05:11 PM
Downloading files sometimes leads to BSOD The Informer Windows Vista 0 06-29-2007 08:40 AM
WinMail quirk leads to double posting Doug Windows Vista 0 04-24-2007 10:30 PM
Asus A8Js - moody GPU fan leads to overheating kris.P Notebooks 4 02-16-2007 12:49 PM
ms word error leads to closure of the application Sharad Microsoft Office 4 01-15-2007 10:19 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:44 PM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0