diff options
| author | Torsten Jager <t.jager@gmx.de> | 2014-05-30 15:05:50 +0200 |
|---|---|---|
| committer | Torsten Jager <t.jager@gmx.de> | 2014-05-30 15:05:50 +0200 |
| commit | e3b6a1f138c83633fb9885c793ead4bf6093beab (patch) | |
| tree | 262a612459078927affc0fa78cc957781fb2500e /src/xine-engine/video_overlay.c | |
| parent | 80a3f2b159cce2573db45291d5aac87c83f9325e (diff) | |
| download | xine-lib-e3b6a1f138c83633fb9885c793ead4bf6093beab.tar.gz xine-lib-e3b6a1f138c83633fb9885c793ead4bf6093beab.tar.bz2 | |
Add yuv overlay color matrix support.
"Never assume an API to be stable unless at least 1 month has passed after adding."
Diffstat (limited to 'src/xine-engine/video_overlay.c')
| -rw-r--r-- | src/xine-engine/video_overlay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/video_overlay.c b/src/xine-engine/video_overlay.c index e044d9d90..b250f6811 100644 --- a/src/xine-engine/video_overlay.c +++ b/src/xine-engine/video_overlay.c @@ -494,15 +494,15 @@ static int video_overlay_event( video_overlay_t *this, int64_t vpts ) { return processed; } -void _x_overlay_clut_yuv2rgb(vo_overlay_t *overlay) +void _x_overlay_clut_yuv2rgb(vo_overlay_t *overlay, int color_matrix) { if (!overlay->rgb_clut) { - _x_clut_yuv2rgb(overlay->color, sizeof(overlay->color) / sizeof (overlay->color[0])); + _x_clut_yuv2rgb(overlay->color, sizeof(overlay->color) / sizeof (overlay->color[0]), color_matrix); overlay->rgb_clut++; } if (!overlay->hili_rgb_clut) { - _x_clut_yuv2rgb(overlay->hili_color, sizeof (overlay->color) / sizeof (overlay->color[0])); + _x_clut_yuv2rgb(overlay->hili_color, sizeof (overlay->color) / sizeof (overlay->color[0]), color_matrix); overlay->hili_rgb_clut++; } } |
