[MPlayer-dev-eng] Direct3D OSD discussion

Georgi Petrov gogothebee at gmail.com
Mon Dec 8 19:23:12 CET 2008


/** @brief libvo Callback: Draw OSD/Subtitles,
 */
static void draw_osd(void)
{
    if (vo_osd_changed(0)) {
        D3DLOCKED_RECT  locked_rect;   /**< Offscreen surface we lock in order
                                         to copy MPlayer's frame inside it.*/


locked_rect shadows the global variable priv->locked_rect. I know this
is not a problem, but may create confusion in the future.



More information about the MPlayer-dev-eng mailing list