[FFmpeg-devel] [PATCH]Implement Bluray subtitle forcing

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jan 29 17:46:13 CET 2012


On Sun, Jan 29, 2012 at 04:42:04PM +0000, Carl Eugen Hoyos wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> > > +        if (!ctx->forced_subs_only ||
> > > ctx->presentation.objects[rect].composition & 0x40)
> > >          memcpy(sub->rects[rect]->pict.data[1], ctx->clut,
> > > sub->rects[rect]->nb_colors * sizeof(uint32_t));
> > 
> > Well, I'd be in favour of having some flags in sub->rects, but
> > I think that would mean an API/ABI change...
> 
> So may I commit?

I don't know if the patch is correct otherwise, I don't use
the option code usually.
I don't really see why you need the AVCodecContext in the struct
for example.


More information about the ffmpeg-devel mailing list