mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
gst/gstvalue.c (_gst_value_initialize): Better fakeout.
Original commit message from CVS: 2005-09-26 Andy Wingo <wingo@pobox.com> * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
This commit is contained in:
parent
e2cff096c8
commit
eab3bde7af
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
2005-09-26 Andy Wingo <wingo@pobox.com>
|
2005-09-26 Andy Wingo <wingo@pobox.com>
|
||||||
|
|
||||||
|
* gst/gstvalue.c (_gst_value_initialize): Better fakeout.
|
||||||
|
|
||||||
* check/gst-libs/controller.c: Update for controller api change.
|
* check/gst-libs/controller.c: Update for controller api change.
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -3094,6 +3094,8 @@ gst_value_transform_string_date (const GValue * src_value, GValue * dest_value)
|
||||||
void
|
void
|
||||||
_gst_value_initialize (void)
|
_gst_value_initialize (void)
|
||||||
{
|
{
|
||||||
|
volatile GType date_type;
|
||||||
|
|
||||||
GTypeInfo info = {
|
GTypeInfo info = {
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -3393,8 +3395,8 @@ _gst_value_initialize (void)
|
||||||
GST_TYPE_DOUBLE_RANGE, gst_value_subtract_double_range_double_range);
|
GST_TYPE_DOUBLE_RANGE, gst_value_subtract_double_range_double_range);
|
||||||
|
|
||||||
#if GLIB_CHECK_VERSION(2,8,0)
|
#if GLIB_CHECK_VERSION(2,8,0)
|
||||||
/* see bug #317246 */
|
/* see bug #317246, #64994, #65041 */
|
||||||
GST_LOG ("Faking out the compiler: %d", G_TYPE_DATE);
|
date_type = G_TYPE_DATE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gst_value_register_union_func (G_TYPE_INT, GST_TYPE_INT_RANGE,
|
gst_value_register_union_func (G_TYPE_INT, GST_TYPE_INT_RANGE,
|
||||||
|
|
Loading…
Reference in a new issue