[FFmpeg-devel] Encoder width/height checks breaking MPlayer...

Michael Niedermayer michaelni at gmx.at
Tue Dec 11 23:02:13 CET 2012

On Tue, Dec 11, 2012 at 09:05:43PM +0100, Reimar Döffinger wrote:
> Hello,
> I just got a report that
> http://git.videolan.org/?p=ffmpeg.git;a=commit;h=419ade4b6193c6eb626cda01b21e7091f42b2cc2
> breaks PNG screenshots in MPlayer.
> The reason is that at least for image-format encoders there was no
> reason to specify the video size on encoder open.
> The advantage of this is that it is possible to encode images with
> lots of different resolutions without having to open and close
> the codec all the time, with all the processing overhead and
> memory fragmentation that causes.

> Maybe it's time to finally introduce that codec flag that indicates
> that an encoder supports resolution changes and require valid
> dimensions on open only for those that don't?
> Any other ideas/comments?

yes, possible

anyway, ive added a workaround for PNG when i read it in IRC ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121211/e5fdf762/attachment.asc>

More information about the ffmpeg-devel mailing list