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
ef705615
Commit
ef705615
authored
Nov 24, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use LOW_DELAY only with MPEG1/2. Closes #864
parent
6aa2db78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+3
-1
No files found.
modules/codec/ffmpeg/encoder.c
View file @
ef705615
...
@@ -407,7 +407,9 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
...
@@ -407,7 +407,9 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
p_context
->
max_b_frames
=
p_context
->
max_b_frames
=
__MAX
(
__MIN
(
p_sys
->
i_b_frames
,
FF_MAX_B_FRAMES
),
0
);
__MAX
(
__MIN
(
p_sys
->
i_b_frames
,
FF_MAX_B_FRAMES
),
0
);
p_context
->
b_frame_strategy
=
0
;
p_context
->
b_frame_strategy
=
0
;
if
(
!
p_context
->
max_b_frames
)
if
(
!
p_context
->
max_b_frames
&&
(
p_enc
->
fmt_out
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'2'
,
'v'
)
||
p_enc
->
fmt_out
.
i_codec
==
VLC_FOURCC
(
'm'
,
'p'
,
'1'
,
'v'
)
)
)
p_context
->
flags
|=
CODEC_FLAG_LOW_DELAY
;
p_context
->
flags
|=
CODEC_FLAG_LOW_DELAY
;
av_reduce
(
&
i_aspect_num
,
&
i_aspect_den
,
av_reduce
(
&
i_aspect_num
,
&
i_aspect_den
,
...
...
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