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:
671028e
)
Provide top_field_first logic for h264
author
Reinhard Nissl
<rnissl@gmx.de>
Sat, 10 Nov 2007 06:10:46 +0000
(06:10 +0000)
committer
Andreas Öman
<andreas@lonelycoder.com>
Sat, 10 Nov 2007 06:10:46 +0000
(06:10 +0000)
patch by: Reinhard Nissl rnissl a gmx d de
Originally committed as revision 10989 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
70de4cf
..
f4def12
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-7767,6
+7767,8
@@
static int decode_frame(AVCodecContext *avctx,
} else {
cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
+ /* Derive top_field_first from field pocs. */
+ cur->top_field_first = cur->field_poc[0] < cur->field_poc[1];
//FIXME do something with unavailable reference frames