1377 |
|
|
1378 |
#ifdef BFRAMES_DEC |
#ifdef BFRAMES_DEC |
1379 |
// test if no B_VOP |
// test if no B_VOP |
1380 |
if (dec->low_delay) { |
if (dec->low_delay || dec->frames == 0) { |
1381 |
#endif |
#endif |
1382 |
image_output(&dec->cur, dec->width, dec->height, dec->edged_width, |
image_output(&dec->cur, dec->width, dec->height, dec->edged_width, |
1383 |
frame->image, frame->stride, frame->colorspace); |
frame->image, frame->stride, frame->colorspace); |
1384 |
|
|
1385 |
#ifdef BFRAMES_DEC |
#ifdef BFRAMES_DEC |
1386 |
} else { |
} else { |
1387 |
if (dec->frames >= 0) { |
if (dec->frames >= 1) { |
1388 |
start_timer(); |
start_timer(); |
1389 |
if ((vop_type == I_VOP || vop_type == P_VOP)) { |
if ((vop_type == I_VOP || vop_type == P_VOP)) { |
1390 |
image_output(&dec->refn[0], dec->width, dec->height, |
image_output(&dec->refn[0], dec->width, dec->height, |