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
8df31d1f
Commit
8df31d1f
authored
11 years ago
by
Vivien Didelot
Browse files
Options
Downloads
Patches
Plain Diff
gnome: remove video device lists getters and setters
Refs #48203 Change-Id: I41bb04c6ac22401ec47b747bfa1b6eeedec34556
parent
ea6c2c5b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
gnome/src/dbus/dbus.c
+0
-41
0 additions, 41 deletions
gnome/src/dbus/dbus.c
gnome/src/dbus/dbus.h
+0
-3
0 additions, 3 deletions
gnome/src/dbus/dbus.h
gnome/src/dbus/videomanager-introspec.xml
+0
-33
0 additions, 33 deletions
gnome/src/dbus/videomanager-introspec.xml
with
0 additions
and
77 deletions
gnome/src/dbus/dbus.c
+
0
−
41
View file @
8df31d1f
...
...
@@ -1953,47 +1953,6 @@ dbus_get_video_device_list()
return
array
;
}
/**
* Get the list of channels supported by the given device
*/
gchar
**
dbus_get_video_device_channel_list
(
const
gchar
*
dev
)
{
gchar
**
array
=
NULL
;
GError
*
error
=
NULL
;
org_sflphone_SFLphone_VideoManager_get_device_channel_list
(
video_proxy
,
dev
,
&
array
,
&
error
);
check_error
(
error
);
return
array
;
}
/**
* Get the list of resolutions supported by the given channel of the given device
*/
gchar
**
dbus_get_video_device_size_list
(
const
gchar
*
dev
,
const
gchar
*
channel
)
{
gchar
**
array
=
NULL
;
GError
*
error
=
NULL
;
org_sflphone_SFLphone_VideoManager_get_device_size_list
(
video_proxy
,
dev
,
channel
,
&
array
,
&
error
);
check_error
(
error
);
return
array
;
}
/**
* Get the list of frame rates supported by the given resolution of the given channel of the given device
*/
gchar
**
dbus_get_video_device_rate_list
(
const
gchar
*
dev
,
const
gchar
*
channel
,
const
gchar
*
size
)
{
gchar
**
array
=
NULL
;
GError
*
error
=
NULL
;
org_sflphone_SFLphone_VideoManager_get_device_rate_list
(
video_proxy
,
dev
,
channel
,
size
,
&
array
,
&
error
);
check_error
(
error
);
return
array
;
}
GHashTable
*
dbus_get_video_capabilities
(
const
gchar
*
name
)
{
...
...
This diff is collapsed.
Click to expand it.
gnome/src/dbus/dbus.h
+
0
−
3
View file @
8df31d1f
...
...
@@ -393,9 +393,6 @@ GHashTable *dbus_get_video_preferences(const gchar *name);
void
dbus_set_video_preferences
(
const
gchar
*
name
,
GHashTable
*
pref
);
gchar
*
dbus_get_active_video_device
();
gchar
**
dbus_get_video_device_list
();
gchar
**
dbus_get_video_device_channel_list
(
const
gchar
*
dev
);
gchar
**
dbus_get_video_device_size_list
(
const
gchar
*
dev
,
const
gchar
*
channel
);
gchar
**
dbus_get_video_device_rate_list
(
const
gchar
*
dev
,
const
gchar
*
channel
,
const
gchar
*
size
);
GHashTable
*
dbus_get_video_capabilities
(
const
gchar
*
name
);
/**
...
...
This diff is collapsed.
Click to expand it.
gnome/src/dbus/videomanager-introspec.xml
+
0
−
33
View file @
8df31d1f
...
...
@@ -10,39 +10,6 @@
</arg>
</method>
<method
name=
"getDeviceChannelList"
tp:name-for-bindings=
"getDeviceChannelList"
>
<tp:docstring>
Returns a list of the channels available for a given v4l2 device
</tp:docstring>
<annotation
name=
"com.trolltech.QtDBus.QtTypeName.Out0"
value=
"VectorString"
/>
<arg
type=
"s"
name=
"device"
direction=
"in"
>
</arg>
<arg
type=
"as"
name=
"list"
direction=
"out"
>
</arg>
</method>
<method
name=
"getDeviceSizeList"
tp:name-for-bindings=
"getDeviceSizeList"
>
<tp:docstring>
Returns a list of the resolutions available for a given channel of a given v4l2 device
</tp:docstring>
<annotation
name=
"com.trolltech.QtDBus.QtTypeName.Out0"
value=
"VectorString"
/>
<arg
type=
"s"
name=
"device"
direction=
"in"
>
</arg>
<arg
type=
"s"
name=
"channel"
direction=
"in"
>
</arg>
<arg
type=
"as"
name=
"list"
direction=
"out"
>
</arg>
</method>
<method
name=
"getDeviceRateList"
tp:name-for-bindings=
"getDeviceRateList"
>
<tp:docstring>
Returns a list of the framerates available for a given resolution of a given channel of a given v4l2 device
</tp:docstring>
<annotation
name=
"com.trolltech.QtDBus.QtTypeName.Out0"
value=
"VectorString"
/>
<arg
type=
"s"
name=
"device"
direction=
"in"
>
</arg>
<arg
type=
"s"
name=
"channel"
direction=
"in"
>
</arg>
<arg
type=
"s"
name=
"size"
direction=
"in"
>
</arg>
<arg
type=
"as"
name=
"list"
direction=
"out"
>
</arg>
</method>
<method
name=
"getCapabilities"
tp:name-for-bindings=
"getCapabilities"
>
<tp:docstring>
Returns a map of map of array of strings, containing the capabilities (channel, size, rate) of a device
</tp:docstring>
<annotation
name=
"com.trolltech.QtDBus.QtTypeName.Out0"
value=
"MapStringMapStringVectorString"
/>
...
...
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
register
or
sign in
to comment