[MPlayer-dev-eng] [PATCH] libass support in vf_vo
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Aug 25 19:41:42 CEST 2006
Hello,
On Fri, Aug 25, 2006 at 08:26:24PM +0400, Evgeniy Stepanov wrote:
> Ok, I added VOCTRL_GET_EOSD_RES. If vo does not implement it, d_width and
> d_height will be used.
Thanks, I started something like this but didn't get it to a working
state yet (simply too much other stuff to do).
> + case VFCTRL_DRAW_EOSD:
> + {
> + ass_image_t* images = 0;
> + double pts = vf->priv->vf_vo_data->pts;
Looks like a tab slipped in here.
> +static void uninit(struct vf_instance_s* vf)
> +{
> + if (vf->priv->ass_priv)
> + ass_done(vf->priv->ass_priv);
> +}
I think you should check for vf->priv != NULL and also free vf->priv.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list