strmbase: Remove the unused "rendered" field from struct strmbase_qc.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-03-07 14:49:05 -06:00 committed by Alexandre Julliard
parent 4d400a71fa
commit 09081737ef
2 changed files with 2 additions and 4 deletions

View File

@ -62,7 +62,7 @@ static void QualityControlRender_Start(struct strmbase_qc *This, REFERENCE_TIME
This->avg_render = This->last_in_time = This->last_left = This->avg_duration = This->avg_pt = -1; This->avg_render = This->last_in_time = This->last_left = This->avg_duration = This->avg_pt = -1;
This->clockstart = tStart; This->clockstart = tStart;
This->avg_rate = -1.0; This->avg_rate = -1.0;
This->rendered = This->dropped = 0; This->dropped = 0;
This->is_dropped = FALSE; This->is_dropped = FALSE;
} }
@ -240,8 +240,6 @@ static void QualityControlRender_BeginRender(struct strmbase_qc *This, REFERENCE
debugstr_time(start), debugstr_time(stop), debugstr_time(This->current_jitter)); debugstr_time(start), debugstr_time(stop), debugstr_time(This->current_jitter));
if (This->is_dropped) if (This->is_dropped)
This->dropped++; This->dropped++;
else
This->rendered++;
if (!This->pin->filter->clock) if (!This->pin->filter->clock)
return; return;

View File

@ -282,7 +282,7 @@ struct strmbase_qc
REFERENCE_TIME last_in_time, last_left, avg_duration, avg_pt, avg_render, start, stop; REFERENCE_TIME last_in_time, last_left, avg_duration, avg_pt, avg_render, start, stop;
REFERENCE_TIME current_jitter, current_rstart, current_rstop, clockstart; REFERENCE_TIME current_jitter, current_rstart, current_rstop, clockstart;
double avg_rate; double avg_rate;
LONG64 rendered, dropped; LONG64 dropped;
BOOL is_dropped; BOOL is_dropped;
}; };