changeset 2111:3c1dba53954e libavcodec

10l (fixes delayed frames during encoding)
author michael
date Wed, 30 Jun 2004 23:12:21 +0000
parents 96b05a70a154
children aba68a44e2ee
files mpeg12.c mpegvideo.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Wed Jun 30 22:39:01 2004 +0000
+++ b/mpeg12.c	Wed Jun 30 23:12:21 2004 +0000
@@ -2973,6 +2973,7 @@
     MPV_encode_picture,
     MPV_encode_end,
     .supported_framerates= frame_rate_tab+1,
+    .capabilities= CODEC_CAP_DELAY,
 };
 
 #ifdef CONFIG_RISKY
@@ -2986,6 +2987,7 @@
     MPV_encode_picture,
     MPV_encode_end,
     .supported_framerates= frame_rate_tab+1,
+    .capabilities= CODEC_CAP_DELAY,
 };
 #endif
 #endif
--- a/mpegvideo.c	Wed Jun 30 22:39:01 2004 +0000
+++ b/mpegvideo.c	Wed Jun 30 23:12:21 2004 +0000
@@ -6048,6 +6048,7 @@
     MPV_encode_picture,
     MPV_encode_end,
     .options = mpeg4_options,
+    .capabilities= CODEC_CAP_DELAY,
 };
 
 AVCodec msmpeg4v1_encoder = {