mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 06:29:31 +00:00
android: Fix missing sentinel and return value compiler warnings
This commit is contained in:
parent
75fd7046fb
commit
91b3002fa0
1 changed files with 3 additions and 1 deletions
|
@ -339,7 +339,7 @@ start_pipeline (WebRTC * webrtc)
|
||||||
|
|
||||||
pad = gst_element_get_static_pad (webrtc->webrtcbin, "sink_0");
|
pad = gst_element_get_static_pad (webrtc->webrtcbin, "sink_0");
|
||||||
gst_util_set_object_arg (G_OBJECT (pad), "fec-type", "ulp-red");
|
gst_util_set_object_arg (G_OBJECT (pad), "fec-type", "ulp-red");
|
||||||
g_object_set (pad, "do-nack", FALSE);
|
g_object_set (pad, "do-nack", FALSE, NULL);
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
|
|
||||||
/* This is the gstwebrtc entry point where we create the offer and so on. It
|
/* This is the gstwebrtc entry point where we create the offer and so on. It
|
||||||
|
@ -727,6 +727,8 @@ _call_thread (WebRTC * webrtc)
|
||||||
g_main_context_pop_thread_default (context);
|
g_main_context_pop_thread_default (context);
|
||||||
|
|
||||||
detach_current_thread (env);
|
detach_current_thread (env);
|
||||||
|
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue