Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3f2d3a19
Commit
3f2d3a19
authored
Feb 14, 2011
by
Anssi Hannula
Committed by
Mans Rullgard
Feb 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegtsenc: set audio_type according to st->disposition
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
60e73066
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
mpegtsenc.c
libavformat/mpegtsenc.c
+7
-0
No files found.
libavformat/mpegtsenc.c
View file @
3f2d3a19
...
...
@@ -289,6 +289,13 @@ static void mpegts_write_pmt(AVFormatContext *s, MpegTSService *service)
*
q
++
=
lang
->
value
[
0
];
*
q
++
=
lang
->
value
[
1
];
*
q
++
=
lang
->
value
[
2
];
if
(
st
->
disposition
&
AV_DISPOSITION_CLEAN_EFFECTS
)
*
q
++
=
0x01
;
else
if
(
st
->
disposition
&
AV_DISPOSITION_HEARING_IMPAIRED
)
*
q
++
=
0x02
;
else
if
(
st
->
disposition
&
AV_DISPOSITION_VISUAL_IMPAIRED
)
*
q
++
=
0x03
;
else
*
q
++
=
0
;
/* undefined type */
}
break
;
...
...
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