[FFmpeg-devel] [PATCH] movie video source (original) (raw)
Michael Niedermayer michaelni
Sat Jan 1 02:22:17 CET 2011
- Previous message: [FFmpeg-devel] [PATCH] fix for roundup issue 2127
- Next message: [FFmpeg-devel] [PATCH] movie video source
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Dec 31, 2010 at 04:35:30PM +0100, Stefano Sabatini wrote:
On date Thursday 2010-12-30 01:03:38 +0100, Michael Niedermayer encoded: > On Tue, Dec 28, 2010 at 02:42:33PM +0100, Stefano Sabatini wrote: [...] > > + // Is this a packet from the video stream? > > + if (packet.streamindex == movie->streamidx) { > > + // Decode video frame > > + avcodecdecodevideo2(movie->codecctx, movie->frame, &framefinished, &packet); > > + > > + // Did we get a video frame? > > + if (framefinished) { > > + movie->picref = > > + avfiltergetvideobufferreffromarrays(movie->frame->data, movie->frame->linesize, > > + AVPERMREAD, > > + outlink->format, outlink->w, outlink->h);
> > + movie->picref->pts = packet.pts; > > this is wrong > > > > + movie->picref->pos = packet.pos; > > so is this wtf why?
see your favorit video player or reordered_opaque
[...]
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110101/b81d01bc/attachment.pgp>
- Previous message: [FFmpeg-devel] [PATCH] fix for roundup issue 2127
- Next message: [FFmpeg-devel] [PATCH] movie video source
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]