Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2b12cd63
Commit
2b12cd63
authored
Sep 29, 2013
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: add mention if it's audio or video that has too high drift
parent
7fbedf14
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/stream_out/transcode/audio.c
modules/stream_out/transcode/audio.c
+1
-1
modules/stream_out/transcode/video.c
modules/stream_out/transcode/video.c
+2
-2
No files found.
modules/stream_out/transcode/audio.c
View file @
2b12cd63
...
...
@@ -208,7 +208,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
if
(
i_drift
>
MASTER_SYNC_MAX_DRIFT
||
i_drift
<
-
MASTER_SYNC_MAX_DRIFT
)
{
msg_Dbg
(
p_stream
,
"drift is too high (%"
PRId64
"), resetting master sync"
,
"
audio
drift is too high (%"
PRId64
"), resetting master sync"
,
i_drift
);
date_Set
(
&
id
->
interpolated_pts
,
p_audio_buf
->
i_pts
);
i_pts
=
p_audio_buf
->
i_pts
+
1
;
...
...
modules/stream_out/transcode/video.c
View file @
2b12cd63
...
...
@@ -664,7 +664,7 @@ static void OutputFrame( sout_stream_sys_t *p_sys, picture_t *p_pic, bool b_need
||
i_video_drift
<
-
MASTER_SYNC_MAX_DRIFT
)
)
{
msg_Dbg
(
p_stream
,
"drift is too high (%"
PRId64
"), resetting master sync"
,
"
video
drift is too high (%"
PRId64
"), resetting master sync"
,
i_video_drift
);
date_Set
(
&
id
->
interpolated_pts
,
p_pic
->
date
);
i_pts
=
p_pic
->
date
+
1
;
...
...
@@ -765,7 +765,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
||
i_video_drift
<
-
MASTER_SYNC_MAX_DRIFT
)
)
{
msg_Dbg
(
p_stream
,
"drift is too high (%"
PRId64
", resetting master sync"
,
"
video
drift is too high (%"
PRId64
", resetting master sync"
,
i_video_drift
);
date_Set
(
&
id
->
interpolated_pts
,
p_pic
->
date
);
i_pts
=
p_pic
->
date
+
1
;
...
...
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