diff options
-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; } |