[FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

Michael Niedermayer michael at niedermayer.cc
Thu Jul 30 02:58:44 CEST 2015


On Thu, Jul 30, 2015 at 12:36:09AM +0000, Carl Eugen Hoyos wrote:
> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> 
> > Attached patch suggested and tested by noah fixes ticket #4644.
> 
> > diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
> > index 64ac09c..5683731 100644
> > --- a/libavdevice/v4l2.c
> > +++ b/libavdevice/v4l2.c
> 
> >      else if (codec_id == AV_CODEC_ID_H264) {
> > -        st->need_parsing = AVSTREAM_PARSE_HEADERS;
> > +        st->need_parsing = AVSTREAM_PARSE_FULL_ONCE;
> 
> Ping, the OP has updated the ticket.

patch should be ok then

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

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150730/edf45a29/attachment.sig>


More information about the ffmpeg-devel mailing list