Skip to content
Snippets Groups Projects
Commit d1835653 authored by Sebastian Dröge's avatar Sebastian Dröge :tea:
Browse files

siddec: Fix compilation with debugging disabled

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);
                  ^
parent 3e27368c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment