[vlc-commits] videotoolbox: rename FlushDPB to DrainDPB
Thomas Guillem
git at videolan.org
Tue Apr 18 18:18:34 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Apr 18 18:17:51 2017 +0200| [9a5c5bcf013746451b541e2da299290b4a738be7] | committer: Thomas Guillem
videotoolbox: rename FlushDPB to DrainDPB
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a5c5bcf013746451b541e2da299290b4a738be7
---
modules/codec/videotoolbox.m | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 36850cd643..c5eb0e8d44 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -357,7 +357,7 @@ static picture_t * RemoveOneFrameFromDPB(decoder_sys_t *p_sys)
return p_ret;
}
-static void FlushDPB(decoder_t *p_dec)
+static void DrainDPB(decoder_t *p_dec)
{
decoder_sys_t *p_sys = p_dec->p_sys;
for( ;; )
@@ -745,7 +745,7 @@ static void StopVideoToolbox(decoder_t *p_dec, bool b_reset_format)
p_sys->b_format_propagated = false;
p_dec->fmt_out.i_codec = 0;
}
- FlushDPB( p_dec );
+ DrainDPB( p_dec );
}
if (p_sys->videoFormatDescription != nil) {
@@ -1246,7 +1246,7 @@ static void Drain(decoder_t *p_dec)
VTDecompressionSessionWaitForAsynchronousFrames(p_sys->session);
vlc_mutex_lock(&p_sys->lock);
- FlushDPB( p_dec );
+ DrainDPB( p_dec );
vlc_mutex_unlock(&p_sys->lock);
}
More information about the vlc-commits
mailing list