Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2020-09-07 12:13:18 +0300
committerSebastian Dröge <sebastian@centricular.com>2020-09-07 12:13:18 +0300
commit47c43b29eb707492ff959dd44c804d8a19ad1d1b (patch)
treecbe4e35b6d650561a9c9f7942dcd726c0d07b1d2 /gst
parent2d08d16002205040bbaaf589f2294b886ee0e6d2 (diff)
gst: Update for gst_video_transfer_function_*() function renaming
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/715>
Diffstat (limited to 'gst')
-rw-r--r--gst/isomp4/atoms.c3
-rw-r--r--gst/isomp4/qtdemux.c4
-rw-r--r--gst/matroska/matroska-demux.c3
-rw-r--r--gst/matroska/matroska-mux.c2
4 files changed, 7 insertions, 5 deletions
diff --git a/gst/isomp4/atoms.c b/gst/isomp4/atoms.c
index b539b6ddd..e9671bb07 100644
--- a/gst/isomp4/atoms.c
+++ b/gst/isomp4/atoms.c
@@ -4260,7 +4260,8 @@ build_colr_extension (const GstVideoColorimetry * colorimetry, gboolean is_mp4)
guint16 matrix;
primaries = gst_video_color_primaries_to_iso (colorimetry->primaries);
- transfer_function = gst_video_color_transfer_to_iso (colorimetry->transfer);
+ transfer_function =
+ gst_video_transfer_function_to_iso (colorimetry->transfer);
matrix = gst_video_color_matrix_to_iso (colorimetry->matrix);
atom_data_alloc_mem (atom_data, 10 + (is_mp4 ? 1 : 0));
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 9f714b00b..182d0bc06 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -10942,7 +10942,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
CUR_STREAM (stream)->colorimetry.primaries =
gst_video_color_primaries_from_iso (primaries);
CUR_STREAM (stream)->colorimetry.transfer =
- gst_video_color_transfer_from_iso (transfer_function);
+ gst_video_transfer_function_from_iso (transfer_function);
CUR_STREAM (stream)->colorimetry.matrix =
gst_video_color_matrix_from_iso (matrix);
CUR_STREAM (stream)->colorimetry.range =
@@ -11739,7 +11739,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
cinfo.primaries =
gst_video_color_primaries_from_iso (vpcc_data[15]);
cinfo.transfer =
- gst_video_color_transfer_from_iso (vpcc_data[16]);
+ gst_video_transfer_function_from_iso (vpcc_data[16]);
cinfo.matrix =
gst_video_color_matrix_from_iso (vpcc_data[17]);
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 3d2fbd120..4d0234743 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -616,7 +616,8 @@ gst_matroska_demux_parse_colour (GstMatroskaDemux * demux, GstEbmlRead * ebml,
if ((ret = gst_ebml_read_uint (ebml, &id, &num)) != GST_FLOW_OK)
goto beach;
- colorimetry.transfer = gst_video_color_transfer_from_iso ((guint) num);
+ colorimetry.transfer =
+ gst_video_transfer_function_from_iso ((guint) num);
break;
}
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index 3d3a233fb..85cb1f2e6 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -2626,7 +2626,7 @@ gst_matroska_mux_write_colour (GstMatroskaMux * mux,
matrix_id = gst_video_color_matrix_to_iso (videocontext->colorimetry.matrix);
transfer_id =
- gst_video_color_transfer_to_iso (videocontext->colorimetry.transfer);
+ gst_video_transfer_function_to_iso (videocontext->colorimetry.transfer);
primaries_id =
gst_video_color_primaries_to_iso (videocontext->colorimetry.primaries);