Commit 5993d67a authored by michaelni's avatar michaelni

low_delay / has_b_frames fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@770 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2ba5d1cd
...@@ -3504,6 +3504,8 @@ int mpeg4_decode_picture_header(MpegEncContext * s) ...@@ -3504,6 +3504,8 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
return -1; return -1;
} }
}else{ }else{
// set low delay flag only once so the smart? low delay detection wont be overriden
if(s->picture_number==0)
s->low_delay=0; s->low_delay=0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment