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
f7e16185
Commit
f7e16185
authored
Jan 16, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed invalid use of p_input->i_pts_delay.
parent
02311b59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
modules/video_output/snapshot.c
modules/video_output/snapshot.c
+2
-10
No files found.
modules/video_output/snapshot.c
View file @
f7e16185
...
...
@@ -359,19 +359,11 @@ static void Destroy( vlc_object_t *p_this )
/* Return the position in ms from the start of the movie */
static
mtime_t
snapshot_GetMovietime
(
vout_thread_t
*
p_vout
)
{
input_thread_t
*
p_input
;
vlc_value_t
val
;
mtime_t
i_result
;
p_input
=
p_vout
->
p_sys
->
p_input
;
input_thread_t
*
p_input
=
p_vout
->
p_sys
->
p_input
;
if
(
!
p_input
)
return
0
;
var_Get
(
p_input
,
"time"
,
&
val
);
i_result
=
val
.
i_time
-
p_input
->
i_pts_delay
;
return
(
i_result
/
1000
);
return
var_GetTime
(
p_input
,
"time"
)
/
1000
;
}
/*****************************************************************************
...
...
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