[FFmpeg-devel] [PATCH] Export large crop values via AVCodecContext

Michael Niedermayer michaelni
Wed Jun 3 17:34:08 CEST 2009


On Thu, May 28, 2009 at 09:10:45PM -0400, David Conrad wrote:
> Hi,
>
> As far as I can tell, it's impractical to crop large values internally, 
> since buffers returned from decode_frame must have the same dimensions as 
> AVCodecContext, which also must be the coded dimensions (or up to 15 less) 
> in order for get_buffer to allocate buffers of the needed size.
>
> Thus, the only solution I see is to export these values and leave it to 
> individual applications that care about such offsets to deal with it 
> themselves.

I think these values can be exported through AVCodecContext.pan_scan

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090603/4e70bb35/attachment.pgp>



More information about the ffmpeg-devel mailing list