From 1c667845e5e632461f895014be650d02354d7b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 16 Dec 2017 10:36:08 +0200 Subject: [PATCH] Fix gst_player_[gs]et_multiview_mode() argument type http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=20c4dc25fbbe68c9b7526059c50b74e818c12b10 --- gir-files/GstPlayer-1.0.gir | 8 ++++---- gstreamer-player-sys/src/lib.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gir-files/GstPlayer-1.0.gir b/gir-files/GstPlayer-1.0.gir index 47f6631d6..ce95d355a 100644 --- a/gir-files/GstPlayer-1.0.gir +++ b/gir-files/GstPlayer-1.0.gir @@ -405,8 +405,8 @@ The caller should free it with g_object_unref() Retrieve the current value of the indicated @type. The current value of @type, Default: -1 "none" - + @@ -733,8 +733,8 @@ value. The new value for the @type - + diff --git a/gstreamer-player-sys/src/lib.rs b/gstreamer-player-sys/src/lib.rs index 422733981..aa36fe624 100644 --- a/gstreamer-player-sys/src/lib.rs +++ b/gstreamer-player-sys/src/lib.rs @@ -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;