diff options
| author | Julian Scheel <julian@jusst.de> | 2009-01-27 16:52:55 +0000 |
|---|---|---|
| committer | Julian Scheel <julian@jusst.de> | 2009-01-27 16:52:55 +0000 |
| commit | 1b324731e2105519a22f8e37a315d0883a997a70 (patch) | |
| tree | de6420593f1febd0b9183612a6f3b3f725a77a0f /src/libvdpau | |
| parent | a3d246f8ff6bfc1748e5fdfbf24999a06b682960 (diff) | |
| download | xine-lib-1b324731e2105519a22f8e37a315d0883a997a70.tar.gz xine-lib-1b324731e2105519a22f8e37a315d0883a997a70.tar.bz2 | |
Fix pre-emption reinit in case an OSD was shown.
Diffstat (limited to 'src/libvdpau')
| -rw-r--r-- | src/libvdpau/vdpau_h264.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index ea9c3187c..16d8e3fb9 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -446,7 +446,8 @@ static int vdpau_decoder_render(video_decoder_t *this_gen, VdpBitstreamBuffer *v this->decoder = VDP_INVALID_HANDLE; vdpau_h264_reset(this_gen); this->vdp_runtime_nr = this->vdpau_accel->vdp_runtime_nr; - this->last_img = NULL; + img->free(img); + img = this->last_img = NULL; return 0; } |
