[FFmpeg-devel] [PATCH] h264: Return the correct number of bytes for mid strea, extradata.
Michael Niedermayer
michaelni at gmx.at
Mon Jan 30 21:39:13 CET 2012
On Mon, Jan 30, 2012 at 07:25:19PM +0100, Michael Niedermayer wrote:
> On Mon, Jan 30, 2012 at 11:56:07AM +0100, Nicolas George wrote:
> > Le primidi 11 pluviôse, an CCXX, Michael Niedermayer a écrit :
> > > yes ive sent a second patch that fixes extradata changes with multiple
> > > threads.
> > >
> > > are you ok with me applying both, or do you see some better solution?
> >
> > I am affraid I still get this:
> >
> > Output file #0 does not contain any stream
> >
> > same as before. Or maybe I did not try the correct patch: I tried with this
> > one and:
> >
> > mpeg/h264: update thread context even if it is not initialized.
> >
> > Did I miss some?
>
> i get:
> frame= 306 fps=123 q=31.0 Lsize= 779kB time=00:00:10.26 bitrate= 621.8kbits/s
> video:593kB audio:160kB global headers:0kB muxing overhead 3.491434%
>
> with the 2 patches
ok if i apply this patch? it fixes the return value making it
match the number of consumed bytes.
The strange behavior you see could be caused by a undiscovered issue
in the second patch. It is no doubt more tricky code.
But i ATM dont really see anything i could do here except applying and
waiting for a reproduceable bug report considering it works for me
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
You can kill me, but you cannot change the truth.
-------------- 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/20120130/efc20b67/attachment.asc>
More information about the ffmpeg-devel
mailing list