diff options
author | Julian Scheel <julian@jusst.de> | 2009-01-31 13:16:37 +0000 |
---|---|---|
committer | Julian Scheel <julian@jusst.de> | 2009-01-31 13:16:37 +0000 |
commit | 71b549cef6216b400045de3d331e22adbe87e7cd (patch) | |
tree | 0de7125cc980d4e6c5b466461f7738cedbaea282 /src/libvdpau/dpb.c | |
parent | 52c4074834a75fd4aee00bcf9bce0ad341b4f36b (diff) | |
download | xine-lib-71b549cef6216b400045de3d331e22adbe87e7cd.tar.gz xine-lib-71b549cef6216b400045de3d331e22adbe87e7cd.tar.bz2 |
Code cleanup.
Diffstat (limited to 'src/libvdpau/dpb.c')
-rw-r--r-- | src/libvdpau/dpb.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libvdpau/dpb.c b/src/libvdpau/dpb.c index acc3f0865..9aa2f4298 100644 --- a/src/libvdpau/dpb.c +++ b/src/libvdpau/dpb.c @@ -347,13 +347,11 @@ int fill_vdpau_reference_list(struct dpb *dpb, VdpReferenceFrameH264 *reflist) reflist[i].surface = pic->surface; reflist[i].is_long_term = pic->nal->used_for_long_term_ref; if(reflist[i].is_long_term) - reflist[i].frame_idx = pic->nal->slc->frame_num; //pic->nal->long_term_frame_idx; + reflist[i].frame_idx = pic->nal->slc->frame_num; else - reflist[i].frame_idx = pic->nal->slc->frame_num; //pic->nal->curr_pic_num; - reflist[i].top_is_reference = pic->top_is_reference; /*pic->nal->slc->field_pic_flag - ? (pic->nal->slc->bottom_field_flag ? 0 : 1) : 1;*/ - reflist[i].bottom_is_reference = pic->bottom_is_reference; /*pic->nal->slc->field_pic_flag - ? (pic->nal->slc->bottom_field_flag ? 1 : 0) : 1;*/ + reflist[i].frame_idx = pic->nal->slc->frame_num; + reflist[i].top_is_reference = pic->top_is_reference; + reflist[i].bottom_is_reference = pic->bottom_is_reference; reflist[i].field_order_cnt[0] = pic->nal->top_field_order_cnt; reflist[i].field_order_cnt[1] = pic->nal->bottom_field_order_cnt; i++; |