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
40ccc754
Commit
40ccc754
authored
Jan 20, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent
Originally committed as revision 21359 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
68cf92ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ffmpeg.c
ffmpeg.c
+3
-3
ffplay.c
ffplay.c
+1
-1
No files found.
ffmpeg.c
View file @
40ccc754
...
...
@@ -2931,7 +2931,7 @@ static void opt_input_file(const char *filename)
for
(
i
=
0
;
i
<
ic
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
ic
->
streams
[
i
];
AVCodecContext
*
enc
=
st
->
codec
;
avcodec_thread_init
(
enc
,
thread_count
);
avcodec_thread_init
(
enc
,
thread_count
);
switch
(
enc
->
codec_type
)
{
case
CODEC_TYPE_AUDIO
:
set_context_opts
(
enc
,
avcodec_opts
[
CODEC_TYPE_AUDIO
],
AV_OPT_FLAG_AUDIO_PARAM
|
AV_OPT_FLAG_DECODING_PARAM
);
...
...
@@ -3065,7 +3065,7 @@ static void new_video_stream(AVFormatContext *oc)
bitstream_filters
[
nb_output_files
][
oc
->
nb_streams
-
1
]
=
video_bitstream_filters
;
video_bitstream_filters
=
NULL
;
avcodec_thread_init
(
st
->
codec
,
thread_count
);
avcodec_thread_init
(
st
->
codec
,
thread_count
);
video_enc
=
st
->
codec
;
...
...
@@ -3210,7 +3210,7 @@ static void new_audio_stream(AVFormatContext *oc)
bitstream_filters
[
nb_output_files
][
oc
->
nb_streams
-
1
]
=
audio_bitstream_filters
;
audio_bitstream_filters
=
NULL
;
avcodec_thread_init
(
st
->
codec
,
thread_count
);
avcodec_thread_init
(
st
->
codec
,
thread_count
);
audio_enc
=
st
->
codec
;
audio_enc
->
codec_type
=
CODEC_TYPE_AUDIO
;
...
...
ffplay.c
View file @
40ccc754
...
...
@@ -1722,7 +1722,7 @@ static int stream_component_open(VideoState *is, int stream_index)
enc
->
skip_loop_filter
=
skip_loop_filter
;
enc
->
error_recognition
=
error_recognition
;
enc
->
error_concealment
=
error_concealment
;
avcodec_thread_init
(
enc
,
thread_count
);
avcodec_thread_init
(
enc
,
thread_count
);
set_context_opts
(
enc
,
avcodec_opts
[
enc
->
codec_type
],
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