Signed-off-by: Diego Biurrun <diego@biurrun.de>tags/n0.9
| @@ -2295,8 +2295,6 @@ static int transcode(AVFormatContext **output_files, | |||||
| } | } | ||||
| assert_codec_experimental(ist->st->codec, 0); | assert_codec_experimental(ist->st->codec, 0); | ||||
| assert_avoptions(ost->opts); | assert_avoptions(ost->opts); | ||||
| //if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO) | |||||
| // ist->st->codec->flags |= CODEC_FLAG_REPEAT_FIELD; | |||||
| } | } | ||||
| } | } | ||||
| @@ -2391,8 +2391,6 @@ static int transcode(AVFormatContext **output_files, | |||||
| } | } | ||||
| assert_codec_experimental(ist->st->codec, 0); | assert_codec_experimental(ist->st->codec, 0); | ||||
| assert_avoptions(ost->opts); | assert_avoptions(ost->opts); | ||||
| //if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO) | |||||
| // ist->st->codec->flags |= CODEC_FLAG_REPEAT_FIELD; | |||||
| } | } | ||||
| } | } | ||||
| @@ -2260,18 +2260,6 @@ static int mpeg_decode_frame(AVCodecContext *avctx, | |||||
| return buf_size; | return buf_size; | ||||
| } | } | ||||
| #if 0 | |||||
| if (s->repeat_field % 2 == 1) { | |||||
| s->repeat_field++; | |||||
| //fprintf(stderr,"\nRepeating last frame: %d -> %d! pict: %d %d", avctx->frame_number-1, avctx->frame_number, | |||||
| // s2->picture_number, s->repeat_field); | |||||
| if (avctx->flags & CODEC_FLAG_REPEAT_FIELD) { | |||||
| *data_size = sizeof(AVPicture); | |||||
| goto the_end; | |||||
| } | |||||
| } | |||||
| #endif | |||||
| if(s->mpeg_enc_ctx_allocated==0 && avctx->codec_tag == AV_RL32("VCR2")) | if(s->mpeg_enc_ctx_allocated==0 && avctx->codec_tag == AV_RL32("VCR2")) | ||||
| vcr2_init_sequence(avctx); | vcr2_init_sequence(avctx); | ||||