[vlc-devel] [PATCH 2/2] Revert "video_text: copy the output colorspace into the region colorspace"

Steve Lhomme robux4 at ycbcr.xyz
Mon Jun 3 12:03:12 CEST 2019


This reverts commit 08b8ef7cf313971c69d401a9b05c3b788d08e8d2.
---
 src/video_output/video_text.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/video_output/video_text.c b/src/video_output/video_text.c
index 171f29e8d6..d11e407889 100644
--- a/src/video_output/video_text.c
+++ b/src/video_output/video_text.c
@@ -92,11 +92,6 @@ static void OSDTextUpdate(subpicture_t *subpic,
         r->i_y += margin_v + fmt_dst->i_y_offset;
     else if (r->i_align & SUBPICTURE_ALIGN_BOTTOM )
         r->i_y += margin_v - fmt_dst->i_y_offset;
-
-    r->fmt.transfer  = fmt_dst->transfer;
-    r->fmt.primaries = fmt_dst->primaries;
-    r->fmt.space     = fmt_dst->space;
-    r->fmt.mastering = fmt_dst->mastering;
 }
 
 static void OSDTextDestroy(subpicture_t *subpic)
-- 
2.17.1



More information about the vlc-devel mailing list