Skip to content

Commit

Permalink
mfsrcsnk: Fill the stream mapping for unknown stream types too.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbernon authored and julliard committed Sep 23, 2024
1 parent 767ff3b commit 8e41ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/mfsrcsnk/media_source.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ static void media_source_init_stream_map(struct media_source *source, UINT strea
for (i = stream_count - 1; i >= 0; i--)
{
if (FAILED(get_stream_media_type(source->winedmo_demuxer, i, &major, NULL)))
continue;
major = GUID_NULL;
if (!IsEqualGUID(&major, &MFMediaType_Audio) && !IsEqualGUID(&major, &MFMediaType_Video))
{
TRACE("mapping source %p stream %u to demuxer stream %u\n", source, n, i);
Expand Down

0 comments on commit 8e41ea6

Please sign in to comment.