quartz/filtergraph: Remove the no longer used "stop_position" field from IFilterGraphImpl.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-10-19 10:48:24 -05:00 committed by Alexandre Julliard
parent a0043c1c5c
commit c1f2e8476d
1 changed files with 2 additions and 5 deletions

View File

@ -204,7 +204,6 @@ typedef struct _IFilterGraphImpl {
GUID timeformatseek; GUID timeformatseek;
REFERENCE_TIME start_time; REFERENCE_TIME start_time;
REFERENCE_TIME pause_time; REFERENCE_TIME pause_time;
LONGLONG stop_position;
LONG recursioncount; LONG recursioncount;
IUnknown *pSite; IUnknown *pSite;
LONG version; LONG version;
@ -2583,9 +2582,8 @@ static HRESULT WINAPI MediaSeeking_SetPositions(IMediaSeeking *iface, LONGLONG *
(dwCurrentFlags & 0x7) != AM_SEEKING_NoPositioning) (dwCurrentFlags & 0x7) != AM_SEEKING_NoPositioning)
FIXME("Adjust method %x not handled yet!\n", dwCurrentFlags & 0x7); FIXME("Adjust method %x not handled yet!\n", dwCurrentFlags & 0x7);
if ((dwStopFlags & 0x7) == AM_SEEKING_AbsolutePositioning) if ((dwStopFlags & 0x7) != AM_SEEKING_NoPositioning
This->stop_position = *pStop; && (dwStopFlags & 0x7) != AM_SEEKING_AbsolutePositioning)
else if ((dwStopFlags & 0x7) != AM_SEEKING_NoPositioning)
FIXME("Stop position not handled yet!\n"); FIXME("Stop position not handled yet!\n");
if (state == State_Running && !(dwCurrentFlags & AM_SEEKING_NoFlush)) if (state == State_Running && !(dwCurrentFlags & AM_SEEKING_NoFlush))
@ -5702,7 +5700,6 @@ static HRESULT filter_graph_common_create(IUnknown *outer, void **out, BOOL thre
fimpl->nItfCacheEntries = 0; fimpl->nItfCacheEntries = 0;
memcpy(&fimpl->timeformatseek, &TIME_FORMAT_MEDIA_TIME, sizeof(GUID)); memcpy(&fimpl->timeformatseek, &TIME_FORMAT_MEDIA_TIME, sizeof(GUID));
fimpl->start_time = fimpl->pause_time = 0; fimpl->start_time = fimpl->pause_time = 0;
fimpl->stop_position = -1;
fimpl->punkFilterMapper2 = NULL; fimpl->punkFilterMapper2 = NULL;
fimpl->recursioncount = 0; fimpl->recursioncount = 0;
fimpl->version = 0; fimpl->version = 0;