[vlc-commits] logo: keep the colorimetry parameter from the decoded picture in the region
Steve Lhomme
git at videolan.org
Tue Jun 4 08:38:22 CEST 2019
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 3 13:24:33 2019 +0200| [856d07a524e1a16879cfd2a1be7e239d69eba8a1] | committer: Steve Lhomme
logo: keep the colorimetry parameter from the decoded picture in the region
(cherry picked from commit e2fd9edee88cc5c3638eae1a883f276149088add)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=856d07a524e1a16879cfd2a1be7e239d69eba8a1
---
modules/spu/logo.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/spu/logo.c b/modules/spu/logo.c
index 44b1bca6de..5d09f4273b 100644
--- a/modules/spu/logo.c
+++ b/modules/spu/logo.c
@@ -387,6 +387,10 @@ static subpicture_t *FilterSub( filter_t *p_filter, mtime_t date )
fmt.i_width = fmt.i_visible_width = p_pic->p[Y_PLANE].i_visible_pitch;
fmt.i_height = fmt.i_visible_height = p_pic->p[Y_PLANE].i_visible_lines;
fmt.i_x_offset = fmt.i_y_offset = 0;
+ fmt.transfer = p_pic->format.transfer;
+ fmt.primaries = p_pic->format.primaries;
+ fmt.space = p_pic->format.space;
+ fmt.b_color_range_full = p_pic->format.b_color_range_full;
p_region = subpicture_region_New( &fmt );
if( !p_region )
{
More information about the vlc-commits
mailing list