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
1c4c78ee
Commit
1c4c78ee
authored
Oct 03, 2014
by
Thomas Volkert
Committed by
Michael Niedermayer
Oct 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdp: add support for H.261
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
075a165d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
sdp.c
libavformat/sdp.c
+13
-0
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/sdp.c
View file @
1c4c78ee
...
@@ -414,6 +414,19 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c,
...
@@ -414,6 +414,19 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c,
payload_type
,
mode
,
config
?
config
:
""
);
payload_type
,
mode
,
config
?
config
:
""
);
break
;
break
;
}
}
case
AV_CODEC_ID_H261
:
{
const
char
*
pic_fmt
=
NULL
;
/* only QCIF and CIF are specified as supported in RFC 4587 */
if
(
c
->
width
==
176
&&
c
->
height
==
144
)
pic_fmt
=
"QCIF=1"
;
if
(
c
->
width
==
352
&&
c
->
height
==
288
)
pic_fmt
=
"CIF=1"
;
av_strlcatf
(
buff
,
size
,
"a=rtpmap:%d H261/90000
\r\n
"
,
payload_type
);
if
(
pic_fmt
)
av_strlcatf
(
buff
,
size
,
"a=fmtp:%d %s
\r\n
"
,
payload_type
,
pic_fmt
);
break
;
}
case
AV_CODEC_ID_H263
:
case
AV_CODEC_ID_H263
:
case
AV_CODEC_ID_H263P
:
case
AV_CODEC_ID_H263P
:
/* a=framesize is required by 3GPP TS 26.234 (PSS). It
/* a=framesize is required by 3GPP TS 26.234 (PSS). It
...
...
libavformat/version.h
View file @
1c4c78ee
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 56
#define LIBAVFORMAT_VERSION_MAJOR 56
#define LIBAVFORMAT_VERSION_MINOR 7
#define LIBAVFORMAT_VERSION_MINOR 7
#define LIBAVFORMAT_VERSION_MICRO 10
3
#define LIBAVFORMAT_VERSION_MICRO 10
4
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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