Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
4e59e63f
Commit
4e59e63f
authored
Oct 19, 2011
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
baseaudiosink: fix unused variable compiler warning if debugging in core is disabled
https://bugzilla.gnome.org/show_bug.cgi?id=660150
parent
becba526
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gst-libs/gst/audio/gstbaseaudiosink.c
gst-libs/gst/audio/gstbaseaudiosink.c
+4
-2
No files found.
gst-libs/gst/audio/gstbaseaudiosink.c
View file @
4e59e63f
...
...
@@ -1367,9 +1367,11 @@ gst_base_audio_sink_get_alignment (GstBaseAudioSink * sink,
"align with prev sample, ABS (%"
G_GINT64_FORMAT
") < %"
G_GINT64_FORMAT
,
align
,
maxdrift
);
}
else
{
gint64
diff_s
G_GNUC_UNUSED
;
/* calculate sample diff in seconds for error message */
gint64
diff_s
=
gst_util_uint64_scale_int
(
diff
,
GST_SECOND
,
ringbuf
->
spec
.
rate
);
diff_s
=
gst_util_uint64_scale_int
(
diff
,
GST_SECOND
,
ringbuf
->
spec
.
rate
);
/* timestamps drifted apart from previous samples too much, we need to
* resync. We log this as an element warning. */
GST_WARNING_OBJECT
(
sink
,
...
...
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