[totem/wip/hadess/glsink: 29/33] property rename
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/glsink: 29/33] property rename
- Date: Thu, 27 Jan 2022 12:09:21 +0000 (UTC)
commit 9ada5588d9f7faee8b719bb2418ed84b9f0a20a3
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 8ae18cb78..09aa4a691 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-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]