mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
misc: Fix warnings on Cerbero's ancient MinGW
gesdemux.c:297:3: error: value computed is not used [-Werror=unused-value]
This commit is contained in:
parent
9748b963b6
commit
50d58678e0
1 changed files with 2 additions and 1 deletions
|
@ -268,6 +268,7 @@ ges_timeline_new_from_uri_from_main_thread (TimelineConstructionData * data)
|
||||||
GESUriClipAssetClass *klass = g_type_class_peek (GES_TYPE_URI_CLIP_ASSET);
|
GESUriClipAssetClass *klass = g_type_class_peek (GES_TYPE_URI_CLIP_ASSET);
|
||||||
GstDiscoverer *previous_discoverer = klass->discoverer;
|
GstDiscoverer *previous_discoverer = klass->discoverer;
|
||||||
GstClockTime timeout;
|
GstClockTime timeout;
|
||||||
|
G_GNUC_UNUSED void *unused;
|
||||||
|
|
||||||
g_object_get (previous_discoverer, "timeout", &timeout, NULL);
|
g_object_get (previous_discoverer, "timeout", &timeout, NULL);
|
||||||
|
|
||||||
|
@ -294,7 +295,7 @@ ges_timeline_new_from_uri_from_main_thread (TimelineConstructionData * data)
|
||||||
g_signal_connect (project, "error-loading-asset",
|
g_signal_connect (project, "error-loading-asset",
|
||||||
G_CALLBACK (error_loading_asset_cb), data);
|
G_CALLBACK (error_loading_asset_cb), data);
|
||||||
|
|
||||||
GES_TIMELINE (ges_asset_extract (GES_ASSET (project), &data->error));
|
unused = GES_TIMELINE (ges_asset_extract (GES_ASSET (project), &data->error));
|
||||||
if (data->error) {
|
if (data->error) {
|
||||||
g_mutex_unlock (&data->lock);
|
g_mutex_unlock (&data->lock);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue