Commit 278f8ed4 authored by Juha Jeronen's avatar Juha Jeronen Committed by Laurent Aimar

Increase private_picture to 4 to accommodate filters that require 3 pictures

Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
parent 87c209e5
...@@ -134,7 +134,7 @@ int vout_InitWrapper(vout_thread_t *vout) ...@@ -134,7 +134,7 @@ int vout_InitWrapper(vout_thread_t *vout)
sys->display.use_dr = !vout_IsDisplayFiltered(vd); sys->display.use_dr = !vout_IsDisplayFiltered(vd);
const bool allow_dr = !vd->info.has_pictures_invalid && sys->display.use_dr; 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 decoder_picture = 1 + sys->dpb_size;
const unsigned kept_picture = 1; /* last displayed picture */ const unsigned kept_picture = 1; /* last displayed picture */
const unsigned reserved_picture = DISPLAY_PICTURE_COUNT + const unsigned reserved_picture = DISPLAY_PICTURE_COUNT +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment