summaryrefslogtreecommitdiff
path: root/gst-libs/gst/player/gstplayer.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-12-16 10:22:44 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-12-16 10:23:41 +0200
commit20c4dc25fbbe68c9b7526059c50b74e818c12b10 (patch)
tree3748e55d498c30ba3751e3c8bd75f201c83daa27 /gst-libs/gst/player/gstplayer.c
parent67d6608a58a569e6343648a99692ba148c2a5937 (diff)
player: Consistently use GstVideoMultiviewFramePacking instead of Mode
The latter needs additional metadata, and the former was already used everywhere except for the functions: in properties in playbin itself.
Diffstat (limited to 'gst-libs/gst/player/gstplayer.c')
-rw-r--r--gst-libs/gst/player/gstplayer.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
index 2b8541b27..183c84965 100644
--- a/gst-libs/gst/player/gstplayer.c
+++ b/gst-libs/gst/player/gstplayer.c
@@ -4227,12 +4227,13 @@ gst_player_get_color_balance (GstPlayer * self, GstPlayerColorBalanceType type)
*
* Since: 1.10
*/
-GstVideoMultiviewMode
+GstVideoMultiviewFramePacking
gst_player_get_multiview_mode (GstPlayer * self)
{
- GstVideoMultiviewMode val = GST_VIDEO_MULTIVIEW_MODE_NONE;
+ GstVideoMultiviewFramePacking val = GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE;
- g_return_val_if_fail (GST_IS_PLAYER (self), GST_VIDEO_MULTIVIEW_MODE_NONE);
+ g_return_val_if_fail (GST_IS_PLAYER (self),
+ GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE);
g_object_get (self, "video-multiview-mode", &val, NULL);
@@ -4250,7 +4251,8 @@ gst_player_get_multiview_mode (GstPlayer * self)
* Since: 1.10
*/
void
-gst_player_set_multiview_mode (GstPlayer * self, GstVideoMultiviewMode mode)
+gst_player_set_multiview_mode (GstPlayer * self,
+ GstVideoMultiviewFramePacking mode)
{
g_return_if_fail (GST_IS_PLAYER (self));