[FFmpeg-devel] [PATCH] H264: avctx->{profile, level} init down to SPS (take 3)
Michael Niedermayer
michaelni
Wed Apr 14 21:51:05 CEST 2010
On Wed, Apr 14, 2010 at 06:12:45PM +0200, Gwenole Beauchesne wrote:
> On Wed, 14 Apr 2010, Gwenole Beauchesne wrote:
>
>> On Wed, 14 Apr 2010, Michael Niedermayer wrote:
>>
>>> On Wed, Apr 14, 2010 at 09:50:17AM +0200, Gwenole Beauchesne wrote:
>>>> Similarly to the avctx->refs patch, this one moves other {profile,level}
>>>> fields initialization below.
>>
>> This one moves avctx->{profile,level} up to decode_slice_header(). For
>> some HW decoders, it could be useful to know the expected profile. e.g.
>> baseline != high profile.
>
> Same, without the cosmetics. Thanks elupus. ;-)
> h264.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
> dc32bdfa2a21d71ad9066b08b51e38b569a73d9d ffmpeg.h264.profile+level.3.patch
> commit b2fbcc7e5079b8b3c718cf6bae62b91205703ef1
> Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
> Date: Wed Apr 14 14:58:38 2010 +0200
>
> Move avctx->{profile,level} initialization before AVCodecContext.get_format().
ok
[...]
--
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/20100414/57cd3734/attachment.pgp>
More information about the ffmpeg-devel
mailing list