[Bug 788520] New: [Gstreamer]Condition always false
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 4 16:03:50 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=788520
Bug ID: 788520
Summary: [Gstreamer]Condition always false
Classification: Platform
Product: GStreamer
Version: 1.12.3
OS: All
Status: NEW
Severity: minor
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kr.ashish at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
In
File: gstdeviceprovider.c
Function: gst_device_provider_unhide_provider
Line no.:717
Condition 'unhidden_name!=0' is always false resulting in function always
returning error.
---------------------
void
gst_device_provider_unhide_provider (GstDeviceProvider * provider,
const gchar * name)
{
GList *find;
gchar *unhidden_name = NULL;
g_return_if_fail (GST_IS_DEVICE_PROVIDER (provider));
g_return_if_fail (unhidden_name != NULL);
----------------------
g_return_if_fail: is used for verifying that the expression (usually
representing a precondition) evaluates to TRUE.
Hence, the control will never go down the function.
Solution : Remove statement
g_return_if_fail (unhidden_name != NULL);
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list