diff options
author | Julian Scheel <julian@jusst.de> | 2008-12-15 14:11:56 +0000 |
---|---|---|
committer | Julian Scheel <julian@jusst.de> | 2008-12-15 14:11:56 +0000 |
commit | b08385e8109ffc196aa13b9cc6dc608e98184587 (patch) | |
tree | 65436da057a3e4f1cd47ade7dc0f10846ae23bf5 /src | |
parent | 0ea5575f5b9e5eda279a99c7acbbc63d13a88274 (diff) | |
download | xine-lib-b08385e8109ffc196aa13b9cc6dc608e98184587.tar.gz xine-lib-b08385e8109ffc196aa13b9cc6dc608e98184587.tar.bz2 |
Set img->duration.
Diffstat (limited to 'src')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index 48746bc40..ebf838772 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -376,7 +376,7 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, xprintf(this->xine, XINE_VERBOSITY_LOG, "vdpau_h264: Decoder failure: %s\n", this->vdpau_accel->vdp_get_error_string(status)); else { - img->duration = 0; + img->duration = this->video_step; if(this->nal_parser->current_nal->nal_unit_type == NAL_SLICE_IDR) img->pts = buf->pts; else |