Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
11a72334
Commit
11a72334
authored
Mar 04, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always use direct rendering with H264 in avcodec (close #3380).
parent
b0313121
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+2
-5
No files found.
modules/codec/avcodec/video.c
View file @
11a72334
...
...
@@ -921,12 +921,9 @@ static int ffmpeg_GetFrameBuf( struct AVCodecContext *p_context,
}
return
0
;
}
else
if
(
!
p_sys
->
b_direct_rendering
||
(
p_sys
->
i_codec_id
==
CODEC_ID_H264
&&
p_ff_pic
->
reference
)
)
else
if
(
!
p_sys
->
b_direct_rendering
)
{
/* Not much to do in indirect rendering mode.
* XXX We also do not allow direct rendering with H264 reference frames
* as there can be too many of them. */
/* Not much to do in indirect rendering mode. */
return
avcodec_default_get_buffer
(
p_context
,
p_ff_pic
);
}
...
...
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