rtsp-media-factory-uri: Fix compilation with latest GLib

rtsp-media-factory-uri.c: In function ‘rtsp_media_factory_uri_create_element’:
rtsp-media-factory-uri.c:621:17: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   data->factory = g_object_ref (factory);
                 ^
This commit is contained in:
Sebastian Dröge 2018-03-20 16:21:37 +02:00
parent 034d818ec5
commit 3d21e8d4c8

View file

@ -618,7 +618,7 @@ rtsp_media_factory_uri_create_element (GstRTSPMediaFactory * factory,
/* keep factory data around */
data = g_new0 (FactoryData, 1);
data->factory = g_object_ref (factory);
data->factory = g_object_ref (urifact);
data->pt = 96;
g_object_set_data_full (G_OBJECT (element), factory_key,