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

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


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun  3 12:02:38 2019 +0200| [413f4b91c1b8812316b44b08f9f889d3d0c298c3] | committer: Steve Lhomme

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

This reverts commit 08b8ef7cf313971c69d401a9b05c3b788d08e8d2.

(cherry picked from commit 2c83dd314d870387e155469b03d6a5cd5e05933c)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=413f4b91c1b8812316b44b08f9f889d3d0c298c3
---

 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 ef2b094e7c..58566b4ec6 100644
--- a/src/video_output/video_text.c
+++ b/src/video_output/video_text.c
@@ -93,11 +93,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