[Bug 741495] New: tests/aggregator: Use correct type when setting property
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Dec 13 16:33:25 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=741495
GStreamer | gst-plugins-base | git
Summary: tests/aggregator: Use correct type when setting
property
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: sebras at hotmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
According to gst_aggregator_class_init() the property "timeout" is declared as
an int64, yet the unittest still tries to set it as an int:
g_object_set (agg, "timeout", 1000 /* 1 us */ , NULL);
Instead the literal 1000 ought to be cast to a 64-bit type. The attached patch
fixes this, and the unittests still run successfully.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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