From: Michael R. <mr...@us...> - 2004-12-09 12:10:52
|
Hi all, I forgot to post this to the list: The attached patch fixes the issue with the DVD active highlights. I am just no sure if this has any side-effects, so I am not committing it yet. > I've implemented something like "OSD FLUSH" in my input_vdr plugin. But > it's not the best implementation and requires XINE_ENGINE_INTERNAL. I'd > like to see a _x_function() that does a similar job :-) > > // fprintf(stderr, "vdr: osdflush +\n"); > > { > video_overlay_manager_t *ovl; > > int redraw_needed = 1; > > while (redraw_needed) > { > > this->stream->xine->port_ticket->acquire(this->stream->xine->port_ticket, > 0); > ovl = > this->stream->video_out->get_overlay_manager(this->stream->video_out); > > redraw_needed = ovl->redraw_needed(ovl, 0); > > > this->stream->xine->port_ticket->release(this->stream->xine->port_ticket, > 0); > // fprintf(stderr, "redraw_needed: %d\n", redraw_needed); > usleep(1); > } > } > > // fprintf(stderr, "vdr: osdflush -\n"); I would like to get the bigger picture here: What do you need this for? Michael -- NEVER touch a running Sysop! |