[totem/wip/hadess/glsink: 89/89] another property name change for aspect ratio override




commit 1ec47b9ac839514c92cf6ae5e739e3886336583c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Oct 14 10:57:45 2021 +0200

    another property name change for aspect ratio override

 src/backend/bacon-video-widget.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 52114cc74..38580e2e3 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -4544,29 +4544,29 @@ bacon_video_widget_set_aspect_ratio (BaconVideoWidget *bvw,
   switch (bvw->ratio_type) {
   case BVW_RATIO_SQUARE:
     g_object_set (bvw->video_sink,
-                 "video-pixel-aspect-ratio", 1, 1,
+                 "video-aspect-ratio-override", 1, 1,
                  NULL);
     break;
   case BVW_RATIO_FOURBYTHREE:
     g_object_set (bvw->video_sink,
-                 "video-pixel-aspect-ratio", 4, 3,
+                 "video-aspect-ratio-override", 4, 3,
                  NULL);
     break;
   case BVW_RATIO_ANAMORPHIC:
     g_object_set (bvw->video_sink,
-                 "video-pixel-aspect-ratio", 16, 9,
+                 "video-aspect-ratio-override", 16, 9,
                  NULL);
     break;
   case BVW_RATIO_DVB:
     g_object_set (bvw->video_sink,
-                 "video-pixel-aspect-ratio", 20, 9,
+                 "video-aspect-ratio-override", 20, 9,
                  NULL);
     break;
     /* handle these to avoid compiler warnings */
   case BVW_RATIO_AUTO:
   default:
     g_object_set (bvw->video_sink,
-                 "video-pixel-aspect-ratio", 0, 1,
+                 "video-aspect-ratio-override", 0, 1,
                  NULL);
     break;
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]