Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
15e64364
Commit
15e64364
authored
Jul 17, 2012
by
Tristan Matthews
Browse files
* #13645: gnome: display video codec name in call tree
parent
3109b201
Changes
2
Hide whitespace changes
Inline
Side-by-side
daemon/src/managerimpl.cpp
View file @
15e64364
...
...
@@ -1842,7 +1842,10 @@ ManagerImpl::getCurrentVideoCodecName(const std::string& ID)
std
::
string
accountID
=
getAccountFromCall
(
ID
);
VoIPLink
*
link
=
getAccountLink
(
accountID
);
Call
*
call
(
getCallFromCallID
(
ID
));
return
link
->
getCurrentVideoCodecName
(
call
);
if
(
call
)
return
link
->
getCurrentVideoCodecName
(
call
);
else
return
""
;
}
/**
...
...
gnome/src/contacts/calltree.c
View file @
15e64364
...
...
@@ -30,6 +30,10 @@
* as that of the covered work.
*/
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#include
"calllist.h"
#include
"calltree.h"
#include
"str_utils.h"
...
...
@@ -345,7 +349,7 @@ calltree_display_call_info(callable_obj_t * call, CallDisplayType display_type,
break
;
case
DISPLAY_TYPE_STATE_CODE
:
if
(
video_codec
&&
*
video_codec
)
codec
=
g_strconcat
(
audio_codec
,
"
/
"
,
video_codec
,
NULL
);
codec
=
g_strconcat
(
audio_codec
,
"
"
,
video_codec
,
NULL
);
else
codec
=
g_strdup
(
audio_codec
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment