changeset 2042:87620c5e2b03 libavcodec

export low_delay for encoding too
author michael
date Sat, 29 May 2004 15:16:52 +0000
parents b996fbe0a7e7
children 703b80c99891
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Fri May 28 13:31:38 2004 +0000
+++ b/mpegvideo.c	Sat May 29 15:16:52 2004 +0000
@@ -1156,6 +1156,8 @@
     default:
         return -1;
     }
+    
+    avctx->has_b_frames= !s->low_delay;
 
     s->encoding = 1;