示例#1
0
static void OSDEpgUpdate(subpicture_t *subpic,
                         const video_format_t *fmt_src,
                         const video_format_t *fmt_dst,
                         mtime_t ts)
{
    subpicture_updater_sys_t *sys = subpic->updater.p_sys;
    VLC_UNUSED(fmt_dst); VLC_UNUSED(ts);

    subpic->i_original_picture_width  = fmt_src->i_width;
    subpic->i_original_picture_height = fmt_src->i_height;
    subpic->p_region = vout_BuildOSDEpg(sys->epg,
                                        fmt_src->i_x_offset,
                                        fmt_src->i_y_offset,
                                        fmt_src->i_visible_width,
                                        fmt_src->i_visible_height);
}
示例#2
0
static void OSDEpgUpdate( subpicture_t *p_subpic,
                          const video_format_t *p_fmt_src,
                          const video_format_t *p_fmt_dst,
                          mtime_t i_ts )
{
    subpicture_updater_sys_t *p_sys = p_subpic->updater.p_sys;
    VLC_UNUSED(p_fmt_dst); VLC_UNUSED(i_ts);

    p_subpic->i_original_picture_width  = p_fmt_src->i_width;
    p_subpic->i_original_picture_height = p_fmt_src->i_height;
    p_subpic->p_region = vout_BuildOSDEpg( p_sys->p_epg,
                                           p_fmt_src->i_x_offset,
                                           p_fmt_src->i_y_offset,
                                           p_fmt_src->i_visible_width,
                                           p_fmt_src->i_visible_height );
}