[vlc-commits] vout_subpictures: make sure each region has some colorspace defined
Steve Lhomme
git at videolan.org
Fri Apr 13 12:45:29 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at 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(®ion->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).
More information about the vlc-commits
mailing list