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
1239f0ea
Commit
1239f0ea
authored
Dec 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used VLC_TS_0 in rawdv demuxer.
parent
bc4a872d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/rawdv.c
modules/demux/rawdv.c
+4
-4
No files found.
modules/demux/rawdv.c
View file @
1239f0ea
...
...
@@ -216,7 +216,7 @@ static int Open( vlc_object_t * p_this )
p_sys
->
frame_size
=
dv_header
.
dsf
?
12
*
150
*
80
:
10
*
150
*
80
;
p_sys
->
f_rate
=
dv_header
.
dsf
?
25
:
29
.
97
;
p_sys
->
i_pcr
=
1
;
p_sys
->
i_pcr
=
0
;
p_sys
->
p_es_video
=
NULL
;
p_sys
->
p_es_audio
=
NULL
;
...
...
@@ -294,7 +294,7 @@ static int Demux( demux_t *p_demux )
}
/* Call the pace control */
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
p_sys
->
i_pcr
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
VLC_TS_0
+
p_sys
->
i_pcr
);
p_block
=
stream_Block
(
p_demux
->
s
,
p_sys
->
frame_size
);
if
(
p_block
==
NULL
)
{
...
...
@@ -309,7 +309,7 @@ static int Demux( demux_t *p_demux )
}
p_block
->
i_dts
=
p_block
->
i_pts
=
p_sys
->
i_pcr
;
p_block
->
i_pts
=
VLC_TS_0
+
p_sys
->
i_pcr
;
if
(
b_audio
)
{
...
...
@@ -317,7 +317,7 @@ static int Demux( demux_t *p_demux )
if
(
p_audio_block
)
{
p_audio_block
->
i_pts
=
p_audio_block
->
i_dts
=
p_sys
->
i_pcr
;
p_audio_block
->
i_dts
=
VLC_TS_0
+
p_sys
->
i_pcr
;
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_es_audio
,
p_audio_block
);
}
}
...
...
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