Skip to content

Commit

Permalink
Revert "winegstreamer: Implement MFT_MESSAGE_COMMAND_DRAIN for aac de…
Browse files Browse the repository at this point in the history
…coder."

This reverts commit 3a3400a.

CW-Bug-Id: #22299
  • Loading branch information
Paul Gofman committed Mar 5, 2024
1 parent 1170469 commit 9cf34c9
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions dlls/winegstreamer/audio_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,18 +489,7 @@ static HRESULT WINAPI transform_ProcessEvent(IMFTransform *iface, DWORD id, IMFM

static HRESULT WINAPI transform_ProcessMessage(IMFTransform *iface, MFT_MESSAGE_TYPE message, ULONG_PTR param)
{
struct audio_decoder *decoder = impl_from_IMFTransform(iface);

TRACE("iface %p, message %#x, param %p.\n", iface, message, (void *)param);

if (!decoder->wg_transform)
return MF_E_TRANSFORM_TYPE_NOT_SET;

if (message == MFT_MESSAGE_COMMAND_DRAIN)
return wg_transform_drain(decoder->wg_transform);

FIXME("Ignoring message %#x.\n", message);

FIXME("iface %p, message %#x, param %p stub!\n", iface, message, (void *)param);
return S_OK;
}

Expand Down

0 comments on commit 9cf34c9

Please sign in to comment.