Community
cancel
Showing results for 
Search instead for 
Did you mean: 
andy_l_
Beginner
56 Views

MSDK decode , switch video stream problem, memory leak? and restart failure?

Hi,

when is decoding with IPC A's stream(1080p), and I want to close it and start decode IPC B's stream(720p).

which operation is correct in the follow:

1.    Release Pipeline

      Pipeline.Init(&Params);

      for (;;)      {  sts = Pipeline.RunDecoding();...}

2  or:  use ResetDecoder()

      for (;;)      {  sts = Pipeline.RunDecoding();....}

When used first method,  restart success.  But memery will grow much.   Is it memery leak?

When used second method,restart failure. But if IPC B's stream also 1080p,restart will success.

what's wrong?

0 Kudos
1 Reply
56 Views

Hi Andy, 

I do need more details to understand the complete operation of your scenario. Please share a log of system analyzer from https://software.intel.com/en-us/articles/media-sdk-tools and code snippet of you application, so we can take a closer look. You might be interested in taking a look at this article: https://software.intel.com/en-us/articles/framework-for-developing-applications-using-media-sdk

Thanks,   

Reply