[Ffmpeg-devel] pip.c - PiP (Picture in Picture)v1.0patch.Remakeof watermark.c

Víctor Paesa wzrlpy
Thu Oct 26 13:59:21 CEST 2006


Hi,

My black borders issue is the same problem as here:

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-October/047296.html

I believe it should be

sws_scale(ci->watermark_convert_ctx,
    ci->pFrame->data, ci->pFrame->linesize, 0, ci->pCodecCtx->height,
    ci->pFrameRGB->data, ci->pFrameRGB->linesize);

instead of

sws_scale(ci->watermark_convert_ctx,
    ci->pFrame->data, ci->pFrame->linesize, 0, ci->y_size,
    ci->pFrameRGB->data, ci->pFrameRGB->linesize);

Regards,
V?ctor




More information about the ffmpeg-devel mailing list