diff options
author | phintuka <phintuka> | 2010-05-22 12:27:46 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-22 12:27:46 +0000 |
commit | 0e6c2d2114d692eb035e992530fb6c520f95de0b (patch) | |
tree | 7a56a3c1f51466e41735cd8a8311c7fc63a75bb2 | |
parent | b9690554613629e0d6e4672d3a37787c11060d57 (diff) | |
download | xineliboutput-0e6c2d2114d692eb035e992530fb6c520f95de0b.tar.gz xineliboutput-0e6c2d2114d692eb035e992530fb6c520f95de0b.tar.bz2 |
Added missing cases (OSD control commands).
(Thanks to Winfried Koehler)
-rw-r--r-- | xine/osd_manager.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xine/osd_manager.c b/xine/osd_manager.c index 0b91c008..e0488212 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.19 2010-05-21 12:38:48 phintuka Exp $ + * $Id: osd_manager.c,v 1.20 2010-05-22 12:27:46 phintuka Exp $ * */ @@ -615,13 +615,19 @@ static int exec_osd_command_internal(osd_manager_impl_t *this, struct osd_comman case OSD_Set_RLE: return exec_osd_set_rle(this, cmd); case OSD_Close: return exec_osd_close(this, cmd); case OSD_VideoWindow:return exec_osd_video_window(this, cmd); + case OSD_Commit: + /* All OSD areas have been updated, commit changes to display */ + /* - not used with traditional xine-lib OSD */ + return CONTROL_OK; case OSD_Set_YUV: /* TODO */ LOGMSG("OSD_Set_YUV not implemented !"); return CONTROL_PARAM_ERROR; + default:; + LOGMSG("Unknown OSD command %d", cmd->cmd); + return CONTROL_PARAM_ERROR; } - LOGMSG("Unknown OSD command %d", cmd->cmd); return CONTROL_PARAM_ERROR; } |