Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gstreamer-rs-sys
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gstreamer-rs-sys
Commits
6bc25c6b
Commit
6bc25c6b
authored
May 16, 2019
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update GES bindings to 1.16.0
parent
957cba46
Pipeline
#37073
passed with stage
in 8 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
9 deletions
+27
-9
gstreamer-editing-services-sys/src/lib.rs
gstreamer-editing-services-sys/src/lib.rs
+22
-9
gstreamer-editing-services-sys/tests/abi.rs
gstreamer-editing-services-sys/tests/abi.rs
+5
-0
No files found.
gstreamer-editing-services-sys/src/lib.rs
View file @
6bc25c6b
...
...
@@ -173,6 +173,11 @@ pub const GES_META_VOLUME_DEFAULT: c_double = 1.000000;
pub
const
GES_MULTI_FILE_URI_PREFIX
:
*
const
c_char
=
b
"multifile://
\0
"
as
*
const
u8
as
*
const
c_char
;
pub
const
GES_PADDING
:
c_int
=
4
;
pub
const
GES_PADDING_LARGE
:
c_int
=
20
;
pub
const
GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY
:
u32
=
4294967295
;
pub
const
GES_VERSION_MAJOR
:
c_int
=
1
;
pub
const
GES_VERSION_MICRO
:
c_int
=
0
;
pub
const
GES_VERSION_MINOR
:
c_int
=
16
;
pub
const
GES_VERSION_NANO
:
c_int
=
0
;
// Flags
pub
type
GESMetaFlag
=
c_uint
;
...
...
@@ -1202,7 +1207,8 @@ pub struct GESTimelineElementClass {
pub
lookup_child
:
Option
<
unsafe
extern
"C"
fn
(
*
mut
GESTimelineElement
,
*
const
c_char
,
*
mut
*
mut
gobject
::
GObject
,
*
mut
*
mut
gobject
::
GParamSpec
)
->
gboolean
>
,
pub
get_track_types
:
Option
<
unsafe
extern
"C"
fn
(
*
mut
GESTimelineElement
)
->
GESTrackType
>
,
pub
set_child_property
:
Option
<
unsafe
extern
"C"
fn
(
*
mut
GESTimelineElement
,
*
mut
gobject
::
GObject
,
*
mut
gobject
::
GParamSpec
,
*
mut
gobject
::
GValue
)
>
,
pub
_
ges_reserved
:
[
gpointer
;
17
],
pub
get_layer_priority
:
Option
<
unsafe
extern
"C"
fn
(
*
mut
GESTimelineElement
)
->
u32
>
,
pub
_
ges_reserved
:
[
gpointer
;
16
],
}
impl
::
std
::
fmt
::
Debug
for
GESTimelineElementClass
{
...
...
@@ -1226,6 +1232,7 @@ impl ::std::fmt::Debug for GESTimelineElementClass {
.field
(
"lookup_child"
,
&
self
.lookup_child
)
.field
(
"get_track_types"
,
&
self
.get_track_types
)
.field
(
"set_child_property"
,
&
self
.set_child_property
)
.field
(
"get_layer_priority"
,
&
self
.get_layer_priority
)
.finish
()
}
}
...
...
@@ -1443,13 +1450,15 @@ pub struct GESUriClipAssetClass {
pub
parent_class
:
GESClipAssetClass
,
pub
discoverer
:
*
mut
gst_pbutils
::
GstDiscoverer
,
pub
sync_discoverer
:
*
mut
gst_pbutils
::
GstDiscoverer
,
pub
_
ges_reserved
:
[
gpointer
;
4
],
pub
discovered
:
Option
<
unsafe
extern
"C"
fn
(
*
mut
gst_pbutils
::
GstDiscoverer
,
*
mut
gst_pbutils
::
GstDiscovererInfo
,
*
mut
glib
::
GError
,
gpointer
)
>
,
pub
_
ges_reserved
:
[
gpointer
;
3
],
}
impl
::
std
::
fmt
::
Debug
for
GESUriClipAssetClass
{
fn
fmt
(
&
self
,
f
:
&
mut
::
std
::
fmt
::
Formatter
)
->
::
std
::
fmt
::
Result
{
f
.debug_struct
(
&
format!
(
"GESUriClipAssetClass @ {:?}"
,
self
as
*
const
_
))
.field
(
"parent_class"
,
&
self
.parent_class
)
.field
(
"discovered"
,
&
self
.discovered
)
.finish
()
}
}
...
...
@@ -2560,6 +2569,7 @@ extern "C" {
// GESEdge
//=========================================================================
pub
fn
ges_edge_get_type
()
->
GType
;
pub
fn
ges_edge_name
(
edge
:
GESEdge
)
->
*
const
c_char
;
//=========================================================================
// GESEditMode
...
...
@@ -2957,6 +2967,7 @@ extern "C" {
//pub fn ges_timeline_element_get_child_property_valist(self_: *mut GESTimelineElement, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
pub
fn
ges_timeline_element_get_duration
(
self_
:
*
mut
GESTimelineElement
)
->
gst
::
GstClockTime
;
pub
fn
ges_timeline_element_get_inpoint
(
self_
:
*
mut
GESTimelineElement
)
->
gst
::
GstClockTime
;
pub
fn
ges_timeline_element_get_layer_priority
(
self_
:
*
mut
GESTimelineElement
)
->
u32
;
pub
fn
ges_timeline_element_get_max_duration
(
self_
:
*
mut
GESTimelineElement
)
->
gst
::
GstClockTime
;
pub
fn
ges_timeline_element_get_name
(
self_
:
*
mut
GESTimelineElement
)
->
*
mut
c_char
;
pub
fn
ges_timeline_element_get_parent
(
self_
:
*
mut
GESTimelineElement
)
->
*
mut
GESTimelineElement
;
...
...
@@ -2979,13 +2990,13 @@ extern "C" {
pub
fn
ges_timeline_element_set_child_property
(
self_
:
*
mut
GESTimelineElement
,
property_name
:
*
const
c_char
,
value
:
*
const
gobject
::
GValue
)
->
gboolean
;
pub
fn
ges_timeline_element_set_child_property_by_pspec
(
self_
:
*
mut
GESTimelineElement
,
pspec
:
*
mut
gobject
::
GParamSpec
,
value
:
*
const
gobject
::
GValue
);
//pub fn ges_timeline_element_set_child_property_valist(self_: *mut GESTimelineElement, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
pub
fn
ges_timeline_element_set_duration
(
self_
:
*
mut
GESTimelineElement
,
duration
:
gst
::
GstClockTime
);
pub
fn
ges_timeline_element_set_inpoint
(
self_
:
*
mut
GESTimelineElement
,
inpoint
:
gst
::
GstClockTime
);
pub
fn
ges_timeline_element_set_max_duration
(
self_
:
*
mut
GESTimelineElement
,
maxduration
:
gst
::
GstClockTime
);
pub
fn
ges_timeline_element_set_duration
(
self_
:
*
mut
GESTimelineElement
,
duration
:
gst
::
GstClockTime
)
->
gboolean
;
pub
fn
ges_timeline_element_set_inpoint
(
self_
:
*
mut
GESTimelineElement
,
inpoint
:
gst
::
GstClockTime
)
->
gboolean
;
pub
fn
ges_timeline_element_set_max_duration
(
self_
:
*
mut
GESTimelineElement
,
maxduration
:
gst
::
GstClockTime
)
->
gboolean
;
pub
fn
ges_timeline_element_set_name
(
self_
:
*
mut
GESTimelineElement
,
name
:
*
const
c_char
)
->
gboolean
;
pub
fn
ges_timeline_element_set_parent
(
self_
:
*
mut
GESTimelineElement
,
parent
:
*
mut
GESTimelineElement
)
->
gboolean
;
pub
fn
ges_timeline_element_set_priority
(
self_
:
*
mut
GESTimelineElement
,
priority
:
u32
);
pub
fn
ges_timeline_element_set_start
(
self_
:
*
mut
GESTimelineElement
,
start
:
gst
::
GstClockTime
);
pub
fn
ges_timeline_element_set_priority
(
self_
:
*
mut
GESTimelineElement
,
priority
:
u32
)
->
gboolean
;
pub
fn
ges_timeline_element_set_start
(
self_
:
*
mut
GESTimelineElement
,
start
:
gst
::
GstClockTime
)
->
gboolean
;
pub
fn
ges_timeline_element_set_timeline
(
self_
:
*
mut
GESTimelineElement
,
timeline
:
*
mut
GESTimeline
)
->
gboolean
;
pub
fn
ges_timeline_element_trim
(
self_
:
*
mut
GESTimelineElement
,
start
:
gst
::
GstClockTime
)
->
gboolean
;
...
...
@@ -3054,7 +3065,7 @@ extern "C" {
// GESTrackElement
//=========================================================================
pub
fn
ges_track_element_get_type
()
->
GType
;
pub
fn
ges_track_element_add_children_props
(
self_
:
*
mut
GESTrackElement
,
element
:
*
mut
gst
::
GstElement
,
wanted_categories
:
*
mut
*
mut
c_char
,
blacklist
:
*
mut
*
mut
c_char
,
whitelist
:
*
mut
*
mu
t
c_char
);
pub
fn
ges_track_element_add_children_props
(
self_
:
*
mut
GESTrackElement
,
element
:
*
mut
gst
::
GstElement
,
wanted_categories
:
*
mut
*
const
c_char
,
blacklist
:
*
mut
*
const
c_char
,
whitelist
:
*
mut
*
cons
t
c_char
);
pub
fn
ges_track_element_edit
(
object
:
*
mut
GESTrackElement
,
layers
:
*
mut
glib
::
GList
,
mode
:
GESEditMode
,
edge
:
GESEdge
,
position
:
u64
)
->
gboolean
;
pub
fn
ges_track_element_get_all_control_bindings
(
trackelement
:
*
mut
GESTrackElement
)
->
*
mut
glib
::
GHashTable
;
pub
fn
ges_track_element_get_child_properties
(
object
:
*
mut
GESTrackElement
,
first_property_name
:
*
const
c_char
,
...
);
...
...
@@ -3114,6 +3125,7 @@ extern "C" {
// GESUriClipAsset
//=========================================================================
pub
fn
ges_uri_clip_asset_get_type
()
->
GType
;
pub
fn
ges_uri_clip_asset_finish
(
res
:
*
mut
gio
::
GAsyncResult
,
error
:
*
mut
*
mut
glib
::
GError
)
->
*
mut
GESUriClipAsset
;
pub
fn
ges_uri_clip_asset_new
(
uri
:
*
const
c_char
,
cancellable
:
*
mut
gio
::
GCancellable
,
callback
:
gio
::
GAsyncReadyCallback
,
user_data
:
gpointer
);
pub
fn
ges_uri_clip_asset_request_sync
(
uri
:
*
const
c_char
,
error
:
*
mut
*
mut
glib
::
GError
)
->
*
mut
GESUriClipAsset
;
pub
fn
ges_uri_clip_asset_get_duration
(
self_
:
*
mut
GESUriClipAsset
)
->
gst
::
GstClockTime
;
...
...
@@ -3225,8 +3237,9 @@ extern "C" {
pub
fn
ges_add_missing_uri_relocation_uri
(
uri
:
*
const
c_char
,
recurse
:
gboolean
)
->
gboolean
;
pub
fn
ges_deinit
();
pub
fn
ges_init
()
->
gboolean
;
pub
fn
ges_init_check
(
argc
:
*
mut
c_int
,
argv
:
*
mut
*
mut
c_char
,
error
:
*
mut
*
mut
glib
::
GError
)
->
gboolean
;
pub
fn
ges_init_check
(
argc
:
*
mut
c_int
,
argv
:
*
mut
*
mut
*
mut
c_char
,
error
:
*
mut
*
mut
glib
::
GError
)
->
gboolean
;
pub
fn
ges_init_get_option_group
()
->
*
mut
glib
::
GOptionGroup
;
pub
fn
ges_is_initialized
()
->
gboolean
;
pub
fn
ges_list_assets
(
filter
:
GType
)
->
*
mut
glib
::
GList
;
pub
fn
ges_play_sink_convert_frame
(
playsink
:
*
mut
gst
::
GstElement
,
caps
:
*
mut
gst
::
GstCaps
)
->
*
mut
gst
::
GstSample
;
pub
fn
ges_pspec_equal
(
key_spec_1
:
gconstpointer
,
key_spec_2
:
gconstpointer
)
->
gboolean
;
...
...
gstreamer-editing-services-sys/tests/abi.rs
View file @
6bc25c6b
...
...
@@ -407,11 +407,16 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
(
"(gint) GES_TEXT_VALIGN_CENTER"
,
"4"
),
(
"(gint) GES_TEXT_VALIGN_POSITION"
,
"3"
),
(
"(gint) GES_TEXT_VALIGN_TOP"
,
"2"
),
(
"GES_TIMELINE_ELEMENT_NO_LAYER_PRIORITY"
,
"4294967295"
),
(
"(guint) GES_TRACK_TYPE_AUDIO"
,
"2"
),
(
"(guint) GES_TRACK_TYPE_CUSTOM"
,
"16"
),
(
"(guint) GES_TRACK_TYPE_TEXT"
,
"8"
),
(
"(guint) GES_TRACK_TYPE_UNKNOWN"
,
"1"
),
(
"(guint) GES_TRACK_TYPE_VIDEO"
,
"4"
),
(
"GES_VERSION_MAJOR"
,
"1"
),
(
"GES_VERSION_MICRO"
,
"0"
),
(
"GES_VERSION_MINOR"
,
"16"
),
(
"GES_VERSION_NANO"
,
"0"
),
(
"(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL"
,
"45"
),
(
"(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL"
,
"46"
),
(
"(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H"
,
"22"
),
...
...
Write
Preview
Markdown
is supported
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