summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2008-12-23 18:04:00 +0000
committerJulian Scheel <julian@jusst.de>2008-12-23 18:04:00 +0000
commit299eab67f31692aee71a93dc09f9bd2a664bf7a7 (patch)
treedbc476a4f7b7a91311b9160f18e829304ddab761
parentcaf641b1b9f0082413ef4de5372d9c19b0c7e39c (diff)
downloadxine-lib-299eab67f31692aee71a93dc09f9bd2a664bf7a7.tar.gz
xine-lib-299eab67f31692aee71a93dc09f9bd2a664bf7a7.tar.bz2
Fix build error & remove a few printfs.
-rw-r--r--src/libvdpau/dpb.c4
-rw-r--r--src/libvdpau/dpb.h1
-rw-r--r--src/libvdpau/h264_parser.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/src/libvdpau/dpb.c b/src/libvdpau/dpb.c
index 71bc1ce01..7ad87bab7 100644
--- a/src/libvdpau/dpb.c
+++ b/src/libvdpau/dpb.c
@@ -297,9 +297,7 @@ int dpb_flush(struct dpb *dpb)
pic = next_pic;
} while (pic != NULL);
- printf("Flushed, used: %d\n", dpb->used);
- //dpb->pictures = NULL;
- //dpb->used = 0;
+ //printf("Flushed, used: %d\n", dpb->used);
return 0;
}
diff --git a/src/libvdpau/dpb.h b/src/libvdpau/dpb.h
index 3d313177c..8ecde5d92 100644
--- a/src/libvdpau/dpb.h
+++ b/src/libvdpau/dpb.h
@@ -62,6 +62,7 @@ struct decoded_picture* dpb_get_picture_by_ltpn(struct dpb *dpb, uint32_t longte
struct decoded_picture* dpb_get_picture_by_ltidx(struct dpb *dpb, uint32_t longterm_idx);
int dpb_set_unused_ref_picture(struct dpb *dpb, uint32_t picnum);
+int dpb_set_unused_ref_picture_a(struct dpb *dpb, struct decoded_picture *refpic);
int dpb_set_unused_ref_picture_byltpn(struct dpb *dpb, uint32_t longterm_picnum);
int dpb_set_unused_ref_picture_bylidx(struct dpb *dpb, uint32_t longterm_idx);
int dpb_set_unused_ref_picture_lidx_gt(struct dpb *dpb, uint32_t longterm_idx);
diff --git a/src/libvdpau/h264_parser.c b/src/libvdpau/h264_parser.c
index f7d12d322..410732fea 100644
--- a/src/libvdpau/h264_parser.c
+++ b/src/libvdpau/h264_parser.c
@@ -488,7 +488,6 @@ void parse_sei(struct buf_reader *buf, struct nal_parser *parser)
if(parser->cpb_dpb_delays_present_flag) {
sei->pic_timing.cpb_removal_delay = read_bits(buf, 5);
sei->pic_timing.dpb_output_delay = read_bits(buf, 5);
- printf("output delay: %d\n", sei->pic_timing.dpb_output_delay);
}
}
}