[vlc-commits] Increase private_picture to 4 to accommodate filters that require 3 pictures
Juha Jeronen
git at videolan.org
Sun Feb 20 18:28:50 CET 2011
vlc | branch: master | Juha Jeronen <juha.jeronen at jyu.fi> | Sat Feb 19 03:17:58 2011 +0200| [278f8ed42b83ba270b91a0a33204c7bdfc389941] | committer: Laurent Aimar
Increase private_picture to 4 to accommodate filters that require 3 pictures
Signed-off-by: Laurent Aimar <fenrir at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=278f8ed42b83ba270b91a0a33204c7bdfc389941
---
src/video_output/vout_wrapper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/video_output/vout_wrapper.c b/src/video_output/vout_wrapper.c
index c7c58dc..48905e1 100644
--- a/src/video_output/vout_wrapper.c
+++ b/src/video_output/vout_wrapper.c
@@ -134,7 +134,7 @@ int vout_InitWrapper(vout_thread_t *vout)
sys->display.use_dr = !vout_IsDisplayFiltered(vd);
const bool allow_dr = !vd->info.has_pictures_invalid && sys->display.use_dr;
- const unsigned private_picture = 3; /* XXX 2 for filter, 1 for SPU */
+ const unsigned private_picture = 4; /* XXX 3 for filter, 1 for SPU */
const unsigned decoder_picture = 1 + sys->dpb_size;
const unsigned kept_picture = 1; /* last displayed picture */
const unsigned reserved_picture = DISPLAY_PICTURE_COUNT +
More information about the vlc-commits
mailing list