From 7dd6375c5e13d60decac8157589af8f7bbae2384 Mon Sep 17 00:00:00 2001 From: Camilo Celis Guzman Date: Tue, 25 Apr 2023 15:11:10 +0900 Subject: [PATCH] rtpvp8pay, rtpvp9pay: use GType like name for PictureIDMode Part-of: --- subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c | 2 +- subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.h | 6 +++--- subprojects/gst-plugins-good/gst/rtp/gstrtpvp9pay.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c index f4b4031d6e..bb967c7e42 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.c @@ -98,7 +98,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_CAPS ("video/x-vp8")); static gint -picture_id_field_len (PictureIDMode mode) +picture_id_field_len (GstVP8RtpPayPictureIDMode mode) { if (VP8_PAY_NO_PICTURE_ID == mode) return 0; diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.h b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.h index 30ad99a67c..851e3f736e 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.h +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp8pay.h @@ -39,9 +39,9 @@ G_BEGIN_DECLS typedef struct _GstRtpVP8Pay GstRtpVP8Pay; typedef struct _GstRtpVP8PayClass GstRtpVP8PayClass; -typedef enum _PictureIDMode PictureIDMode; +typedef enum _GstVP8RtpPayPictureIDMode GstVP8RtpPayPictureIDMode; -enum _PictureIDMode { +enum _GstVP8RtpPayPictureIDMode { VP8_PAY_NO_PICTURE_ID, VP8_PAY_PICTURE_ID_7BITS, VP8_PAY_PICTURE_ID_15BITS, @@ -61,7 +61,7 @@ struct _GstRtpVP8Pay * folowed by max. 8 data partitions. last offset is the end of the buffer */ guint partition_offset[10]; guint partition_size[9]; - PictureIDMode picture_id_mode; + GstVP8RtpPayPictureIDMode picture_id_mode; gint picture_id_offset; guint16 picture_id; gboolean temporal_scalability_fields_present; diff --git a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp9pay.h b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp9pay.h index 407e3e08c4..525d4988cb 100644 --- a/subprojects/gst-plugins-good/gst/rtp/gstrtpvp9pay.h +++ b/subprojects/gst-plugins-good/gst/rtp/gstrtpvp9pay.h @@ -40,9 +40,9 @@ G_BEGIN_DECLS typedef struct _GstRtpVP9Pay GstRtpVP9Pay; typedef struct _GstRtpVP9PayClass GstRtpVP9PayClass; -typedef enum _VP9PictureIDMode VP9PictureIDMode; +typedef enum _GstVP9RtpPayPictureIDMode GstVP9RtpPayPictureIDMode; -enum _VP9PictureIDMode { +enum _GstVP9RtpPayPictureIDMode { VP9_PAY_NO_PICTURE_ID, VP9_PAY_PICTURE_ID_7BITS, VP9_PAY_PICTURE_ID_15BITS, @@ -59,7 +59,7 @@ struct _GstRtpVP9Pay gboolean is_keyframe; guint width; guint height; - VP9PictureIDMode picture_id_mode; + GstVP9RtpPayPictureIDMode picture_id_mode; guint16 picture_id; };