add get_proxy_finish

Fix some compilation issues
This commit is contained in:
Wim Taymans 2015-05-04 12:16:30 +02:00
parent 0a9f79b675
commit 1b89f2f8ad
6 changed files with 47 additions and 22 deletions

View file

@ -340,8 +340,12 @@ on_source_output_proxy (GObject *source_object,
{
PvStream *stream = user_data;
PvStreamPrivate *priv = stream->priv;
PvContext *context = priv->context;
GError *error = NULL;
priv->source_output = pv_subscribe_get_proxy_finish (context->priv->subscribe,
res,
&error);
if (priv->source_output == NULL)
goto source_output_failed;
@ -384,13 +388,13 @@ on_source_output_created (GObject *source_object,
g_print ("got source-output %s\n", priv->source_output_path);
g_variant_unref (ret);
priv->source_output = pv_subscribe_get_proxy (context->priv->subscribe,
PV_DBUS_SERVICE,
priv->source_output_path,
"org.pulsevideo.SourceOutput1",
NULL,
on_source_ouput_proxy,
stream);
pv_subscribe_get_proxy (context->priv->subscribe,
PV_DBUS_SERVICE,
priv->source_output_path,
"org.pulsevideo.SourceOutput1",
NULL,
on_source_output_proxy,
stream);
return;