From 52c013b8348ab3a98bb8475916aa306a3fc664de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 30 Aug 2017 14:45:25 +0300 Subject: [PATCH] Regenerate everything with latest GIR --- docs/gstreamer-player/docs.md | 120 +++------ docs/gstreamer/docs.md | 164 ++++++++---- gstreamer-app/src/auto/app_sink.rs | 2 +- gstreamer-app/src/auto/app_src.rs | 2 +- gstreamer-app/src/auto/enums.rs | 2 +- gstreamer-app/src/auto/flags.rs | 2 +- gstreamer-app/src/auto/mod.rs | 2 +- gstreamer-audio/src/auto/enums.rs | 2 +- gstreamer-audio/src/auto/flags.rs | 2 +- gstreamer-audio/src/auto/mod.rs | 2 +- gstreamer-audio/src/auto/stream_volume.rs | 43 +++- gstreamer-audio/src/lib.rs | 6 + gstreamer-player/src/auto/enums.rs | 2 +- gstreamer-player/src/auto/flags.rs | 2 +- gstreamer-player/src/auto/mod.rs | 2 +- gstreamer-player/src/auto/player.rs | 240 +++++++++++++++++- .../src/auto/player_audio_info.rs | 2 +- ...player_g_main_context_signal_dispatcher.rs | 19 +- .../src/auto/player_media_info.rs | 2 +- .../src/auto/player_signal_dispatcher.rs | 2 +- .../src/auto/player_stream_info.rs | 2 +- .../src/auto/player_subtitle_info.rs | 2 +- .../src/auto/player_video_info.rs | 2 +- .../player_video_overlay_video_renderer.rs | 33 ++- .../src/auto/player_video_renderer.rs | 2 +- .../src/auto/player_visualization.rs | 2 +- gstreamer-video/src/auto/enums.rs | 2 +- gstreamer-video/src/auto/flags.rs | 2 +- gstreamer-video/src/auto/mod.rs | 2 +- gstreamer-video/src/auto/video_overlay.rs | 2 +- gstreamer/src/auto/alias.rs | 2 +- gstreamer/src/auto/bin.rs | 2 +- gstreamer/src/auto/bus.rs | 2 +- gstreamer/src/auto/child_proxy.rs | 2 +- gstreamer/src/auto/clock.rs | 2 +- gstreamer/src/auto/date_time.rs | 2 +- gstreamer/src/auto/device.rs | 2 +- gstreamer/src/auto/device_monitor.rs | 2 +- gstreamer/src/auto/device_provider.rs | 2 +- gstreamer/src/auto/device_provider_factory.rs | 2 +- gstreamer/src/auto/element.rs | 2 +- gstreamer/src/auto/element_factory.rs | 2 +- gstreamer/src/auto/enums.rs | 2 +- gstreamer/src/auto/flags.rs | 2 +- gstreamer/src/auto/functions.rs | 2 +- gstreamer/src/auto/ghost_pad.rs | 2 +- gstreamer/src/auto/mod.rs | 2 +- gstreamer/src/auto/object.rs | 2 +- gstreamer/src/auto/pad.rs | 2 +- gstreamer/src/auto/pad_template.rs | 2 +- gstreamer/src/auto/pipeline.rs | 2 +- gstreamer/src/auto/plugin.rs | 2 +- gstreamer/src/auto/preset.rs | 2 +- gstreamer/src/auto/proxy_pad.rs | 2 +- gstreamer/src/auto/stream.rs | 2 +- gstreamer/src/auto/stream_collection.rs | 2 +- gstreamer/src/auto/system_clock.rs | 2 +- gstreamer/src/auto/tag_setter.rs | 2 +- gstreamer/src/auto/toc_setter.rs | 2 +- gstreamer/src/auto/u_r_i_handler.rs | 2 +- 60 files changed, 539 insertions(+), 192 deletions(-) diff --git a/docs/gstreamer-player/docs.md b/docs/gstreamer-player/docs.md index 07c679558..8468786fa 100644 --- a/docs/gstreamer-player/docs.md +++ b/docs/gstreamer-player/docs.md @@ -394,34 +394,28 @@ in the stream. # Implements -[`PlayerAudioInfoExt`](trait.PlayerAudioInfoExt.html), [`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `PlayerAudioInfo` methods. - -# Implementors - -[`PlayerAudioInfo`](struct.PlayerAudioInfo.html) - +[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) + # Returns the audio bitrate in `PlayerAudioInfo`. - + # Returns the number of audio channels in `PlayerAudioInfo`. - + # Returns the language of the stream, or NULL if unknown. - + # Returns the audio maximum bitrate in `PlayerAudioInfo`. - + # Returns @@ -444,13 +438,7 @@ generic error. # Implements -[`PlayerGMainContextSignalDispatcherExt`](trait.PlayerGMainContextSignalDispatcherExt.html), [`ObjectExt`](trait.ObjectExt.html), [`PlayerSignalDispatcherExt`](trait.PlayerSignalDispatcherExt.html) - -Trait containing all `PlayerGMainContextSignalDispatcher` methods. - -# Implementors - -[`PlayerGMainContextSignalDispatcher`](struct.PlayerGMainContextSignalDispatcher.html) +[`ObjectExt`](trait.ObjectExt.html), [`PlayerSignalDispatcherExt`](trait.PlayerSignalDispatcherExt.html) Creates a new GstPlayerSignalDispatcher that uses `application_context`, or the thread default one if `None` is used. See `gst_player_new_full`. @@ -465,95 +453,89 @@ Structure containing the media information of a URI. # Implements -[`PlayerMediaInfoExt`](trait.PlayerMediaInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `PlayerMediaInfo` methods. - -# Implementors - -[`PlayerMediaInfo`](struct.PlayerMediaInfo.html) - +[`ObjectExt`](trait.ObjectExt.html) + # Returns A `glib::List` of matching `PlayerAudioInfo`. - + # Returns the container format. - + # Returns duration of the media. - + Function to get the image (or preview-image) stored in taglist. Application can use gst_sample_*`_` API's to get caps, buffer etc. # Returns GstSample or NULL. - + # Returns number of audio streams. - + # Returns number of total streams. - + # Returns number of subtitle streams. - + # Returns number of video streams. - + # Returns A `glib::List` of matching `PlayerStreamInfo`. - + # Returns A `glib::List` of matching `PlayerSubtitleInfo`. - + # Returns the tags contained in media info. - + # Returns the media title. - + # Returns the URI associated with `PlayerMediaInfo`. - + # Returns A `glib::List` of matching `PlayerVideoInfo`. - + # Returns `true` if the media is live. - + # Returns @@ -629,14 +611,8 @@ the tags contained in this stream. # Implements -[`PlayerSubtitleInfoExt`](trait.PlayerSubtitleInfoExt.html), [`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `PlayerSubtitleInfo` methods. - -# Implementors - -[`PlayerSubtitleInfo`](struct.PlayerSubtitleInfo.html) - +[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) + # Returns @@ -646,40 +622,34 @@ the language of the stream, or NULL if unknown. # Implements -[`PlayerVideoInfoExt`](trait.PlayerVideoInfoExt.html), [`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `PlayerVideoInfo` methods. - -# Implementors - -[`PlayerVideoInfo`](struct.PlayerVideoInfo.html) - +[`PlayerStreamInfoExt`](trait.PlayerStreamInfoExt.html), [`ObjectExt`](trait.ObjectExt.html) + # Returns the current bitrate of video in `PlayerVideoInfo`. - + ## `fps_n` Numerator of frame rate ## `fps_d` Denominator of frame rate - + # Returns the height of video in `PlayerVideoInfo`. - + # Returns the maximum bitrate of video in `PlayerVideoInfo`. - + Returns the pixel aspect ratio in `par_n` and `par_d` ## `par_n` numerator ## `par_d` denominator - + # Returns @@ -689,13 +659,7 @@ the width of video in `PlayerVideoInfo`. # Implements -[`PlayerVideoOverlayVideoRendererExt`](trait.PlayerVideoOverlayVideoRendererExt.html), [`ObjectExt`](trait.ObjectExt.html), [`PlayerVideoRendererExt`](trait.PlayerVideoRendererExt.html) - -Trait containing all `PlayerVideoOverlayVideoRenderer` methods. - -# Implementors - -[`PlayerVideoOverlayVideoRenderer`](struct.PlayerVideoOverlayVideoRenderer.html) +[`ObjectExt`](trait.ObjectExt.html), [`PlayerVideoRendererExt`](trait.PlayerVideoRendererExt.html) ## `window_handle` Window handle to use or `None` @@ -710,11 +674,11 @@ the custom video_sink element to be set for the video renderer Since 1.12 - + Tell an overlay that it has been exposed. This will redraw the current frame in the drawable even if the pipeline is PAUSED. - -Return the currently configured render rectangle. See `PlayerVideoOverlayVideoRendererExt::set_render_rectangle` + +Return the currently configured render rectangle. See `PlayerVideoOverlayVideoRenderer::set_render_rectangle` for details. ## `x` the horizontal offset of the render area inside the window @@ -724,19 +688,19 @@ the vertical offset of the render area inside the window the width of the render area inside the window ## `height` the height of the render area inside the window - + # Returns The currently set, platform specific window handle - + Configure a subregion as a video target within the window set by -`PlayerVideoOverlayVideoRendererExt::set_window_handle`. If this is not +`PlayerVideoOverlayVideoRenderer::set_window_handle`. If this is not used or not supported the video will fill the area of the window set as the overlay to 100%. By specifying the rectangle, the video can be overlaid to a specific region of that window only. After setting the new rectangle one -should call `PlayerVideoOverlayVideoRendererExt::expose` to force a +should call `PlayerVideoOverlayVideoRenderer::expose` to force a redraw. To unset the region pass -1 for the `width` and `height` parameters. This method is needed for non fullscreen video overlay in UI toolkits that @@ -749,7 +713,7 @@ the vertical offset of the render area inside the window the width of the render area inside the window ## `height` the height of the render area inside the window - + Sets the platform specific window handle into which the video should be rendered ## `window_handle` diff --git a/docs/gstreamer/docs.md b/docs/gstreamer/docs.md index 8bf90e364..d81509c81 100644 --- a/docs/gstreamer/docs.md +++ b/docs/gstreamer/docs.md @@ -3061,6 +3061,56 @@ a newly allocated string formatted according Atomically decrements the reference count of `self` by one. When the reference count reaches zero, the structure is freed. + +The level defines the importance of a debugging message. The more important a +message is, the greater the probability that the debugging system outputs it. + +No debugging level specified or desired. Used to deactivate + debugging output. + +Error messages are to be used only when an error occurred + that stops the application from keeping working correctly. + An examples is gst_element_error, which outputs a message with this priority. + It does not mean that the application is terminating as with g_error. + +Warning messages are to inform about abnormal behaviour + that could lead to problems or weird behaviour later on. An example of this + would be clocking issues ("your computer is pretty slow") or broken input + data ("Can't synchronize to stream.") + +Fixme messages are messages that indicate that something + in the executed code path is not fully implemented or handled yet. Note + that this does not replace proper error handling in any way, the purpose + of this message is to make it easier to spot incomplete/unfinished pieces + of code when reading the debug log. + +Informational messages should be used to keep the developer + updated about what is happening. + Examples where this should be used are when a typefind function has + successfully determined the type of the stream or when an mp3 plugin detects + the format to be used. ("This file has mono sound.") + +Debugging messages should be used when something common + happens that is not the expected default behavior, or something that's + useful to know but doesn't happen all the time (ie. per loop iteration or + buffer processed or event handled). + An example would be notifications about state changes or receiving/sending + of events. + +Log messages are messages that are very common but might be + useful to know. As a rule of thumb a pipeline that is running as expected + should never output anything else but LOG messages whilst processing data. + Use this log level to log recurring information in chain functions and + loop functions, for example. + +Tracing-related messages. + Examples for this are referencing/dereferencing of objects. + +memory dump messages are used to log (small) chunks of + data as memory dumps in the log. They will be displayed as hexdump with + ASCII characters. + +The number of defined debugging levels. `Device` are objects representing a device, they contain relevant metadata about the device, such as its class and the `Caps` @@ -3423,19 +3473,13 @@ GstDeviceProviderfactory can be added to a `Plugin` as it is also a `PluginFeature`. Use the `DeviceProviderFactory::find` and -`DeviceProviderFactoryExt::get` functions to create device +`DeviceProviderFactory::get` functions to create device provider instances or use `DeviceProviderFactory::get_by_name` as a convenient shortcut. # Implements -[`DeviceProviderFactoryExt`](trait.DeviceProviderFactoryExt.html), [`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `DeviceProviderFactory` methods. - -# Implementors - -[`DeviceProviderFactory`](struct.DeviceProviderFactory.html) +[`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) Search for an device provider factory of the given name. Refs the returned device provider factory; caller is responsible for unreffing. @@ -3467,7 +3511,7 @@ Minimum rank a `glib::List` of `DeviceProviderFactory` device providers. Use `PluginFeature::list_free` after usage. - + Returns the device provider of the type defined by the given device providerfactory. @@ -3475,7 +3519,7 @@ providerfactory. the `DeviceProvider` or `None` if the device provider couldn't be created - + Get the `glib::Type` for device providers managed by this factory. The type can only be retrieved if the device provider factory is loaded, which can be assured with `PluginFeature::load`. @@ -3483,7 +3527,7 @@ assured with `PluginFeature::load`. # Returns the `glib::Type` for device providers managed by this factory. - + Get the metadata on `self` with `key`. ## `key` a key @@ -3492,7 +3536,7 @@ a key the metadata with `key` on `self` or `None` when there was no metadata with the given `key`. - + Get the available keys for the metadata on `self`. # Returns @@ -3500,7 +3544,7 @@ Get the available keys for the metadata on `self`. a `None`-terminated array of key strings, or `None` when there is no metadata. Free with `g_strfreev` when no longer needed. - + Check if `self` matches all of the given `classes` ## `classes` a "/" separate list of classes to match, only match @@ -3509,7 +3553,7 @@ a "/" separate list of classes to match, only match # Returns `true` if `self` matches or if `classes` is `None`. - + Check if `self` matches all of the given classes ## `classes` a `None` terminated array @@ -9079,7 +9123,7 @@ element plugin as well as identifying pads on elements that are not yet created (request or sometimes pads). Pad and PadTemplates have `Caps` attached to it to describe the media type -they are capable of dealing with. `PadTemplateExt::get_caps` or +they are capable of dealing with. `PadTemplate::get_caps` or GST_PAD_TEMPLATE_CAPS() are used to get the caps of a padtemplate. It's not possible to modify the caps of a padtemplate after creation. @@ -9138,13 +9182,7 @@ element class, this is usually done in the class_init of the class: # Implements -[`PadTemplateExt`](trait.PadTemplateExt.html), [`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `PadTemplate` methods. - -# Implementors - -[`PadTemplate`](struct.PadTemplate.html) +[`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) Creates a new pad template with a name according to the given template and with the given arguments. @@ -9160,17 +9198,47 @@ a `Caps` set for the template. # Returns a new `PadTemplate`. - + Gets the capabilities of the pad template. # Returns the `Caps` of the pad template. Unref after usage. - + Emit the pad-created signal for this template when created by this pad. ## `pad` the `Pad` that created it + +Opaque structure. + +Allocates a parse context for use with `gst_parse_launch_full` or +`gst_parse_launchv_full`. + +Free-function: gst_parse_context_free + +# Returns + +a newly-allocated parse context. Free with + `ParseContext::free` when no longer needed. + +Copies the `self`. + +# Returns + +A copied `ParseContext` + +Frees a parse context previously allocated with `ParseContext::new`. + +Retrieve missing elements from a previous run of `gst_parse_launch_full` +or `gst_parse_launchv_full`. Will only return results if an error code +of `ParseError::NoSuchElement` was returned. + +# Returns + +a + `None`-terminated array of element factory name strings of missing + elements. Free with `g_strfreev` when no longer needed. The different parsing errors that can occur. @@ -11211,15 +11279,7 @@ Feature: `v1_10` # Implements -[`StreamExt`](trait.StreamExt.html), [`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `Stream` methods. - -Feature: `v1_10` - -# Implementors - -[`Stream`](struct.Stream.html) +[`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) Create a new `Stream` for the given `stream_id`, `caps`, `type_` and `flags` @@ -11239,7 +11299,7 @@ the `StreamFlags` of the stream # Returns The new `Stream` - + Retrieve the caps for `self`, if any Feature: `v1_10` @@ -11248,7 +11308,7 @@ Feature: `v1_10` # Returns The `Caps` for `self` - + Retrieve the current stream flags for `self` Feature: `v1_10` @@ -11257,7 +11317,7 @@ Feature: `v1_10` # Returns The `StreamFlags` for `self` - + Returns the stream ID of `self`. Feature: `v1_10` @@ -11267,7 +11327,7 @@ Feature: `v1_10` the stream ID of `self`. Only valid during the lifetime of `self`. - + Retrieve the stream type for `self` Feature: `v1_10` @@ -11276,7 +11336,7 @@ Feature: `v1_10` # Returns The `StreamType` for `self` - + Retrieve the tags for `self`, if any Feature: `v1_10` @@ -11285,28 +11345,28 @@ Feature: `v1_10` # Returns The `TagList` for `self` - + Set the caps for the `Stream` Feature: `v1_10` ## `caps` a `Caps` - + Set the `flags` for the `self`. Feature: `v1_10` ## `flags` the flags to set on `self` - + Set the stream type of `self` Feature: `v1_10` ## `stream_type` the type to set on `self` - + Set the tags for the `Stream` Feature: `v1_10` @@ -11318,7 +11378,7 @@ A collection of `Stream` that are available. A `StreamCollection` will be provided by elements that can make those streams available. Applications can use the collection to show the user -what streams are available by using `StreamCollectionExt::get_stream`() +what streams are available by using `StreamCollection::get_stream`() Once posted, a `StreamCollection` is immutable. Updates are made by sending a new `StreamCollection` message, which may or may not share some of @@ -11335,15 +11395,7 @@ Feature: `v1_10` # Implements -[`StreamCollectionExt`](trait.StreamCollectionExt.html), [`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) - -Trait containing all `StreamCollection` methods. - -Feature: `v1_10` - -# Implementors - -[`StreamCollection`](struct.StreamCollection.html) +[`ObjectExt`](trait.ObjectExt.html), [`ObjectExt`](trait.ObjectExt.html) Create a new `StreamCollection`. @@ -11355,7 +11407,7 @@ The stream id of the parent stream # Returns The new `StreamCollection`. - + Add the given `stream` to the `self`. Feature: `v1_10` @@ -11366,7 +11418,7 @@ the `Stream` to add # Returns `true` if the `stream` was properly added, else `false` - + Get the number of streams this collection contains Feature: `v1_10` @@ -11375,7 +11427,7 @@ Feature: `v1_10` # Returns The number of streams that `self` contains - + Retrieve the `Stream` with index `index` from the collection. The caller should not modify the returned `Stream` @@ -11388,7 +11440,7 @@ Index of the stream to retrieve # Returns A `Stream` - + Returns the upstream id of the `self`. Feature: `v1_10` diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 07a26bec0..ac64ef2a5 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index b62123b31..88059e963 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use AppStreamType; diff --git a/gstreamer-app/src/auto/enums.rs b/gstreamer-app/src/auto/enums.rs index d879a6d5f..1be2097b6 100644 --- a/gstreamer-app/src/auto/enums.rs +++ b/gstreamer-app/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-app/src/auto/flags.rs b/gstreamer-app/src/auto/flags.rs index 52317441e..14bc7d3d9 100644 --- a/gstreamer-app/src/auto/flags.rs +++ b/gstreamer-app/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-app/src/auto/mod.rs b/gstreamer-app/src/auto/mod.rs index faf0f2713..dbeb87a83 100644 --- a/gstreamer-app/src/auto/mod.rs +++ b/gstreamer-app/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT mod app_sink; diff --git a/gstreamer-audio/src/auto/enums.rs b/gstreamer-audio/src/auto/enums.rs index 53a0892d1..f02861a0a 100644 --- a/gstreamer-audio/src/auto/enums.rs +++ b/gstreamer-audio/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-audio/src/auto/flags.rs b/gstreamer-audio/src/auto/flags.rs index 3d539c547..67917e831 100644 --- a/gstreamer-audio/src/auto/flags.rs +++ b/gstreamer-audio/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-audio/src/auto/mod.rs b/gstreamer-audio/src/auto/mod.rs index fcd6313b7..7fa43a604 100644 --- a/gstreamer-audio/src/auto/mod.rs +++ b/gstreamer-audio/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT mod stream_volume; diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index a643ff3cc..5a745fcdc 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -1,13 +1,18 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use StreamVolumeFormat; use ffi; +use glib; +use glib::object::Downcast; use glib::object::IsA; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -38,9 +43,13 @@ pub trait StreamVolumeExt { fn set_mute(&self, mute: bool); fn set_volume(&self, format: StreamVolumeFormat, val: f64); + + fn connect_property_mute_notify(&self, f: F) -> u64; + + fn connect_property_volume_notify(&self, f: F) -> u64; } -impl> StreamVolumeExt for O { +impl + IsA> StreamVolumeExt for O { fn get_mute(&self) -> bool { unsafe { from_glib(ffi::gst_stream_volume_get_mute(self.to_glib_none().0)) @@ -64,4 +73,34 @@ impl> StreamVolumeExt for O { ffi::gst_stream_volume_set_volume(self.to_glib_none().0, format.to_glib(), val); } } + + fn connect_property_mute_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::mute", + transmute(notify_mute_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_volume_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::volume", + transmute(notify_volume_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } +} + +unsafe extern "C" fn notify_mute_trampoline

(this: *mut ffi::GstStreamVolume, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&StreamVolume::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_volume_trampoline

(this: *mut ffi::GstStreamVolume, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&StreamVolume::from_glib_none(this).downcast_unchecked()) } diff --git a/gstreamer-audio/src/lib.rs b/gstreamer-audio/src/lib.rs index ae4a5152e..ac5f6de5a 100644 --- a/gstreamer-audio/src/lib.rs +++ b/gstreamer-audio/src/lib.rs @@ -19,6 +19,12 @@ extern crate gstreamer as gst; #[macro_use] extern crate glib; +macro_rules! callback_guard { + () => ( + let _guard = ::glib::CallbackGuard::new(); + ) +} + macro_rules! assert_initialized_main_thread { () => ( if unsafe {::gst_ffi::gst_is_initialized()} != ::glib_ffi::GTRUE { diff --git a/gstreamer-player/src/auto/enums.rs b/gstreamer-player/src/auto/enums.rs index 887866565..5c75cf6fc 100644 --- a/gstreamer-player/src/auto/enums.rs +++ b/gstreamer-player/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/flags.rs b/gstreamer-player/src/auto/flags.rs index 740fd776a..14bc7d3d9 100644 --- a/gstreamer-player/src/auto/flags.rs +++ b/gstreamer-player/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/mod.rs b/gstreamer-player/src/auto/mod.rs index a51ff1ea3..36244180f 100644 --- a/gstreamer-player/src/auto/mod.rs +++ b/gstreamer-player/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT mod player; diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index dd3e59c03..a5fc28c28 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Error; @@ -488,6 +488,142 @@ impl Player { transmute(warning_trampoline as usize), Box_::into_raw(f) as *mut _) } } + + pub fn connect_property_audio_video_offset_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::audio-video-offset", + transmute(notify_audio_video_offset_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_current_audio_track_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::current-audio-track", + transmute(notify_current_audio_track_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_current_subtitle_track_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::current-subtitle-track", + transmute(notify_current_subtitle_track_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_current_video_track_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::current-video-track", + transmute(notify_current_video_track_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_duration_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::duration", + transmute(notify_duration_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_media_info_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::media-info", + transmute(notify_media_info_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_mute_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::mute", + transmute(notify_mute_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_pipeline_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::pipeline", + transmute(notify_pipeline_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_position_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::position", + transmute(notify_position_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_rate_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::rate", + transmute(notify_rate_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_signal_dispatcher_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::signal-dispatcher", + transmute(notify_signal_dispatcher_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_suburi_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::suburi", + transmute(notify_suburi_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_uri_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::uri", + transmute(notify_uri_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_video_multiview_flags_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::video-multiview-flags", + transmute(notify_video_multiview_flags_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_video_multiview_mode_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::video-multiview-mode", + transmute(notify_video_multiview_mode_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_video_renderer_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::video-renderer", + transmute(notify_video_renderer_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_volume_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::volume", + transmute(notify_volume_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for Player {} @@ -570,3 +706,105 @@ unsafe extern "C" fn warning_trampoline(this: *mut ffi::GstPlayer, object: *mut let f: &&(Fn(&Player, &Error) + Send + 'static) = transmute(f); f(&from_glib_none(this), &from_glib_none(object)) } + +unsafe extern "C" fn notify_audio_video_offset_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_current_audio_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_current_subtitle_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_current_video_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_duration_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_media_info_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_mute_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_pipeline_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_position_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_rate_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_signal_dispatcher_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_suburi_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_uri_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_video_multiview_flags_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_video_multiview_mode_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_video_renderer_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_volume_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index ef2e11348..450778017 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use PlayerStreamInfo; diff --git a/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs b/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs index 7afc58a4e..f727e83a8 100644 --- a/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs @@ -1,14 +1,17 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use PlayerSignalDispatcher; use ffi; use glib; use glib::Value; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -36,7 +39,21 @@ impl PlayerGMainContextSignalDispatcher { from_glib_full(ffi::gst_player_g_main_context_signal_dispatcher_new(application_context.0)) } } + + pub fn connect_property_application_context_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::application-context", + transmute(notify_application_context_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for PlayerGMainContextSignalDispatcher {} unsafe impl Sync for PlayerGMainContextSignalDispatcher {} + +unsafe extern "C" fn notify_application_context_trampoline(this: *mut ffi::GstPlayerGMainContextSignalDispatcher, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PlayerGMainContextSignalDispatcher) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 4a67ffc81..46d14120b 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use PlayerAudioInfo; diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index 06a87a594..84e3f6eb9 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index 75c7208da..d74c854dc 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index 3de7f370a..4fdea17e8 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use PlayerStreamInfo; diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index a6763b53d..16bf4df7f 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use PlayerStreamInfo; diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index 0b00bc434..de5ed1185 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use PlayerVideoRenderer; @@ -6,11 +6,14 @@ use ffi; use glib; use glib::Value; use glib::object::IsA; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; use gst; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -74,7 +77,35 @@ impl PlayerVideoOverlayVideoRenderer { //pub fn new_with_sink>, Q: IsA>(window_handle: P, video_sink: &Q) -> Option { // unsafe { TODO: call ffi::gst_player_video_overlay_video_renderer_new_with_sink() } //} + + pub fn connect_property_video_sink_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::video-sink", + transmute(notify_video_sink_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_window_handle_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::window-handle", + transmute(notify_window_handle_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for PlayerVideoOverlayVideoRenderer {} unsafe impl Sync for PlayerVideoOverlayVideoRenderer {} + +unsafe extern "C" fn notify_video_sink_trampoline(this: *mut ffi::GstPlayerVideoOverlayVideoRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_window_handle_trampoline(this: *mut ffi::GstPlayerVideoOverlayVideoRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index ebe4266ac..d0ba83886 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index 76268d172..88021dd81 100644 --- a/gstreamer-player/src/auto/player_visualization.rs +++ b/gstreamer-player/src/auto/player_visualization.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 64bcdb507..8c38781fa 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index 1304c3928..43bdc9ab7 100644 --- a/gstreamer-video/src/auto/flags.rs +++ b/gstreamer-video/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/mod.rs b/gstreamer-video/src/auto/mod.rs index 6fe1a0487..c42e18456 100644 --- a/gstreamer-video/src/auto/mod.rs +++ b/gstreamer-video/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT mod video_overlay; diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index 4a12d7437..1be67ffd6 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cf27827) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/alias.rs b/gstreamer/src/auto/alias.rs index 5e59f3e59..2e9da5992 100644 --- a/gstreamer/src/auto/alias.rs +++ b/gstreamer/src/auto/alias.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT #[allow(unused_imports)] diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 5322ebbe3..4750c787d 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ChildProxy; diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 8bd91c710..f13a09bcf 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ClockTime; diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index ba99ff0e5..b864db19c 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index d3ef3cece..b4796f7bf 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ClockTime; diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index 96de09d0d..09f46bd3c 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 02af61ef3..af87d1e77 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 567934ecd..c77012d7d 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Bus; diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 07feb1fe2..08f363088 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Bus; diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index a599bbb23..e967f28c5 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use DeviceProvider; diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index f670c43dd..a55620aa6 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Bus; diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index 03b091bc0..878469bde 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 5544ef375..b94784c91 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index 2c94476a2..133a75ee4 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 3f252b954..aef06ee8a 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Bin; diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index 98fe5a5fa..0f95e8bdd 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs index 37fcfc195..1f05c516d 100644 --- a/gstreamer/src/auto/mod.rs +++ b/gstreamer/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT mod bin; diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 76c43effb..84b6a3b06 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ClockTime; diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index d76b21ef8..776e78be2 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 6c8497ce8..8aaae77f3 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index eacc35506..de570473c 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Bin; diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index bff90935c..7472c0da6 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Error; diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index db4ccdde1..ca8273a4c 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index ce92ad3d7..c9ead3aaf 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Iterator; diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index bf2bc42c2..62fa20f19 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 2d0de08c1..786b1bbda 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 775995546..e71869881 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Clock; diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 04655c123..5bac60885 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Element; diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index 2c4cb4330..4e0b6a972 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Element; diff --git a/gstreamer/src/auto/u_r_i_handler.rs b/gstreamer/src/auto/u_r_i_handler.rs index 92371aad8..bcd4b04a4 100644 --- a/gstreamer/src/auto/u_r_i_handler.rs +++ b/gstreamer/src/auto/u_r_i_handler.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (cfd99ec+) from gir-files (???) +// This file was generated by gir (e43d6c3) from gir-files (???) // DO NOT EDIT use Error;