mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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:
parent
034d818ec5
commit
3d21e8d4c8
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue