comparison vdpau.h @ 10454:7a0648324174 libavcodec

Clarify responsibility for freeing a buffer when using vdpau.
author cehoyos
date Tue, 27 Oct 2009 08:30:50 +0000
parents 92bd4156f0f1
children cdf5b1ed3500
comparison
equal deleted inserted replaced
10453:0a97bc8da768 10454:7a0648324174
73 VdpPictureInfoH264 h264; 73 VdpPictureInfoH264 h264;
74 VdpPictureInfoMPEG1Or2 mpeg; 74 VdpPictureInfoMPEG1Or2 mpeg;
75 VdpPictureInfoVC1 vc1; 75 VdpPictureInfoVC1 vc1;
76 } info; 76 } info;
77 77
78 /** Describe size/location of the compressed video data. */ 78 /** Describe size/location of the compressed video data.
79 Set to 0 when freeing bitstream_buffers. */
79 int bitstream_buffers_allocated; 80 int bitstream_buffers_allocated;
80 int bitstream_buffers_used; 81 int bitstream_buffers_used;
82 /** The user is responsible for freeing this buffer using av_freep(). */
81 VdpBitstreamBuffer *bitstream_buffers; 83 VdpBitstreamBuffer *bitstream_buffers;
82 }; 84 };
83 85
84 /* @}*/ 86 /* @}*/
85 87