Skip to content

Commit

Permalink
quartz: Use the right VideoRenderer pin names.
Browse files Browse the repository at this point in the history
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
  • Loading branch information
rbernon authored and julliard committed Mar 28, 2022
1 parent 9e32d45 commit af3fcc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/quartz/tests/videorenderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static void test_pin_info(void)
ok(hr == S_OK, "Got hr %#lx.\n", hr);
ok(info.pFilter == filter, "Expected filter %p, got %p.\n", filter, info.pFilter);
ok(info.dir == PINDIR_INPUT, "Got direction %d.\n", info.dir);
todo_wine ok(!wcscmp(info.achName, L"Input"), "Got name %s.\n", debugstr_w(info.achName));
ok(!wcscmp(info.achName, L"Input"), "Got name %s.\n", debugstr_w(info.achName));
ref = get_refcount(filter);
ok(ref == 3, "Got unexpected refcount %ld.\n", ref);
ref = get_refcount(pin);
Expand Down
2 changes: 2 additions & 0 deletions dlls/quartz/videorenderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ HRESULT video_renderer_create(IUnknown *outer, IUnknown **out)
return E_OUTOFMEMORY;

strmbase_renderer_init(&object->renderer, outer, &CLSID_VideoRenderer, L"In", &renderer_ops);
wcscpy(object->renderer.sink.pin.name, L"Input");

object->IOverlay_iface.lpVtbl = &overlay_vtbl;

video_window_init(&object->window, &IVideoWindow_VTable,
Expand Down

0 comments on commit af3fcc3

Please sign in to comment.