mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
h264: allow debuging SEI types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
caf63ebd0b
commit
6270207511
@ -177,6 +177,9 @@ int ff_h264_decode_sei(H264Context *h){
|
|||||||
size+= show_bits(&s->gb, 8);
|
size+= show_bits(&s->gb, 8);
|
||||||
}while(get_bits(&s->gb, 8) == 255);
|
}while(get_bits(&s->gb, 8) == 255);
|
||||||
|
|
||||||
|
if(s->avctx->debug&FF_DEBUG_STARTCODE)
|
||||||
|
av_log(h->s.avctx, AV_LOG_DEBUG, "SEI %d len:%d\n", type, size);
|
||||||
|
|
||||||
switch(type){
|
switch(type){
|
||||||
case SEI_TYPE_PIC_TIMING: // Picture timing SEI
|
case SEI_TYPE_PIC_TIMING: // Picture timing SEI
|
||||||
if(decode_picture_timing(h) < 0)
|
if(decode_picture_timing(h) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user