Commit e1b21bf1 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

ir50_32: Use the proper hr value for stream format change.

parent 9a591bf4
...@@ -252,7 +252,7 @@ static LRESULT IV50_Decompress( IMFTransform *decoder, ICDECOMPRESS *icd, DWORD ...@@ -252,7 +252,7 @@ static LRESULT IV50_Decompress( IMFTransform *decoder, ICDECOMPRESS *icd, DWORD
mft_buf.pSample = out_sample; mft_buf.pSample = out_sample;
hr = IMFTransform_ProcessOutput( decoder, 0, 1, &mft_buf, &mft_status ); hr = IMFTransform_ProcessOutput( decoder, 0, 1, &mft_buf, &mft_status );
if ( SUCCEEDED(hr) && (mft_status & MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE) ) if ( hr == MF_E_TRANSFORM_STREAM_CHANGE )
hr = IMFTransform_ProcessOutput( decoder, 0, 1, &mft_buf, &mft_status ); hr = IMFTransform_ProcessOutput( decoder, 0, 1, &mft_buf, &mft_status );
if ( SUCCEEDED(hr) ) if ( SUCCEEDED(hr) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment