diff options
author | phintuka <phintuka> | 2013-01-17 21:05:16 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2013-01-17 21:05:16 +0000 |
commit | 5cfe6e530976a8557c9f316c5519823f78704780 (patch) | |
tree | 0ee13b86c249520534e58d365b7308ebf56fe8ff | |
parent | fe5255533ad855f7d733a7add8b1e90e35313c92 (diff) | |
download | xineliboutput-5cfe6e530976a8557c9f316c5519823f78704780.tar.gz xineliboutput-5cfe6e530976a8557c9f316c5519823f78704780.tar.bz2 |
Set sane defaults for ARGB OSD dirty area.
Actually dirty area is useless until drivers are "fixed" to update it too.
-rw-r--r-- | xine/osd_manager.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xine/osd_manager.c b/xine/osd_manager.c index a6f750a5..a27f28a9 100644 --- a/xine/osd_manager.c +++ b/xine/osd_manager.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: osd_manager.c,v 1.26 2013-01-17 20:55:22 phintuka Exp $ + * $Id: osd_manager.c,v 1.27 2013-01-17 21:05:16 phintuka Exp $ * */ @@ -676,6 +676,10 @@ static int exec_osd_set_argb(osd_manager_impl_t *this, osd_command_t *cmd) if (!osd->argb_layer) { set_argb_layer(&osd->argb_layer, argb_layer_create()); osd->argb_layer->buffer = osd->argb_buffer; + osd->argb_layer->x1 = 0; + osd->argb_layer->x2 = osd->extent_width - 1; + osd->argb_layer->y1 = 0; + osd->argb_layer->y2 = osd->extent_height - 1; } /* copy changed data to buffer */ |