vlc | branch: master | Filip Roséen <[email protected]> | Mon Sep 26 03:12:14 2016 +0200| [631d6af30a574560411afe8b340fc57748a1ff47] | committer: Ilkka Ollakka
stream_out/transcode: remove unnecessary comment The comment does not add any valuable information (the variable names are in my opinion good enough to explain the lines purpose), and the usage of "500" is rather misleading since the pool-size can be changed dynamically. Signed-off-by: Ilkka Ollakka <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=631d6af30a574560411afe8b340fc57748a1ff47 --- modules/stream_out/transcode/video.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c index 349d56e..ccf50fb 100644 --- a/modules/stream_out/transcode/video.c +++ b/modules/stream_out/transcode/video.c @@ -229,9 +229,8 @@ int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_sys_t *id ) free( id->p_decoder->p_owner ); return VLC_ENOMEM; } - /* We allow at max 500 pictures in pool before we wait for room */ - vlc_sem_init( &p_sys->picture_pool_has_room, p_sys->pool_size ); + vlc_sem_init( &p_sys->picture_pool_has_room, p_sys->pool_size ); vlc_mutex_init( &p_sys->lock_out ); vlc_cond_init( &p_sys->cond ); p_sys->p_buffers = NULL; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
