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
edfe05d1
Commit
edfe05d1
authored
Dec 07, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x264: mention to remove kludge when 0 is a valid timestamp
parent
2f0173a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/codec/x264.c
modules/codec/x264.c
+4
-1
No files found.
modules/codec/x264.c
View file @
edfe05d1
...
...
@@ -1253,6 +1253,7 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
}
else
{
#if 1
/* XXX: remove me when 0 is a valid timestamp (see #3135) */
if
(
p_sys
->
i_interpolated_dts
)
{
p_block
->
i_dts
=
p_sys
->
i_interpolated_dts
;
...
...
@@ -1262,7 +1263,9 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
/* Let's put something sensible */
p_block
->
i_dts
=
p_block
->
i_pts
;
}
#else
p_block
->
i_dts
=
p_sys
->
i_interpolated_dts
;
#endif
p_sys
->
i_interpolated_dts
+=
p_block
->
i_length
;
}
}
...
...
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