Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
2bf4c691
Commit
2bf4c691
authored
Apr 19, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allocated up to VOUT_MAX_PICTURES when direct mode can be available (xv).
It will avoid some useless copy in video_output.
parent
c825fbc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/video_output/x11/xcommon.h
modules/video_output/x11/xcommon.h
+2
-2
No files found.
modules/video_output/x11/xcommon.h
View file @
2bf4c691
...
@@ -388,9 +388,9 @@ typedef struct mwmhints_t
...
@@ -388,9 +388,9 @@ typedef struct mwmhints_t
* Chroma defines
* Chroma defines
*****************************************************************************/
*****************************************************************************/
#ifdef MODULE_NAME_IS_xvideo
#ifdef MODULE_NAME_IS_xvideo
# define MAX_DIRECTBUFFERS
10
# define MAX_DIRECTBUFFERS
(VOUT_MAX_PICTURES)
#elif defined(MODULE_NAME_IS_xvmc)
#elif defined(MODULE_NAME_IS_xvmc)
# define MAX_DIRECTBUFFERS
12
# define MAX_DIRECTBUFFERS
(VOUT_MAX_PICTURES+2)
#else
#else
# define MAX_DIRECTBUFFERS 2
# define MAX_DIRECTBUFFERS 2
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment