locked
Media Engine throws MF_MEDIA_ENGINE_ERR_DECODE : HRESULT - 0x80004005 when dragging application from one display to another RRS feed

  • Question

  • Hi all,

    I'm working on a windows store media application and I'm having a problem when I drag the application from one display to another while playing.  If I drag the application from my VGA connected display to my DVI connected display I get MF_MEDIA_ENGINE_ERR_DECODE : HRESULT - 0x80004005.  This happens when going to the DVI connected display only.  When going the other way, the application continues to stream with no problem.  When looking at the MfTrace logs I see that the method MFCreateMediaSession() is called twice immediately before the error is issued.  This is confusing since there is no access to this method from a windows store app.  Visually, if I don't let go of the mouse when the app has transitioned to the other display it will continue to play audio though the video window is black.  Once I release the mouse button I get the error. The app has a custom source, scheme handler plus other custom media foundation pipeline components but all seem to be working appropriately.  any suggestions.   
    Thursday, April 23, 2015 5:46 PM

All replies

  • Have not encountered this error code before

    >This happens when going to the DVI connected display only

    What does it mean? 


    Best Regards,
    Please remember to mark the replies as answers if they help

    Friday, April 24, 2015 9:37 AM
  • I have two monitors connected to my computer.  One is connected via a VGA (15 pin) connection and the other is connected via a DVI connection.  If I start streaming on the VGA connected display, then while streaming drag and drop the application to the DVI connected display I get MF_MEDIA_ENGINE_ERR_DECODE : HRESULT - 0x80004005.  However, if I start streaming on the DVI connected display, then while streaming drag and drop the the app to the VGA connected display I get no error and the app continues to stream.  This is what I mean by "This happens when going to the DVI connected display only".

    I have also tried pausing playback prior to dragging to the DVI connected display but upon resuming playback (un-pausing) I get the same error.  Doing this in the other direction (DVI -> VGA) yields no error.

    I have not yet tested other multi-monitor scenarios i.e. VGA->HDMI, HDMI->DisplayPort, etc. 

    Friday, April 24, 2015 7:36 PM