[totem/wip/hadess/glsink: 32/33] another property name change for aspect ratio override
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/glsink: 32/33] another property name change for aspect ratio override
- Date: Thu, 27 Jan 2022 12:09:21 +0000 (UTC)
commit fd32fb1ab02225e5cb60cef5e29273fcb3268cf8
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 09aa4a691..150d4c287 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -4529,29 +4529,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]