/* send OPTIONS */
GST_DEBUG_OBJECT (src, "send options...");
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
/* parse OPTIONS */
/* send DESCRIBE */
GST_DEBUG_OBJECT (src, "send describe...");
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
/* we only perform redirect for the describe, currently */
if (res < 0)
goto create_request_failed;
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
/* FIXME, parse result? */
g_free (hval);
}
- if ((res = gst_rtspsrc_send (src, &request, &response, NULL)) < 0)
+ if (gst_rtspsrc_send (src, &request, &response, NULL) < 0)
goto send_error;
gst_rtsp_message_unset (&request);