Hi Tom,
> > if (ctx->texture == 1) { > > ... > > The ordering of sections in a Hap frame is not specified, so you can’t > assume the first is the colour and the second alpha - you will have to > query the section types for both sections and choose the appropriate one. > Ok > > > bytestream2_seek(&gbc, start_section_size, SEEK_SET);//On va au debut de > la texture 1 > > Comments in English are more helpful for those like me with terrible > French. > Sorry forget to translate this one (and the previous one) ! > > { "texture", "texture to keep", OFFSET(texture), AV_OPT_TYPE_INT, {.i64 > = 0 }, 0, 1, }, > > Could there be named options to follow this (eg, “color”, “alpha”)? > Yes, probably more user friendly. I will send a new patch. Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel