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
875f1b2a
Commit
875f1b2a
authored
Mar 03, 2008
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set i_start_time with AV_TIME_BASE, fixes streaming flv from file (for me)
and doesn't seem to affect any regression on demuxing.
parent
50c2f442
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/codec/ffmpeg/demux.c
modules/codec/ffmpeg/demux.c
+1
-1
No files found.
modules/codec/ffmpeg/demux.c
View file @
875f1b2a
...
...
@@ -312,7 +312,7 @@ static int Demux( demux_t *p_demux )
memcpy
(
p_frame
->
p_buffer
,
pkt
.
data
,
pkt
.
size
);
i_start_time
=
(
p_sys
->
ic
->
start_time
!=
(
int64_t
)
AV_NOPTS_VALUE
)
?
p_sys
->
ic
->
start_time
:
0
;
(
p_sys
->
ic
->
start_time
/
AV_TIME_BASE
)
:
0
;
p_frame
->
i_dts
=
(
pkt
.
dts
==
(
int64_t
)
AV_NOPTS_VALUE
)
?
0
:
(
pkt
.
dts
-
i_start_time
)
*
1000000
*
...
...
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