From 6ac3cf29692919c0bc2a459380c2fa2f8f2491cb Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Tue, 18 Feb 2025 16:28:26 +0900 Subject: [PATCH] video-format: Move the position of STV0, STV1 in the formats[] - There was a problem because the index of the GstVideoFormat enum didn't match. [Version] 1.24.11-4 [Issue Type] Fix bugs Change-Id: I4ced2a61bb19b318b2b19656fc0aaf8bc3a8afca --- packaging/gstreamer.spec | 2 +- .../gst-libs/gst/video/video-format.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index 6726cb3e88..615f6bbb61 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -60,7 +60,7 @@ Name: %{_name} Version: 1.24.11 -Release: 3 +Release: 4 Summary: Streaming-Media Framework Runtime License: LGPL-2.0+ Group: Multimedia/Framework diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.c b/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.c index c1fab4c5c2..33b5e370c3 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.c @@ -7801,12 +7801,6 @@ static const VideoFormat formats[] = { MAKE_YUV_T_FORMAT (NV12_10BE_8L128, "raw video", GST_MAKE_FOURCC ('N', 'T', '1', '2'), DPTH10_10_10, PSTR0, PLANE011, OFFS001, SUB420, PACK_NV12_10BE_8L128, TILE_10bit_8x128 (LINEAR)), -#ifdef TIZEN_PROFILE_TV - MAKE_YUV_FORMAT (STV0, "raw video", GST_MAKE_FOURCC ('S', 'T', 'V', '0'), - DPTH888, PSTR111, PLANE012, OFFS0, SUB420, PACK_420), - MAKE_YUV_FORMAT (STV1, "raw video", GST_MAKE_FOURCC ('S', 'T', 'V', '1'), - DPTH888, PSTR111, PLANE012, OFFS0, SUB420, PACK_420), -#endif MAKE_YUV_T_FORMAT (NV12_10LE40_4L4, "raw video", GST_MAKE_FOURCC ('M', 'H', '2', '1'), DPTH10_10_10, PSTR0, PLANE011, OFFS001, SUB420, PACK_NV12_10LE40_TILED, TILE_10bit_4x4 (LINEAR)), @@ -7852,6 +7846,12 @@ static const VideoFormat formats[] = { OFFS0, SUB444, PACK_GBR_16BE), MAKE_RGBA_FORMAT (RBGA, "raw video", DPTH8888, PSTR4444, PLANE0, OFFS0213, SUB4444, PACK_RBGA), +#ifdef TIZEN_PROFILE_TV + MAKE_YUV_FORMAT (STV0, "raw video", GST_MAKE_FOURCC ('S', 'T', 'V', '0'), + DPTH888, PSTR111, PLANE012, OFFS0, SUB420, PACK_420), + MAKE_YUV_FORMAT (STV1, "raw video", GST_MAKE_FOURCC ('S', 'T', 'V', '1'), + DPTH888, PSTR111, PLANE012, OFFS0, SUB420, PACK_420), +#endif }; G_GNUC_END_IGNORE_DEPRECATIONS; -- 2.34.1