Commit ae451381 authored by michael's avatar michael

fixing interlaced direct mode field select values


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5183 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c1f45f71
......@@ -582,6 +582,8 @@ int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my){
s->mv_type = MV_TYPE_FIELD;
for(i=0; i<2; i++){
int field_select= s->next_picture.ref_index[0][s->block_index[2*i]];
s->field_select[0][i]= field_select;
s->field_select[1][i]= i;
if(s->top_field_first){
time_pp= s->pp_field_time - field_select + i;
time_pb= s->pb_field_time - field_select + i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment