Hi Michael, On Thu, 2007-01-25 at 20:52 +0100, Michael Niedermayer wrote: [...] > > So, I tried to add support for coded_frame... I came up with the > > attached patch, but I do not know if it is correct (in particular, is it > > ok to set coded_frame = &t->po?). > > i guess so / patch looks ok Good, thanks. I'll extend it and resubmit in a hopefully short time. > [...] > > Index: ffmpeg/libavcodec/h264enc.c > > =================================================================== > > --- ffmpeg.orig/libavcodec/h264enc.c 2007-01-25 16:32:12.840459312 +0100 > > +++ ffmpeg/libavcodec/h264enc.c 2007-01-25 16:32:27.045299848 +0100 > > @@ -2044,6 +2044,10 @@ > > t->frame_num++; > > if (isIDR) > > t->IDR_frame_num++; > > + > > + avctx->coded_frame = (AVFrame *)&t->po; > > why that cast? Opsss... I introduced it when doing some experiments with the code, and forgot to remove it. Thanks, Luca -- _____________________________________________________________________________ Copy this in your signature, if you think it is important: N O W A R ! ! !
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4