[totem/wip/hadess/glsink: 32/38] property rename
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/glsink: 32/38] property rename
- Date: Tue, 25 Jan 2022 14:26:47 +0000 (UTC)
commit 2ef3230cadcda8df4aae28125794fc78da213082
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 11 11:32:01 2021 +0200
property rename
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 e6f0e7e1e..43e764a37 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -4557,29 +4557,29 @@ bacon_video_widget_set_aspect_ratio (BaconVideoWidget *bvw,
switch (bvw->ratio_type) {
case BVW_RATIO_SQUARE:
g_object_set (bvw->video_sink,
- "video-aspect-ratio", 1, 1,
+ "video-pixel-aspect-ratio", 1, 1,
NULL);
break;
case BVW_RATIO_FOURBYTHREE:
g_object_set (bvw->video_sink,
- "video-aspect-ratio", 4, 3,
+ "video-pixel-aspect-ratio", 4, 3,
NULL);
break;
case BVW_RATIO_ANAMORPHIC:
g_object_set (bvw->video_sink,
- "video-aspect-ratio", 16, 9,
+ "video-pixel-aspect-ratio", 16, 9,
NULL);
break;
case BVW_RATIO_DVB:
g_object_set (bvw->video_sink,
- "video-aspect-ratio", 20, 9,
+ "video-pixel-aspect-ratio", 20, 9,
NULL);
break;
/* handle these to avoid compiler warnings */
case BVW_RATIO_AUTO:
default:
g_object_set (bvw->video_sink,
- "video-aspect-ratio", 0, 1,
+ "video-pixel-aspect-ratio", 0, 1,
NULL);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]