Fixed FPS switching (#510)

This commit is contained in:
Evgeny Shulgin 2016-12-11 08:30:54 +03:00 committed by Carlos Fernandez Sanz
parent 697132baf9
commit 0fdd608828

View File

@ -919,10 +919,9 @@ void slice_header (struct lib_cc_decode *ctx, unsigned char *heabuf, unsigned ch
bottom_field_flag = u(&q1,1);
dvprint("bottom_field_flag= % 4llX\n", bottom_field_flag);
// TODO - Do this right.
// When bottom_field_flag is set the video is interlaced,
// override current_fps.
current_fps = framerates_values[7];
current_fps = framerates_values[ctx->current_frame_rate];
}
}