Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5d8f9a37
Commit
5d8f9a37
authored
May 15, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avformat: do not add attachment as ES
parent
dacabfca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+8
-8
No files found.
modules/demux/avformat/demux.c
View file @
5d8f9a37
...
@@ -450,15 +450,15 @@ int OpenDemux( vlc_object_t *p_this )
...
@@ -450,15 +450,15 @@ int OpenDemux( vlc_object_t *p_this )
memcpy
(
fmt
.
p_extra
,
p_extra
,
i_extra
);
memcpy
(
fmt
.
p_extra
,
p_extra
,
i_extra
);
}
}
}
}
es
=
es_out_Add
(
p_demux
->
out
,
&
fmt
);
if
(
s
->
disposition
&
AV_DISPOSITION_DEFAULT
)
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_ES_DEFAULT
,
es
);
es_format_Clean
(
&
fmt
);
msg_Dbg
(
p_demux
,
"adding es: %s codec = %4.4s"
,
psz_type
,
(
char
*
)
&
fcc
);
TAB_APPEND
(
p_sys
->
i_tk
,
p_sys
->
tk
,
es
);
}
}
es
=
es_out_Add
(
p_demux
->
out
,
&
fmt
);
if
(
s
->
disposition
&
AV_DISPOSITION_DEFAULT
)
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_ES_DEFAULT
,
es
);
es_format_Clean
(
&
fmt
);
msg_Dbg
(
p_demux
,
"adding es: %s codec = %4.4s"
,
psz_type
,
(
char
*
)
&
fcc
);
TAB_APPEND
(
p_sys
->
i_tk
,
p_sys
->
tk
,
es
);
}
}
if
(
p_sys
->
ic
->
start_time
!=
(
int64_t
)
AV_NOPTS_VALUE
)
if
(
p_sys
->
ic
->
start_time
!=
(
int64_t
)
AV_NOPTS_VALUE
)
i_start_time
=
p_sys
->
ic
->
start_time
*
1000000
/
AV_TIME_BASE
;
i_start_time
=
p_sys
->
ic
->
start_time
*
1000000
/
AV_TIME_BASE
;
...
...
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