[vlc-commits] logo: keep the colorimetry parameter from the decoded picture in the region
Steve Lhomme
git at videolan.org
Tue Jun 4 08:32:44 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 3 13:24:33 2019 +0200| [e2fd9edee88cc5c3638eae1a883f276149088add] | committer: Steve Lhomme
logo: keep the colorimetry parameter from the decoded picture in the region
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2fd9edee88cc5c3638eae1a883f276149088add
---
modules/spu/logo.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/spu/logo.c b/modules/spu/logo.c
index 9910b185f8..330fa5fb18 100644
--- a/modules/spu/logo.c
+++ b/modules/spu/logo.c
@@ -385,6 +385,10 @@ static subpicture_t *FilterSub( filter_t *p_filter, vlc_tick_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.color_range = p_pic->format.color_range;
p_region = subpicture_region_New( &fmt );
if( !p_region )
{
More information about the vlc-commits
mailing list