Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
c76a6ef8
Commit
c76a6ef8
authored
Dec 22, 2010
by
Edward Hervey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encodebin: Also use "Formatter"s for container formats
parent
ad22e8bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gst/encoding/gstencodebin.c
gst/encoding/gstencodebin.c
+7
-0
No files found.
gst/encoding/gstencodebin.c
View file @
c76a6ef8
...
...
@@ -325,13 +325,20 @@ static void
gst_encode_bin_init
(
GstEncodeBin
*
encode_bin
)
{
GstPadTemplate
*
tmpl
;
GList
*
formatters
;
encode_bin
->
muxers
=
gst_element_factory_list_get_elements
(
GST_ELEMENT_FACTORY_TYPE_MUXER
,
GST_RANK_MARGINAL
);
formatters
=
gst_element_factory_list_get_elements
(
GST_ELEMENT_FACTORY_TYPE_FORMATTER
,
GST_RANK_SECONDARY
);
encode_bin
->
muxers
=
g_list_concat
(
encode_bin
->
muxers
,
formatters
);
encode_bin
->
encoders
=
gst_element_factory_list_get_elements
(
GST_ELEMENT_FACTORY_TYPE_ENCODER
,
GST_RANK_MARGINAL
);
encode_bin
->
parsers
=
gst_element_factory_list_get_elements
(
GST_ELEMENT_FACTORY_TYPE_PARSER
,
GST_RANK_MARGINAL
);
...
...
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