From a3395167a19addc86a80ae03019d5e3c699d0994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Sun, 19 Apr 2020 18:37:58 +0200 Subject: [PATCH] codecs: h264picture: typo in GstH264PictureField enum --- gst-libs/gst/codecs/gsth264decoder.c | 6 +++--- gst-libs/gst/codecs/gsth264picture.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/codecs/gsth264decoder.c b/gst-libs/gst/codecs/gsth264decoder.c index a53187bce3..42909d4490 100644 --- a/gst-libs/gst/codecs/gsth264decoder.c +++ b/gst-libs/gst/codecs/gsth264decoder.c @@ -880,7 +880,7 @@ gst_h264_decoder_fill_picture_from_slice (GstH264Decoder * self, if (slice_hdr->field_pic_flag) picture->field = slice_hdr->bottom_field_flag ? - GST_H264_PICTURE_FIELD_BOTTOM_FIELD : GST_H264_PICTURE_FILED_TOP_FIELD; + GST_H264_PICTURE_FIELD_BOTTOM_FIELD : GST_H264_PICTURE_FIELD_TOP_FIELD; else picture->field = GST_H264_PICTURE_FIELD_FRAME; @@ -971,7 +971,7 @@ gst_h264_decoder_calculate_poc (GstH264Decoder * self, GstH264Picture * picture) picture->pic_order_cnt_msb + picture->pic_order_cnt_lsb; } - if (picture->field != GST_H264_PICTURE_FILED_TOP_FIELD) { + if (picture->field != GST_H264_PICTURE_FIELD_TOP_FIELD) { if (picture->field == GST_H264_PICTURE_FIELD_FRAME) { picture->bottom_field_order_cnt = picture->top_field_order_cnt + @@ -1101,7 +1101,7 @@ gst_h264_decoder_calculate_poc (GstH264Decoder * self, GstH264Picture * picture) picture->pic_order_cnt = MIN (picture->top_field_order_cnt, picture->bottom_field_order_cnt); break; - case GST_H264_PICTURE_FILED_TOP_FIELD: + case GST_H264_PICTURE_FIELD_TOP_FIELD: picture->pic_order_cnt = picture->top_field_order_cnt; break; case GST_H264_PICTURE_FIELD_BOTTOM_FIELD: diff --git a/gst-libs/gst/codecs/gsth264picture.h b/gst-libs/gst/codecs/gsth264picture.h index 44db3654e7..41fad8acfb 100644 --- a/gst-libs/gst/codecs/gsth264picture.h +++ b/gst-libs/gst/codecs/gsth264picture.h @@ -48,7 +48,7 @@ struct _GstH264Slice typedef enum { GST_H264_PICTURE_FIELD_FRAME, - GST_H264_PICTURE_FILED_TOP_FIELD, + GST_H264_PICTURE_FIELD_TOP_FIELD, GST_H264_PICTURE_FIELD_BOTTOM_FIELD, } GstH264PictureField;