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
c92a9d06
Commit
c92a9d06
authored
May 01, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: demuxer specific options support
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
5edb2329
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ffplay.c
ffplay.c
+9
-1
No files found.
ffplay.c
View file @
c92a9d06
...
...
@@ -2381,10 +2381,18 @@ static int read_thread(void *arg)
ap
->
height
=
frame_height
;
ap
->
time_base
=
(
AVRational
){
1
,
25
};
ap
->
pix_fmt
=
frame_pix_fmt
;
ic
->
flags
|=
AVFMT_FLAG_PRIV_OPT
;
set_context_opts
(
ic
,
avformat_opts
,
AV_OPT_FLAG_DECODING_PARAM
,
NULL
);
err
=
av_open_input_file
(
&
ic
,
is
->
filename
,
is
->
iformat
,
0
,
ap
);
if
(
err
>=
0
)
{
set_context_opts
(
ic
,
avformat_opts
,
AV_OPT_FLAG_DECODING_PARAM
,
NULL
);
err
=
av_demuxer_open
(
ic
,
ap
);
if
(
err
<
0
){
avformat_free_context
(
ic
);
ic
=
NULL
;
}
}
if
(
err
<
0
)
{
print_error
(
is
->
filename
,
err
);
ret
=
-
1
;
...
...
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