vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Fri Apr 13 12:32:57 
2018 +0200| [fe213ddb693811ba28d06b350f3a4e11d40dc4f9] | committer: Steve Lhomme

vout_subpictures: make sure each region has some colorspace defined

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

 src/video_output/vout_subpictures.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/video_output/vout_subpictures.c 
b/src/video_output/vout_subpictures.c
index 1d654e4d4f..1915d7f1d6 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -684,6 +684,8 @@ static void SpuRenderRegion(spu_t *spu,
             goto exit;
     }
 
+    video_format_AdjustColorSpace(&region->fmt);
+
     /* Force palette if requested
      * FIXME b_force_palette and force_crop are applied to all subpictures 
using palette
      * instead of only the right one (being the dvd spu).

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to