[vlc-commits] Revert "video_text: copy the output colorspace into the region colorspace"

Steve Lhomme git at videolan.org
Tue Jun 4 08:49:28 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun  3 12:02:38 2019 +0200| [2c83dd314d870387e155469b03d6a5cd5e05933c] | committer: Steve Lhomme

Revert "video_text: copy the output colorspace into the region colorspace"

This reverts commit 08b8ef7cf313971c69d401a9b05c3b788d08e8d2.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c83dd314d870387e155469b03d6a5cd5e05933c
---

 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)



More information about the vlc-commits mailing list