mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit 'c0d973c41b4568d5bad1295879e35cfa611bdcf2'
* commit 'c0d973c41b4568d5bad1295879e35cfa611bdcf2':
vdpau: use the correct namespace for the union
Conflicts:
libavcodec/vdpau.h
See: 68dfe530e0
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
0da0caa9a9
@ -53,7 +53,7 @@
|
|||||||
#include <vdpau/vdpau_x11.h>
|
#include <vdpau/vdpau_x11.h>
|
||||||
#include "libavutil/avconfig.h"
|
#include "libavutil/avconfig.h"
|
||||||
|
|
||||||
union FFVdpPictureInfo {
|
union AVVDPAUPictureInfo {
|
||||||
VdpPictureInfoH264 h264;
|
VdpPictureInfoH264 h264;
|
||||||
VdpPictureInfoMPEG1Or2 mpeg;
|
VdpPictureInfoMPEG1Or2 mpeg;
|
||||||
VdpPictureInfoVC1 vc1;
|
VdpPictureInfoVC1 vc1;
|
||||||
@ -89,7 +89,7 @@ typedef struct AVVDPAUContext {
|
|||||||
*
|
*
|
||||||
* Set by libavcodec.
|
* Set by libavcodec.
|
||||||
*/
|
*/
|
||||||
union FFVdpPictureInfo info;
|
union AVVDPAUPictureInfo info;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allocated size of the bitstream_buffers table.
|
* Allocated size of the bitstream_buffers table.
|
||||||
@ -138,7 +138,7 @@ struct vdpau_render_state {
|
|||||||
|
|
||||||
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
|
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
|
||||||
/** picture parameter information for all supported codecs */
|
/** picture parameter information for all supported codecs */
|
||||||
union FFVdpPictureInfo info;
|
union AVVDPAUPictureInfo info;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Describe size/location of the compressed video data.
|
/** Describe size/location of the compressed video data.
|
||||||
@ -150,7 +150,7 @@ struct vdpau_render_state {
|
|||||||
|
|
||||||
#if !AV_HAVE_INCOMPATIBLE_LIBAV_ABI
|
#if !AV_HAVE_INCOMPATIBLE_LIBAV_ABI
|
||||||
/** picture parameter information for all supported codecs */
|
/** picture parameter information for all supported codecs */
|
||||||
union FFVdpPictureInfo info;
|
union AVVDPAUPictureInfo info;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user