Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
15e64364
Commit
15e64364
authored
Jul 17, 2012
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #13645: gnome: display video codec name in call tree
parent
3109b201
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/managerimpl.cpp
+4
-1
4 additions, 1 deletion
daemon/src/managerimpl.cpp
gnome/src/contacts/calltree.c
+5
-1
5 additions, 1 deletion
gnome/src/contacts/calltree.c
with
9 additions
and
2 deletions
daemon/src/managerimpl.cpp
+
4
−
1
View file @
15e64364
...
@@ -1842,7 +1842,10 @@ ManagerImpl::getCurrentVideoCodecName(const std::string& ID)
...
@@ -1842,7 +1842,10 @@ ManagerImpl::getCurrentVideoCodecName(const std::string& ID)
std
::
string
accountID
=
getAccountFromCall
(
ID
);
std
::
string
accountID
=
getAccountFromCall
(
ID
);
VoIPLink
*
link
=
getAccountLink
(
accountID
);
VoIPLink
*
link
=
getAccountLink
(
accountID
);
Call
*
call
(
getCallFromCallID
(
ID
));
Call
*
call
(
getCallFromCallID
(
ID
));
if
(
call
)
return
link
->
getCurrentVideoCodecName
(
call
);
return
link
->
getCurrentVideoCodecName
(
call
);
else
return
""
;
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
gnome/src/contacts/calltree.c
+
5
−
1
View file @
15e64364
...
@@ -30,6 +30,10 @@
...
@@ -30,6 +30,10 @@
* as that of the covered work.
* as that of the covered work.
*/
*/
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#include
"calllist.h"
#include
"calllist.h"
#include
"calltree.h"
#include
"calltree.h"
#include
"str_utils.h"
#include
"str_utils.h"
...
@@ -345,7 +349,7 @@ calltree_display_call_info(callable_obj_t * call, CallDisplayType display_type,
...
@@ -345,7 +349,7 @@ calltree_display_call_info(callable_obj_t * call, CallDisplayType display_type,
break
;
break
;
case
DISPLAY_TYPE_STATE_CODE
:
case
DISPLAY_TYPE_STATE_CODE
:
if
(
video_codec
&&
*
video_codec
)
if
(
video_codec
&&
*
video_codec
)
codec
=
g_strconcat
(
audio_codec
,
"
/
"
,
video_codec
,
NULL
);
codec
=
g_strconcat
(
audio_codec
,
"
"
,
video_codec
,
NULL
);
else
else
codec
=
g_strdup
(
audio_codec
);
codec
=
g_strdup
(
audio_codec
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment