From f487648b03fb56f31352307912cf5d33cf8f72d3 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 5 Mar 2020 14:35:14 +0900 Subject: [PATCH] vp9decoder: Update document s/GstH264Picture/GstVp9Picture/g and minor update since this baseclass is no more d3d11 specific one. --- gst-libs/gst/codecs/gstvp9decoder.c | 4 ++-- gst-libs/gst/codecs/gstvp9decoder.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst-libs/gst/codecs/gstvp9decoder.c b/gst-libs/gst/codecs/gstvp9decoder.c index 29dfc2e28e..92ca74e4e0 100644 --- a/gst-libs/gst/codecs/gstvp9decoder.c +++ b/gst-libs/gst/codecs/gstvp9decoder.c @@ -313,8 +313,8 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder, /* if we have multiple frames in superframe here, * decide which frame should consume given GstVideoCodecFrame. * In practice, superframe consists of two frame, one is decode-only frame - * and the other is normal frame. If it's not the case, any other vp9 decoder - * implementations (nvdec, libvpx) including this d3d11 decoder would + * and the other is normal frame. If it's not the case, existing vp9 decoder + * implementations (nvdec, vp9dec, d3d11 and so on) would * show mismatched number of input and output buffers. * To handle it in generic manner, we need vp9parse element to * split frames from superframe. */ diff --git a/gst-libs/gst/codecs/gstvp9decoder.h b/gst-libs/gst/codecs/gstvp9decoder.h index 835cac37a5..d845209cb6 100644 --- a/gst-libs/gst/codecs/gstvp9decoder.h +++ b/gst-libs/gst/codecs/gstvp9decoder.h @@ -62,9 +62,9 @@ struct _GstVp9Decoder * GstVp9DecoderClass: * @new_sequence: Notifies subclass of SPS update * @new_picture: Optional. - * Called whenever new #GstH264Picture is created. + * Called whenever new #GstVp9Picture is created. * Subclass can set implementation specific user data - * on the #GstH264Picture via gst_h264_picture_set_user_data() + * on the #GstVp9Picture via gst_h264_picture_set_user_data() * @duplicate_picture: Duplicate the #GstVp9Picture * @output_picture: Called with a #GstVp9Picture which is required to be outputted. * Subclass can retrieve parent #GstVideoCodecFrame by using @@ -72,13 +72,13 @@ struct _GstVp9Decoder * and the #GstVideoCodecFrame must be consumed by subclass via * gst_video_decoder_{finish,drop,release}_frame(). * @start_picture: Optional. - * Called per one #GstH264Picture to notify subclass to prepare - * decoding process for the #GstH264Picture + * Called per one #GstVp9Picture to notify subclass to prepare + * decoding process for the #GstVp9Picture * @decode_slice: Provides per slice data with parsed slice header and * required raw bitstream for subclass to decode it * @end_picture: Optional. - * Called per one #GstH264Picture to notify subclass to finish - * decoding process for the #GstH264Picture + * Called per one #GstVp9Picture to notify subclass to finish + * decoding process for the #GstVp9Picture */ struct _GstVp9DecoderClass {