mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
assetfilesource: Fix some leaks
This commit is contained in:
parent
aa0d4487d7
commit
f722938ebf
1 changed files with 2 additions and 2 deletions
|
@ -145,9 +145,9 @@ _request_id_update (GESAsset * self, gchar ** proposed_new_id, GError * error)
|
|||
*proposed_new_id = g_file_get_uri (new_file);
|
||||
|
||||
g_object_unref (new_file);
|
||||
g_object_unref (parent);
|
||||
g_free (basename);
|
||||
}
|
||||
g_object_unref (parent);
|
||||
}
|
||||
|
||||
g_object_unref (file);
|
||||
|
@ -287,7 +287,7 @@ ges_asset_filesource_set_info (GESAssetFileSource * self,
|
|||
type = GES_TRACK_TYPE_VIDEO;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Creating AsserTrackFileSource for stream: %s",
|
||||
GST_DEBUG_OBJECT (self, "Creating GESAssetTrackFileSource for stream: %s",
|
||||
gst_discoverer_stream_info_get_stream_id (sinf));
|
||||
_create_track_file_source_asset (self, sinf, type);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue