OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86dd4b0
)
h264dec: Support CODEC_FLAG2_SHOW_ALL.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Sep 2011 13:25:19 +0000
(15:25 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Sep 2011 13:33:50 +0000
(15:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
33f70fe
..
227c890
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3713,6
+3713,7
@@
static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
(hx->nal_unit_type == NAL_IDR_SLICE) ||
(h->sei_recovery_frame_cnt >= 0);
h->sync |= !!s->current_picture_ptr->f.key_frame;
+ h->sync |= 3*!!(s->flags2 & CODEC_FLAG2_SHOW_ALL);
s->current_picture_ptr->sync = h->sync;
if (h->current_slice == 1) {