From b36b9c7821c385fb13338a4c429aecc819e73988 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 10 Nov 2022 05:54:18 +0900 Subject: [PATCH] amfcodec: Fix typos Fixing typo surfrace -> surface Part-of: --- subprojects/gst-plugins-bad/sys/amfcodec/gstamfh264enc.cpp | 6 +++--- subprojects/gst-plugins-bad/sys/amfcodec/gstamfh265enc.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh264enc.cpp b/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh264enc.cpp index 858ae2f..cb29720 100644 --- a/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh264enc.cpp +++ b/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh264enc.cpp @@ -347,7 +347,7 @@ static gboolean gst_amf_h264_enc_set_format (GstAmfEncoder * encoder, GstVideoCodecState * state, gpointer component); static gboolean gst_amf_h264_enc_set_output_state (GstAmfEncoder * encoder, GstVideoCodecState * state, gpointer component); -static gboolean gst_amf_h264_enc_set_surfrace_prop (GstAmfEncoder * encoder, +static gboolean gst_amf_h264_enc_set_surface_prop (GstAmfEncoder * encoder, GstVideoCodecFrame * frame, gpointer surface); static GstBuffer *gst_amf_h264_enc_create_output_buffer (GstAmfEncoder * encoder, gpointer data, gboolean * sync_point); @@ -455,7 +455,7 @@ gst_amf_h264_enc_class_init (GstAmfH264EncClass * klass, gpointer data) amf_class->set_output_state = GST_DEBUG_FUNCPTR (gst_amf_h264_enc_set_output_state); amf_class->set_surface_prop = - GST_DEBUG_FUNCPTR (gst_amf_h264_enc_set_surfrace_prop); + GST_DEBUG_FUNCPTR (gst_amf_h264_enc_set_surface_prop); amf_class->create_output_buffer = GST_DEBUG_FUNCPTR (gst_amf_h264_enc_create_output_buffer); amf_class->check_reconfigure = @@ -1210,7 +1210,7 @@ gst_amf_h264_enc_set_output_state (GstAmfEncoder * encoder, } static gboolean -gst_amf_h264_enc_set_surfrace_prop (GstAmfEncoder * encoder, +gst_amf_h264_enc_set_surface_prop (GstAmfEncoder * encoder, GstVideoCodecFrame * frame, gpointer surface) { GstAmfH264Enc *self = GST_AMF_H264_ENC (encoder); diff --git a/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh265enc.cpp b/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh265enc.cpp index dabd9b5..396d20f 100644 --- a/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh265enc.cpp +++ b/subprojects/gst-plugins-bad/sys/amfcodec/gstamfh265enc.cpp @@ -340,7 +340,7 @@ static gboolean gst_amf_h265_enc_set_format (GstAmfEncoder * encoder, GstVideoCodecState * state, gpointer component); static gboolean gst_amf_h265_enc_set_output_state (GstAmfEncoder * encoder, GstVideoCodecState * state, gpointer component); -static gboolean gst_amf_h265_enc_set_surfrace_prop (GstAmfEncoder * encoder, +static gboolean gst_amf_h265_enc_set_surface_prop (GstAmfEncoder * encoder, GstVideoCodecFrame * frame, gpointer surface); static GstBuffer *gst_amf_h265_enc_create_output_buffer (GstAmfEncoder * encoder, gpointer data, gboolean * sync_point); @@ -451,7 +451,7 @@ gst_amf_h265_enc_class_init (GstAmfH265EncClass * klass, gpointer data) amf_class->set_output_state = GST_DEBUG_FUNCPTR (gst_amf_h265_enc_set_output_state); amf_class->set_surface_prop = - GST_DEBUG_FUNCPTR (gst_amf_h265_enc_set_surfrace_prop); + GST_DEBUG_FUNCPTR (gst_amf_h265_enc_set_surface_prop); amf_class->create_output_buffer = GST_DEBUG_FUNCPTR (gst_amf_h265_enc_create_output_buffer); amf_class->check_reconfigure = @@ -881,7 +881,7 @@ gst_amf_h265_enc_set_output_state (GstAmfEncoder * encoder, } static gboolean -gst_amf_h265_enc_set_surfrace_prop (GstAmfEncoder * encoder, +gst_amf_h265_enc_set_surface_prop (GstAmfEncoder * encoder, GstVideoCodecFrame * frame, gpointer surface) { GstAmfH265Enc *self = GST_AMF_H265_ENC (encoder); -- 2.7.4