[FFmpeg-devel] [PATCH] flv is not low_delay

Reimar Döffinger Reimar.Doeffinger
Sun Dec 12 01:46:39 CET 2010


Hello,
I think that current low_delay and thus has_b_frames is set incorrectly
for flv.
This causes some issues for MPlayer, and while MPlayer probably shouldn't
rely on it so much, below patch fixes the issue.
Does it look ok to you?
Index: libavcodec/h263dec.c
===================================================================
--- libavcodec/h263dec.c        (revision 25928)
+++ libavcodec/h263dec.c        (working copy)
@@ -104,6 +104,7 @@
         break;
     case CODEC_ID_FLV1:
         s->h263_flv = 1;
+        s->low_delay = 0;
         break;
     default:
         return -1;



More information about the ffmpeg-devel mailing list