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
ff0824f7
Commit
ff0824f7
authored
May 18, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpenc_chain: Pass the rtpflags options through to the chained muxer
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
635fac9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
rtpenc_chain.c
libavformat/rtpenc_chain.c
+8
-0
No files found.
libavformat/rtpenc_chain.c
View file @
ff0824f7
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include "avio_internal.h"
#include "avio_internal.h"
#include "rtpenc_chain.h"
#include "rtpenc_chain.h"
#include "avio_internal.h"
#include "avio_internal.h"
#include "libavutil/opt.h"
AVFormatContext
*
ff_rtp_chain_mux_open
(
AVFormatContext
*
s
,
AVStream
*
st
,
AVFormatContext
*
ff_rtp_chain_mux_open
(
AVFormatContext
*
s
,
AVStream
*
st
,
URLContext
*
handle
,
int
packet_size
)
URLContext
*
handle
,
int
packet_size
)
...
@@ -49,6 +50,13 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
...
@@ -49,6 +50,13 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
/* Copy other stream parameters. */
/* Copy other stream parameters. */
rtpctx
->
streams
[
0
]
->
sample_aspect_ratio
=
st
->
sample_aspect_ratio
;
rtpctx
->
streams
[
0
]
->
sample_aspect_ratio
=
st
->
sample_aspect_ratio
;
av_set_parameters
(
rtpctx
,
NULL
);
/* Copy the rtpflags values straight through */
if
(
s
->
oformat
->
priv_class
&&
av_find_opt
(
s
->
priv_data
,
"rtpflags"
,
NULL
,
0
,
0
))
av_set_int
(
rtpctx
->
priv_data
,
"rtpflags"
,
av_get_int
(
s
->
priv_data
,
"rtpflags"
,
NULL
));
/* Set the synchronized start time. */
/* Set the synchronized start time. */
rtpctx
->
start_time_realtime
=
s
->
start_time_realtime
;
rtpctx
->
start_time_realtime
=
s
->
start_time_realtime
;
...
...
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