Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-libav
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
60
Issues
60
List
Boards
Labels
Service Desk
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gst-libav
Commits
a2a4ee93
Commit
a2a4ee93
authored
Jan 25, 2011
by
Edward Hervey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codecmap: Add mapping for g722
parent
199c03a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ext/ffmpeg/gstffmpegcodecmap.c
ext/ffmpeg/gstffmpegcodecmap.c
+8
-0
No files found.
ext/ffmpeg/gstffmpegcodecmap.c
View file @
a2a4ee93
...
@@ -1293,6 +1293,14 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
...
@@ -1293,6 +1293,14 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
caps
=
gst_ff_aud_caps_new
(
context
,
codec_id
,
"audio/x-alaw"
,
NULL
);
caps
=
gst_ff_aud_caps_new
(
context
,
codec_id
,
"audio/x-alaw"
,
NULL
);
break
;
break
;
case
CODEC_ID_ADPCM_G722
:
caps
=
gst_ff_aud_caps_new
(
context
,
codec_id
,
"audio/G722"
,
NULL
);
if
(
context
)
gst_caps_set_simple
(
caps
,
"block_align"
,
G_TYPE_INT
,
context
->
block_align
,
"bitrate"
,
G_TYPE_INT
,
context
->
bit_rate
,
NULL
);
break
;
case
CODEC_ID_ADPCM_G726
:
case
CODEC_ID_ADPCM_G726
:
{
{
/* the G726 decoder can also handle G721 */
/* the G726 decoder can also handle G721 */
...
...
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