Survey of functions returning `bool` under most remaining workspaces
Survey of functions returning bool under all workspaces but gstreamer
& gstreamer-base
(already processed: see #171 (closed) & #175 (closed)) and gstreamer-editing-services
& gstreamer-sdp
(will come in speratate issues because many functions are concerned).
gstreamer-app
Workspace Function | Location | Gst Function | Proposed Return Type | Comment |
---|---|---|---|---|
AppSrc.seek_data | src | GstAppSrcCallbacks.seek_data | keep bool
|
Returns TRUE if the seek succeeded. Note: Seek function -> bool
|
AppSrc.connect_seek_data | auto | GstAppSrcCallbacks.seek_data | same as above | |
AppSrcCallbacks.seek_data | src | GstAppSrcCallbacks.seek_data | same as above | |
AppSrcCallbacksBuilder.seek_data | src | GstAppSrcCallbacks.seek_data | same as above |
gstreamer-audio
Workspace Function | Location | Gst Function | Proposed Return Type | Comment |
---|---|---|---|---|
AudioChannelPosition.check_valid_channel_positions | auto | gst_audio_check_valid_channel_positions | keep bool
|
Returns TRUE if the channel positions are valid. |
gstreamer-check
Workspace Function | Location | Gst Function | Proposed Return Type | Comment |
---|---|---|---|---|
Harness.push_event | src | gst_harness_push_event | keep bool
|
Event function -> bool
|
Harness.push_upstream_event | src | gst_harness_push_upstream_event | keep bool
|
Event function -> bool
|
Harness.src_push_event | src | gst_harness_src_push_event | keep bool
|
Event function -> bool
|
TestClock.crank | auto | gst_test_clock_crank | Result<(), glib::BoolError> |
Return: TRUE if the crank was successful, FALSE otherwise. |
gstreamer-editing-services
Workspace Many. Will be included in a dedicated issue.
gstreamer-gl
Workspace Function | Location | Gst Function | Proposed Return Type | Comment |
---|---|---|---|---|
GlColorConvert.set_caps | auto | gst_gl_color_convert_set_caps | Result<(), glib::BoolError> |
|
GlContext.check_feature | auto | gst_gl_context_check_feature | keep bool
|
Returns whether feature is supported by context |
GlContext.check_framebuffer_status | auto | gst_gl_context_check_framebuffer_status | keep bool
|
Returns whether the current framebuffer is complete |
GlContext.check_gl_version | auto | gst_gl_context_check_gl_version | keep bool
|
Returns whether OpenGL context implements the required api and specified version. |
GlContext.set_window | auto | gst_gl_context_set_window | Result<(), glib::BoolError> |
Returns whether the window was successfully updated |
GlContext.supports_glsl_profile_version | auto | gst_gl_context_supports_glsl_profile_version | keep bool
|
Returns whether context supports the combination of version with profile |
GlShader.attach | auto | gst_gl_shader_attach | Result<(), glib::BoolError> |
Returns whether stage could be attached to shader |
GlShader.attach_unlocked | auto | gst_gl_shader_attach_unlocked | Result<(), glib::BoolError> |
Returns whether stage could be attached to shader |
GlUpload.set_caps | auto | gst_gl_upload_set_caps | Result<(), glib::BoolError> |
Returns whether in_caps and out_caps could be set on upload |
GlViewConvert.set_caps | auto | gst_gl_view_convert_set_caps | Result<(), glib::BoolError> |
Result not described in doc |
GlWindow.set_render_rectangle | auto | gst_gl_window_set_render_rectangle | Result<(), glib::BoolError> |
Returns whether the specified region could be set |
GlslStage.set_strings | auto | gst_glsl_stage_set_strings | Result<(), glib::BoolError> |
Result not described in doc |
gstreamer-net
Workspace All filtered out.
gstreamer-pbutils
Workspace All filtered out.
gstreamer-player
Workspace All filtered out.
gstreamer-rtsp
Workspace None
gstreamer-rtsp-server
Workspace Function | Location | Gst Function | Proposed Return Type | Comment |
---|---|---|---|---|
RtspAuth.check | auto | gst_rtsp_auth_check | Result<(), glib::BoolError> |
Returns FALSE if check failed. |
RtspAuth.connect_accept_certificate | auto | "accept-certificate" signal | Result<(), glib::LoggableError> |
Returns TRUE to accept peer_cert (which will also immediately end the signal emission). FALSE to allow the signal emission to continue, which will cause the handshake to fail if no one else overrides it. |
RtspServer.io_func | auto | gst_rtsp_server_io_func | Result<(), glib::BoolError> |
Returns TRUE if the source could be connected, FALSE if an error occurred. |
RtspServer.transfer_connection | auto | gst_rtsp_server_transfer_connection | Result<(), glib::BoolError> |
Returns TRUE if all was ok, FALSE if an error occurred. |
RtspSession.release_media | auto | gst_rtsp_session_release_media | keep bool
|
Returns TRUE if there are more media session left in sess. |
RtspStream.set_blocked | auto | gst_rtsp_stream_set_blocked | Result<(), glib::BoolError> |
Returns TRUE on success |
RtspStream.unblock_linked | auto | gst_rtsp_stream_unblock_linked | Result<(), glib::BoolError> |
Returns TRUE on success |
RtspStream.update_crypto | auto | gst_rtsp_stream_update_crypto | Result<(), glib::BoolError> |
Returns: TRUE if crypto could be updated |
gstreamer-sdp
Workspace Many. Will be included in a dedicated issue.
gstreamer-video
Workspace All filtered out.
gstreamer-webrtc
Workspace All filtered out.
Edited by François Laignel