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
2131a3b7
Commit
2131a3b7
authored
Sep 23, 2011
by
Julien Isorce
Committed by
Tim-Philipp Müller
Sep 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ac3parse: correctly check for ac3/e-ac3 switch
https://bugzilla.gnome.org/show_bug.cgi?id=659943
parent
fd757890
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gst/audioparsers/gstac3parse.c
gst/audioparsers/gstac3parse.c
+1
-1
No files found.
gst/audioparsers/gstac3parse.c
View file @
2131a3b7
...
...
@@ -595,7 +595,7 @@ gst_ac3_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
}
if
(
G_UNLIKELY
(
ac3parse
->
sample_rate
!=
rate
||
ac3parse
->
channels
!=
chans
||
ac3parse
->
eac
!=
ac3parse
->
eac
))
{
||
ac3parse
->
eac
!=
eac
))
{
GstCaps
*
caps
=
gst_caps_new_simple
(
eac
?
"audio/x-eac3"
:
"audio/x-ac3"
,
"framed"
,
G_TYPE_BOOLEAN
,
TRUE
,
"rate"
,
G_TYPE_INT
,
rate
,
"channels"
,
G_TYPE_INT
,
chans
,
NULL
);
...
...
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