[FFmpeg-devel] [PATCH] Add example transcoding.c

Nicolas George george at nsup.org
Tue Feb 18 12:27:38 CET 2014


Le decadi 30 pluviôse, an CCXXII, Andrey Utkin a écrit :
> Non-empty valgrind report. This wasn't here before.

And why would this need to be _cured_?

> I haven't used it in my apps before in this case, but i would like to

There you are.

> use it at last here for brevity, because internally it really does
> what is needed - it copies all properties.

And that is exactly the problem. Copying the frame size and pixel format is
fine, copying the codec-dependant or internal stuff, such as extradata, rate
control, etc., is not what is wanted here.

>					     And it feels wrong to
> rewrite similar procedure in each project.

Then you should propose a new API to copy the portable properties, just for
that particular use.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140218/e45ce955/attachment.asc>


More information about the ffmpeg-devel mailing list