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
8885f556
Commit
8885f556
authored
Dec 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used VLC_TS_0 in rawvid demuxer.
parent
1239f0ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/rawvid.c
modules/demux/rawvid.c
+3
-3
No files found.
modules/demux/rawvid.c
View file @
8885f556
...
...
@@ -368,7 +368,7 @@ static int Open( vlc_object_t * p_this )
u_fps_num
,
u_fps_den
,
0
);
date_Init
(
&
p_sys
->
pcr
,
p_sys
->
fmt_video
.
video
.
i_frame_rate
,
p_sys
->
fmt_video
.
video
.
i_frame_rate_base
);
date_Set
(
&
p_sys
->
pcr
,
1
);
date_Set
(
&
p_sys
->
pcr
,
0
);
if
(
!
p_sys
->
fmt_video
.
video
.
i_bits_per_pixel
)
{
...
...
@@ -409,7 +409,7 @@ static int Demux( demux_t *p_demux )
mtime_t
i_pcr
=
date_Get
(
&
p_sys
->
pcr
);
/* Call the pace control */
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
i_pcr
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
VLC_TS_0
+
i_pcr
);
if
(
p_sys
->
b_y4m
)
{
...
...
@@ -434,7 +434,7 @@ static int Demux( demux_t *p_demux )
return
0
;
}
p_block
->
i_dts
=
p_block
->
i_pts
=
i_pcr
;
p_block
->
i_dts
=
p_block
->
i_pts
=
VLC_TS_0
+
i_pcr
;
es_out_Send
(
p_demux
->
out
,
p_sys
->
p_es_video
,
p_block
);
date_Increment
(
&
p_sys
->
pcr
,
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