Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
70cbf334
Commit
70cbf334
authored
11 years ago
by
Diego Biurrun
Committed by
Anton Khirnov
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
vdpau: Add missing #includes to fix standalone header compilation
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
e2b5b097
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavcodec/vdpau.h
+4
-0
4 additions, 0 deletions
libavcodec/vdpau.h
libavcodec/vdpau_internal.h
+5
-1
5 additions, 1 deletion
libavcodec/vdpau_internal.h
with
9 additions
and
1 deletion
libavcodec/vdpau.h
+
4
−
0
View file @
70cbf334
...
...
@@ -52,6 +52,10 @@
#include
<vdpau/vdpau.h>
#include
<vdpau/vdpau_x11.h>
#include
"libavutil/attributes.h"
#include
"version.h"
#if FF_API_BUFS_VDPAU
union
AVVDPAUPictureInfo
{
VdpPictureInfoH264
h264
;
...
...
This diff is collapsed.
Click to expand it.
libavcodec/vdpau_internal.h
+
5
−
1
View file @
70cbf334
...
...
@@ -26,8 +26,10 @@
#include
<stdint.h>
#include
<vdpau/vdpau.h>
#include
"h264.h"
#include
"avcodec.h"
#include
"mpegvideo.h"
#include
"version.h"
/** Extract VdpVideoSurface from a Picture */
static
inline
uintptr_t
ff_vdpau_get_surface_id
(
Picture
*
pic
)
...
...
@@ -42,6 +44,8 @@ union AVVDPAUPictureInfo {
VdpPictureInfoVC1
vc1
;
VdpPictureInfoMPEG4Part2
mpeg4
;
};
#else
#include
"vdpau.h"
#endif
struct
vdpau_picture_context
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment