Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
6cf09bb7
Commit
6cf09bb7
authored
13 years ago
by
Martin Storsjö
Browse files
Options
Downloads
Patches
Plain Diff
rtspenc: Add an AVClass for setting muxer specific options
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
ff0824f7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/rtspenc.c
+13
-0
13 additions, 0 deletions
libavformat/rtspenc.c
with
13 additions
and
0 deletions
libavformat/rtspenc.c
+
13
−
0
View file @
6cf09bb7
...
@@ -33,9 +33,21 @@
...
@@ -33,9 +33,21 @@
#include
"libavutil/intreadwrite.h"
#include
"libavutil/intreadwrite.h"
#include
"libavutil/avstring.h"
#include
"libavutil/avstring.h"
#include
"url.h"
#include
"url.h"
#include
"libavutil/opt.h"
#define SDP_MAX_SIZE 16384
#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
)
int
ff_rtsp_setup_output_streams
(
AVFormatContext
*
s
,
const
char
*
addr
)
{
{
RTSPState
*
rt
=
s
->
priv_data
;
RTSPState
*
rt
=
s
->
priv_data
;
...
@@ -238,5 +250,6 @@ AVOutputFormat ff_rtsp_muxer = {
...
@@ -238,5 +250,6 @@ AVOutputFormat ff_rtsp_muxer = {
rtsp_write_packet
,
rtsp_write_packet
,
rtsp_write_close
,
rtsp_write_close
,
.
flags
=
AVFMT_NOFILE
|
AVFMT_GLOBALHEADER
,
.
flags
=
AVFMT_NOFILE
|
AVFMT_GLOBALHEADER
,
.
priv_class
=
&
rtsp_muxer_class
,
};
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment