Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
a5d1e69c
Commit
a5d1e69c
authored
Nov 22, 2013
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: add some comments
parent
01e03b9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
modules/stream_out/transcode/transcode.h
modules/stream_out/transcode/transcode.h
+1
-0
modules/stream_out/transcode/video.c
modules/stream_out/transcode/video.c
+1
-1
No files found.
modules/stream_out/transcode/transcode.h
View file @
a5d1e69c
...
@@ -71,6 +71,7 @@ struct sout_stream_sys_t
...
@@ -71,6 +71,7 @@ struct sout_stream_sys_t
/* Sync */
/* Sync */
bool
b_master_sync
;
bool
b_master_sync
;
/* i_master drift is how much audio buffer is ahead of calculated pts */
mtime_t
i_master_drift
;
mtime_t
i_master_drift
;
};
};
...
...
modules/stream_out/transcode/video.c
View file @
a5d1e69c
...
@@ -894,7 +894,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
...
@@ -894,7 +894,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
/* This is the pts input should have now with constant frame rate */
/* This is the pts input should have now with constant frame rate */
mtime_t
i_pts
=
date_Get
(
&
id
->
interpolated_pts
);
mtime_t
i_pts
=
date_Get
(
&
id
->
interpolated_pts
);
/* How much
input pts has drifted
*/
/* How much
video pts is ahead of calculated pts
*/
mtime_t
i_video_drift
=
p_pic
->
date
-
i_pts
;
mtime_t
i_video_drift
=
p_pic
->
date
-
i_pts
;
/* Check that we are having lipsync with input here */
/* Check that we are having lipsync with input here */
...
...
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