mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
permissions: Make it build
This commit is contained in:
parent
81745b43b4
commit
91a32754e3
1 changed files with 4 additions and 9 deletions
|
@ -61,8 +61,7 @@ free_structure (GstStructure * structure)
|
||||||
|
|
||||||
GST_DEFINE_MINI_OBJECT_TYPE (GstRTSPPermissions, gst_rtsp_permissions);
|
GST_DEFINE_MINI_OBJECT_TYPE (GstRTSPPermissions, gst_rtsp_permissions);
|
||||||
|
|
||||||
static void gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions,
|
static void gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions);
|
||||||
GstStructure * structure);
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_gst_rtsp_permissions_free (GstRTSPPermissions * permissions)
|
_gst_rtsp_permissions_free (GstRTSPPermissions * permissions)
|
||||||
|
@ -78,17 +77,15 @@ static GstRTSPPermissions *
|
||||||
_gst_rtsp_permissions_copy (GstRTSPPermissionsImpl * permissions)
|
_gst_rtsp_permissions_copy (GstRTSPPermissionsImpl * permissions)
|
||||||
{
|
{
|
||||||
GstRTSPPermissionsImpl *copy;
|
GstRTSPPermissionsImpl *copy;
|
||||||
GstStructure *structure;
|
|
||||||
|
|
||||||
copy = g_slice_new0 (GstRTSPPermissionsImpl);
|
copy = g_slice_new0 (GstRTSPPermissionsImpl);
|
||||||
gst_rtsp_permissions_init (copy, structure);
|
gst_rtsp_permissions_init (copy);
|
||||||
|
|
||||||
return GST_RTSP_PERMISSIONS (copy);
|
return GST_RTSP_PERMISSIONS (copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions,
|
gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions)
|
||||||
GstStructure * structure)
|
|
||||||
{
|
{
|
||||||
gst_mini_object_init (GST_MINI_OBJECT_CAST (permissions), 0,
|
gst_mini_object_init (GST_MINI_OBJECT_CAST (permissions), 0,
|
||||||
GST_TYPE_RTSP_PERMISSIONS,
|
GST_TYPE_RTSP_PERMISSIONS,
|
||||||
|
@ -112,9 +109,7 @@ gst_rtsp_permissions_new (void)
|
||||||
GstRTSPPermissionsImpl *permissions;
|
GstRTSPPermissionsImpl *permissions;
|
||||||
|
|
||||||
permissions = g_slice_new0 (GstRTSPPermissionsImpl);
|
permissions = g_slice_new0 (GstRTSPPermissionsImpl);
|
||||||
|
gst_rtsp_permissions_init (permissions);
|
||||||
gst_rtsp_permissions_init (permissions,
|
|
||||||
gst_structure_new_empty ("GstRTSPPermissions"));
|
|
||||||
|
|
||||||
return GST_RTSP_PERMISSIONS (permissions);
|
return GST_RTSP_PERMISSIONS (permissions);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue