mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
rtpvp8pay, rtpvp9pay: use GType like name for PictureIDMode
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4530>
This commit is contained in:
parent
649d59b88b
commit
7dd6375c5e
3 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue