- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #1
Yesterday I found a nasty issue: after switching the "DirectShow" instead of "DirectShowLib" to support the new StreamSource there is a problem when reading the AMMediaType from the IStreamSelector:
The marshalling seems wrong, the returned majorTypes are not valid, so no audio streams will be added to list and you can't change them.
This leads to:
And please check, if the retrieved AMMediaType is freed properly.
If we cannot fix this in due time, I would revert changes from dev and move them back into a branch.
The marshalling seems wrong, the returned majorTypes are not valid, so no audio streams will be added to list and you can't change them.
This leads to:
- You cannot change audio streams anynore
- You cannot prefer multichannel audio
- TsReader playback stalls for every channel switch (TV) /playback switch for 5 seconds, because it expects an explicit stream selection.
And please check, if the retrieved AMMediaType is freed properly.
If we cannot fix this in due time, I would revert changes from dev and move them back into a branch.