Fix gst_player_[gs]et_multiview_mode() argument type

http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=20c4dc25fbbe68c9b7526059c50b74e818c12b10
This commit is contained in:
Sebastian Dröge 2017-12-16 10:36:08 +02:00
parent bcc17efdfb
commit 1c667845e5
2 changed files with 6 additions and 6 deletions

View file

@ -405,8 +405,8 @@ The caller should free it with g_object_unref()</doc>
<doc xml:space="preserve">Retrieve the current value of the indicated @type.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The current value of @type, Default: -1 "none"</doc>
<type name="GstVideo.VideoMultiviewMode"
c:type="GstVideoMultiviewMode"/>
<type name="GstVideo.VideoMultiviewFramePacking"
c:type="GstVideoMultiviewFramePacking"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
@ -733,8 +733,8 @@ value.</doc>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve">The new value for the @type</doc>
<type name="GstVideo.VideoMultiviewMode"
c:type="GstVideoMultiviewMode"/>
<type name="GstVideo.VideoMultiviewFramePacking"
c:type="GstVideoMultiviewFramePacking"/>
</parameter>
</parameters>
</method>

View file

@ -300,7 +300,7 @@ extern "C" {
pub fn gst_player_get_duration(player: *mut GstPlayer) -> gst::GstClockTime;
pub fn gst_player_get_media_info(player: *mut GstPlayer) -> *mut GstPlayerMediaInfo;
pub fn gst_player_get_multiview_flags(player: *mut GstPlayer) -> gst_video::GstVideoMultiviewFlags;
pub fn gst_player_get_multiview_mode(player: *mut GstPlayer) -> gst_video::GstVideoMultiviewMode;
pub fn gst_player_get_multiview_mode(player: *mut GstPlayer) -> gst_video::GstVideoMultiviewFramePacking;
pub fn gst_player_get_mute(player: *mut GstPlayer) -> gboolean;
pub fn gst_player_get_pipeline(player: *mut GstPlayer) -> *mut gst::GstElement;
pub fn gst_player_get_position(player: *mut GstPlayer) -> gst::GstClockTime;
@ -319,7 +319,7 @@ extern "C" {
pub fn gst_player_set_color_balance(player: *mut GstPlayer, type_: GstPlayerColorBalanceType, value: c_double);
pub fn gst_player_set_config(player: *mut GstPlayer, config: *mut gst::GstStructure) -> gboolean;
pub fn gst_player_set_multiview_flags(player: *mut GstPlayer, flags: gst_video::GstVideoMultiviewFlags);
pub fn gst_player_set_multiview_mode(player: *mut GstPlayer, mode: gst_video::GstVideoMultiviewMode);
pub fn gst_player_set_multiview_mode(player: *mut GstPlayer, mode: gst_video::GstVideoMultiviewFramePacking);
pub fn gst_player_set_mute(player: *mut GstPlayer, val: gboolean);
pub fn gst_player_set_rate(player: *mut GstPlayer, rate: c_double);
pub fn gst_player_set_subtitle_track(player: *mut GstPlayer, stream_index: c_int) -> gboolean;