[FFmpeg-cvslog] frwu: do not set interlacing flags.
Michael Niedermayer
git at videolan.org
Thu Nov 22 05:43:28 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 22 05:15:57 2012 +0100| [91743fb7305a0212655e4841c20d8cd0cbc1be99] | committer: Michael Niedermayer
frwu: do not set interlacing flags.
Our fate frwu sample is definitely not interlaced.
If someone has a interlaced frwu file, please contact us.
Without this change the field order patch would cause
incorrect interlacing information to be written when
using frwu input.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91743fb7305a0212655e4841c20d8cd0cbc1be99
---
libavcodec/frwu.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c
index 90ffc79..c70013b 100644
--- a/libavcodec/frwu.c
+++ b/libavcodec/frwu.c
@@ -66,8 +66,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
pic->pict_type = AV_PICTURE_TYPE_I;
pic->key_frame = 1;
- pic->interlaced_frame = 1;
- pic->top_field_first = 1;
for (field = 0; field < 2; field++) {
int i;
More information about the ffmpeg-cvslog
mailing list