projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5bc7f
)
In the rawvideo decoder, set pkt_pts in the output frame.
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Thu, 27 Jan 2011 20:26:38 +0000
(21:26 +0100)
committer
Janne Grunau
<janne-ffmpeg@jannau.net>
Fri, 28 Jan 2011 16:27:54 +0000
(17:27 +0100)
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
libavcodec/rawdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/rawdec.c
b/libavcodec/rawdec.c
index
c2ca91d
..
29cc5e4
100644
(file)
--- a/
libavcodec/rawdec.c
+++ b/
libavcodec/rawdec.c
@@
-124,6
+124,7
@@
static int raw_decode(AVCodecContext *avctx,
frame->interlaced_frame = avctx->coded_frame->interlaced_frame;
frame->top_field_first = avctx->coded_frame->top_field_first;
frame->reordered_opaque = avctx->reordered_opaque;
+ frame->pkt_pts = avctx->pkt->pts;
//2bpp and 4bpp raw in avi and mov (yes this is ugly ...)
if (context->buffer) {