[vlc-commits] codec: videotoolbox: rename DrainDPB to DrainDPBLocked

Thomas Guillem git at videolan.org
Fri Nov 24 13:12:05 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Nov 22 14:43:20 2017 +0100| [9e88ebd2e06f0a20eccf2c71456a7c3476ebb672] | committer: Thomas Guillem

codec: videotoolbox: rename DrainDPB to DrainDPBLocked

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e88ebd2e06f0a20eccf2c71456a7c3476ebb672
---

 modules/codec/videotoolbox.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 2f2082dcbb..d1600aa5cb 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -795,7 +795,7 @@ static picture_t * RemoveOneFrameFromDPB(decoder_sys_t *p_sys)
     return p_ret;
 }
 
-static void DrainDPB(decoder_t *p_dec, bool flush)
+static void DrainDPBLocked(decoder_t *p_dec, bool flush)
 {
     decoder_sys_t *p_sys = p_dec->p_sys;
     for( ;; )
@@ -1657,7 +1657,7 @@ static void Drain(decoder_t *p_dec, bool flush)
         VTDecompressionSessionWaitForAsynchronousFrames(p_sys->session);
 
     vlc_mutex_lock(&p_sys->lock);
-    DrainDPB(p_dec, flush);
+    DrainDPBLocked(p_dec, flush);
     p_sys->b_vt_flush = false;
     vlc_mutex_unlock(&p_sys->lock);
 }



More information about the vlc-commits mailing list