projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e27368
)
siddec: Fix compilation with debugging disabled
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 1 Sep 2016 07:57:46 +0000
(10:57 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 1 Sep 2016 07:57:46 +0000
(10:57 +0300)
gstsiddec.o
gstsiddec.cc: In function ‘void play_loop(GstPad*)’:
gstsiddec.cc:446:18: error: unused variable ‘reason’ [-Werror=unused-variable]
const gchar *reason = gst_flow_get_name (ret);
^
ext/sidplay/gstsiddec.cc
patch
|
blob
|
history
diff --git
a/ext/sidplay/gstsiddec.cc
b/ext/sidplay/gstsiddec.cc
index
3e928e7
..
d09259d
100644
(file)
--- a/
ext/sidplay/gstsiddec.cc
+++ b/
ext/sidplay/gstsiddec.cc
@@
-443,8
+443,6
@@
done:
/* ERRORS */
pause:
{
- const gchar *reason = gst_flow_get_name (ret);
-
if (ret == GST_FLOW_EOS) {
/* perform EOS logic, FIXME, segment seek? */
gst_pad_push_event (pad, gst_event_new_eos ());
@@
-454,7
+452,7
@@
pause:
gst_pad_push_event (pad, gst_event_new_eos ());
}
- GST_INFO_OBJECT (siddec, "pausing task, reason: %s",
reason
);
+ GST_INFO_OBJECT (siddec, "pausing task, reason: %s",
gst_flow_get_name (ret)
);
gst_pad_pause_task (pad);
goto done;
}