You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/vc1dec: Reenable debug-info output for field pictures
Effectively reverts c59b5e3d1e
.
This is possible now that ff_print_debug_info2() uses
the MPVPicture dimensions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -1366,14 +1366,12 @@ image:
|
|||||||
if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
|
if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
|
||||||
if ((ret = av_frame_ref(pict, s->cur_pic.ptr->f)) < 0)
|
if ((ret = av_frame_ref(pict, s->cur_pic.ptr->f)) < 0)
|
||||||
goto err;
|
goto err;
|
||||||
if (!v->field_mode)
|
ff_print_debug_info(s, s->cur_pic.ptr, pict);
|
||||||
ff_print_debug_info(s, s->cur_pic.ptr, pict);
|
|
||||||
*got_frame = 1;
|
*got_frame = 1;
|
||||||
} else if (s->last_pic.ptr) {
|
} else if (s->last_pic.ptr) {
|
||||||
if ((ret = av_frame_ref(pict, s->last_pic.ptr->f)) < 0)
|
if ((ret = av_frame_ref(pict, s->last_pic.ptr->f)) < 0)
|
||||||
goto err;
|
goto err;
|
||||||
if (!v->field_mode)
|
ff_print_debug_info(s, s->last_pic.ptr, pict);
|
||||||
ff_print_debug_info(s, s->last_pic.ptr, pict);
|
|
||||||
*got_frame = 1;
|
*got_frame = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user