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
557bc597
Commit
557bc597
authored
Dec 08, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mux_asf: use VLC_TS_INVALID (refs #3135)
parent
07e5e3a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/mux/asf.c
modules/mux/asf.c
+4
-4
No files found.
modules/mux/asf.c
View file @
557bc597
...
...
@@ -213,8 +213,8 @@ static int Open( vlc_object_t *p_this )
p_sys
->
pk
=
NULL
;
p_sys
->
i_pk_used
=
0
;
p_sys
->
i_pk_frame
=
0
;
p_sys
->
i_dts_first
=
-
1
;
p_sys
->
i_dts_last
=
0
;
p_sys
->
i_dts_first
=
p_sys
->
i_dts_last
=
VLC_TS_INVALID
;
p_sys
->
i_preroll_time
=
2000
;
p_sys
->
i_bitrate
=
0
;
p_sys
->
i_bitrate_override
=
0
;
...
...
@@ -706,7 +706,7 @@ static int Mux( sout_mux_t *p_mux )
return
VLC_SUCCESS
;
}
if
(
p_sys
->
i_dts_first
<
0
)
if
(
p_sys
->
i_dts_first
<
VLC_TS_INVALID
)
{
p_sys
->
i_dts_first
=
i_dts
;
}
...
...
@@ -929,7 +929,7 @@ static block_t *asf_header_create( sout_mux_t *p_mux, bool b_broadcast )
msg_Dbg
(
p_mux
,
"Asf muxer creating header"
);
if
(
p_sys
->
i_dts_first
>
0
)
if
(
p_sys
->
i_dts_first
>
VLC_TS_INVALID
)
{
i_duration
=
p_sys
->
i_dts_last
-
p_sys
->
i_dts_first
;
if
(
i_duration
<
0
)
i_duration
=
0
;
...
...
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