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
6cf09bb7
Commit
6cf09bb7
authored
May 21, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtspenc: Add an AVClass for setting muxer specific options
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
ff0824f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
rtspenc.c
libavformat/rtspenc.c
+13
-0
No files found.
libavformat/rtspenc.c
View file @
6cf09bb7
...
...
@@ -33,9 +33,21 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "url.h"
#include "libavutil/opt.h"
#define SDP_MAX_SIZE 16384
static
const
AVOption
options
[]
=
{
{
NULL
},
};
static
const
AVClass
rtsp_muxer_class
=
{
.
class_name
=
"RTSP muxer"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
int
ff_rtsp_setup_output_streams
(
AVFormatContext
*
s
,
const
char
*
addr
)
{
RTSPState
*
rt
=
s
->
priv_data
;
...
...
@@ -238,5 +250,6 @@ AVOutputFormat ff_rtsp_muxer = {
rtsp_write_packet
,
rtsp_write_close
,
.
flags
=
AVFMT_NOFILE
|
AVFMT_GLOBALHEADER
,
.
priv_class
=
&
rtsp_muxer_class
,
};
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