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-good
Commits
207f520b
Commit
207f520b
authored
Feb 09, 2012
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacparse: correctly set ADIF src caps
parent
ee2e07d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstaacparse.c
+3
-4
No files found.
gst/audioparsers/gstaacparse.c
View file @
207f520b
...
...
@@ -878,11 +878,10 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse,
gst_base_parse_set_min_frame_size
(
GST_BASE_PARSE
(
aacparse
),
512
);
/* arrange for metadata and get out of the way */
if
((
sinkcaps
=
gst_pad_get_current_caps
(
GST_BASE_PARSE_SINK_PAD
(
aacparse
))))
{
gst_aac_parse_set_src_caps
(
aacparse
,
sinkcaps
)
;
sinkcaps
=
gst_pad_get_current_caps
(
GST_BASE_PARSE_SINK_PAD
(
aacparse
));
gst_aac_parse_set_src_caps
(
aacparse
,
sinkcaps
);
if
(
sinkcaps
)
gst_caps_unref
(
sinkcaps
);
}
/* not syncable, not easily seekable (unless we push data from start */
gst_base_parse_set_syncable
(
GST_BASE_PARSE_CAST
(
aacparse
),
FALSE
);
...
...
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