winegstreamer: Set bFixedSizeSamples for WMF video formats.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7c02cd8cf8
commit
6cb1d1ec4f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue