Skip to content
Snippets Groups Projects
Commit 6cb1d1ec authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

winegstreamer: Set bFixedSizeSamples for WMF video formats.

parent 7c02cd8c
Branches
Tags
No related merge requests found
......@@ -314,6 +314,8 @@ static bool amt_from_wg_format_video(AM_MEDIA_TYPE *mt, const struct wg_format *
mt->majortype = MEDIATYPE_Video;
mt->subtype = *format_table[format->u.video.format].subtype;
if (wm)
mt->bFixedSizeSamples = TRUE;
mt->bTemporalCompression = TRUE;
mt->lSampleSize = 1;
mt->formattype = FORMAT_VideoInfo;
......
......@@ -625,7 +625,7 @@ static void check_video_type(const WM_MEDIA_TYPE *mt)
static const RECT rect = {.right = 64, .bottom = 48};
ok(IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo), "Got format %s.\n", debugstr_guid(&mt->formattype));
todo_wine ok(mt->bFixedSizeSamples == TRUE, "Got fixed size %d.\n", mt->bFixedSizeSamples);
ok(mt->bFixedSizeSamples == TRUE, "Got fixed size %d.\n", mt->bFixedSizeSamples);
todo_wine ok(!mt->bTemporalCompression, "Got temporal compression %d.\n", mt->bTemporalCompression);
ok(!mt->pUnk, "Got pUnk %p.\n", mt->pUnk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment