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
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Seungha Yang
gst-plugins-base
Commits
22a69b49
Commit
22a69b49
authored
Apr 21, 2009
by
René Stadler
Committed by
Jan Schmidt
Apr 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audioresample: Fix unused variable in compilation with --disable-gst-debug
Fixes: #579668
parent
e200e29f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
gst/audioresample/gstaudioresample.c
gst/audioresample/gstaudioresample.c
+3
-4
No files found.
gst/audioresample/gstaudioresample.c
View file @
22a69b49
...
...
@@ -521,14 +521,13 @@ gst_audio_resample_transform_size (GstBaseTransform * base,
GstPadDirection
direction
,
GstCaps
*
caps
,
guint
size
,
GstCaps
*
othercaps
,
guint
*
othersize
)
{
GstAudioResample
*
resample
=
GST_AUDIO_RESAMPLE
(
base
);
GstCaps
*
srccaps
,
*
sinkcaps
;
gboolean
ret
=
TRUE
;
guint32
ratio_den
,
ratio_num
;
gint
inrate
,
outrate
,
gcd
;
gint
width
;
GST_LOG_OBJECT
(
resampl
e
,
"asked to transform size %d in direction %s"
,
GST_LOG_OBJECT
(
bas
e
,
"asked to transform size %d in direction %s"
,
size
,
direction
==
GST_PAD_SINK
?
"SINK"
:
"SRC"
);
if
(
direction
==
GST_PAD_SINK
)
{
sinkcaps
=
caps
;
...
...
@@ -542,7 +541,7 @@ gst_audio_resample_transform_size (GstBaseTransform * base,
gst_audio_resample_parse_caps
(
caps
,
othercaps
,
&
width
,
NULL
,
&
inrate
,
&
outrate
,
NULL
);
if
(
G_UNLIKELY
(
!
ret
))
{
GST_ERROR_OBJECT
(
resampl
e
,
"Wrong caps"
);
GST_ERROR_OBJECT
(
bas
e
,
"Wrong caps"
);
return
FALSE
;
}
...
...
@@ -568,7 +567,7 @@ gst_audio_resample_transform_size (GstBaseTransform * base,
size
*=
fac
;
}
GST_LOG_OBJECT
(
resampl
e
,
"transformed size %d to %d"
,
size
,
*
othersize
);
GST_LOG_OBJECT
(
bas
e
,
"transformed size %d to %d"
,
size
,
*
othersize
);
return
ret
;
}
...
...
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