mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-08 11:26:59 +02:00
vout: remove vout_chrono_Clean()
This function did nothing.
This commit is contained in:
parent
98611f6986
commit
9020b03dcc
@ -47,10 +47,6 @@ static inline void vout_chrono_Init(vout_chrono_t *chrono, int shift, vlc_tick_t
|
||||
|
||||
chrono->start = VLC_TICK_INVALID;
|
||||
}
|
||||
static inline void vout_chrono_Clean(vout_chrono_t *chrono)
|
||||
{
|
||||
VLC_UNUSED(chrono);
|
||||
}
|
||||
static inline void vout_chrono_Start(vout_chrono_t *chrono)
|
||||
{
|
||||
chrono->start = vlc_tick_now();
|
||||
@ -83,9 +79,7 @@ static inline void vout_chrono_Stop(vout_chrono_t *chrono)
|
||||
}
|
||||
static inline void vout_chrono_Reset(vout_chrono_t *chrono)
|
||||
{
|
||||
vout_chrono_t ch = *chrono;
|
||||
vout_chrono_Clean(chrono);
|
||||
vout_chrono_Init(chrono, ch.shift, ch.avg_initial);
|
||||
vout_chrono_Init(chrono, chrono->shift, chrono->avg_initial);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -1911,8 +1911,6 @@ void vout_Close(vout_thread_t *vout)
|
||||
|
||||
vout_IntfDeinit(VLC_OBJECT(vout));
|
||||
vout_snapshot_End(sys->snapshot);
|
||||
vout_chrono_Clean(&sys->render);
|
||||
vout_chrono_Clean(&sys->static_filter);
|
||||
|
||||
if (sys->spu)
|
||||
spu_Destroy(sys->spu);
|
||||
|
Loading…
Reference in New Issue
Block a user