diff options
author | Julian Scheel <julian@jusst.de> | 2008-12-02 20:43:33 +0000 |
---|---|---|
committer | Julian Scheel <julian@jusst.de> | 2008-12-02 20:43:33 +0000 |
commit | 5a19f1e70d16c67e389e32a261d9a139d3c75ff1 (patch) | |
tree | a4d1fd3383dc0748fc370b31ea92093cc8e4f649 /src/libvdpau/vdpau_h264.c | |
parent | f41edff45fcdb0f59c581b3e50618bf68da40dd4 (diff) | |
download | xine-lib-5a19f1e70d16c67e389e32a261d9a139d3c75ff1.tar.gz xine-lib-5a19f1e70d16c67e389e32a261d9a139d3c75ff1.tar.bz2 |
Debug printfs...
Diffstat (limited to 'src/libvdpau/vdpau_h264.c')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index 93d7ce087..ca27cd4f8 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -180,9 +180,9 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, this->nal_parser->current_nal->sps != NULL && this->nal_parser->current_nal->pps != NULL) { - struct pic_parameter_set_rbsp *pps = this->nal_parser->current_nal->pps; - struct seq_parameter_set_rbsp *sps = this->nal_parser->current_nal->sps; - struct slice_header *slc = this->nal_parser->current_nal->slc; + struct pic_parameter_set_rbsp *pps = this->nal_parser->last_nal->pps; + struct seq_parameter_set_rbsp *sps = this->nal_parser->last_nal->sps; + struct slice_header *slc = this->nal_parser->last_nal->slc; /* go and decode a frame */ VdpPictureInfoH264 pic; @@ -232,7 +232,7 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, if(status != VDP_STATUS_OK) xprintf(this->xine, XINE_VERBOSITY_LOG, "vdpau_h264: Surface creation failed\n"); - printf("Decode: NUM: %d, REF: %d\n", pic.frame_num, pic.is_reference); + printf("Decode: NUM: %d, REF: %d, BYTES: %d, PTS: %lld\n", pic.frame_num, pic.is_reference, vdp_buffer.bitstream_bytes, buf->pts); status = this->vdpau_accel->vdp_decoder_render(this->decoder, surface, (VdpPictureInfo*)&pic, 1, &vdp_buffer); |