Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. --- a/telepathy-farstream/call-content.c
  2. +++ b/telepathy-farstream/call-content.c
  3. @@ -804,6 +804,7 @@ got_content_video_control_properties (TpProxy *proxy, GHashT
  4. {
  5. TfCallContent *self = TF_CALL_CONTENT (weak_object);
  6. GSimpleAsyncResult *res = user_data;
  7. + GValueArray *array;
  8. guint32 bitrate, mtu;
  9. gboolean valid;
  10. gboolean manual_keyframes;
  11. @@ -846,6 +847,11 @@ got_content_video_control_properties (TpProxy *proxy, GHash
  12. if (valid)
  13. self->manual_keyframes = manual_keyframes;
  14.  
  15. + array = tp_asv_get_boxed (out_properties, "VideoResolution",
  16. + STREAM_ENGINE_STRUCT_TYPE_VIDEO_RESOLUTION);
  17. + if (array)
  18. + on_content_video_resolution_changed (proxy, array, NULL, self);
  19. +
  20. self->notifier = fs_element_added_notifier_new ();
  21. g_signal_connect (self->notifier, "element-added",
  22. G_CALLBACK (content_video_element_added), self);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement