summaryrefslogtreecommitdiff
path: root/src/libvdpau/vdpau_h264.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvdpau/vdpau_h264.c')
-rw-r--r--src/libvdpau/vdpau_h264.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c
index 699c9108c..2e88932d4 100644
--- a/src/libvdpau/vdpau_h264.c
+++ b/src/libvdpau/vdpau_h264.c
@@ -285,6 +285,21 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen,
//dump_pictureinfo_h264(&pic);
+ int i;
+ printf("Decode data: \n");
+ for(i = 0; i < ((vdp_buffer.bitstream_bytes < 20) ? vdp_buffer.bitstream_bytes : 20); i++) {
+ printf("%02x ", ((uint8_t*)vdp_buffer.bitstream)[i]);
+ if((i+1) % 10 == 0)
+ printf("\n");
+ }
+ printf("\n...\n");
+ for(i = vdp_buffer.bitstream_bytes - 20; i < vdp_buffer.bitstream_bytes; i++) {
+ printf("%02x ", ((uint8_t*)vdp_buffer.bitstream)[i]);
+ if((i+1) % 10 == 0)
+ printf("\n");
+ }
+
+
if(img == NULL) {
img = this->stream->video_out->get_frame (this->stream->video_out,
this->width, this->height,