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
62b3d1a3
Commit
62b3d1a3
authored
Sep 30, 2009
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asf.c: write new header when track is removed/added
parent
38940203
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/mux/asf.c
modules/mux/asf.c
+6
-1
No files found.
modules/mux/asf.c
View file @
62b3d1a3
...
...
@@ -141,7 +141,7 @@ struct sout_mux_sys_t
vlc_array_t
*
p_tracks
;
bool
b_write_header
;
bool
b_write_header
;
block_t
*
pk
;
int
i_pk_used
;
...
...
@@ -641,6 +641,9 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
vlc_array_append
(
p_sys
->
p_tracks
,
(
void
*
)
tk
);
tk
->
i_id
=
vlc_array_index_of_item
(
p_sys
->
p_tracks
,
tk
)
+
1
;
p_sys
->
b_write_header
=
true
;
return
VLC_SUCCESS
;
}
...
...
@@ -674,6 +677,8 @@ static int DelStream( sout_mux_t *p_mux, sout_input_t *p_input )
vlc_array_remove
(
p_sys
->
p_tracks
,
vlc_array_index_of_item
(
p_sys
->
p_tracks
,
(
void
*
)
tk
)
);
p_sys
->
b_write_header
=
true
;
return
VLC_SUCCESS
;
}
...
...
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