summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-01-21 12:46:32 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-01-24 08:49:39 +0000
commit5d030ed776edfe2603b9c3e939d57362cf2ad788 (patch)
treee2060e36f6272b089811c95622325f4a007c450d
parent5f67b4946efa9e0ed8cbffe6fca0ea1d11329b99 (diff)
downloadgstreamer-plugins-bad-5d030ed776edfe2603b9c3e939d57362cf2ad788.tar.gz
msdk: fix some comments typos
-rw-r--r--sys/msdk/gstmsdkdec.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/msdk/gstmsdkdec.c b/sys/msdk/gstmsdkdec.c
index 77e1dd312..217cd2031 100644
--- a/sys/msdk/gstmsdkdec.c
+++ b/sys/msdk/gstmsdkdec.c
@@ -846,9 +846,10 @@ gst_msdkdec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
gsize data_size;
gboolean hard_reset = FALSE;
- /* configure the subclss inorder to fill the CodecID field of mfxVideoParam
- * and also to load the PluginID for some of the codecs which is mandatory
- * to invoke the MFXVideoDECODE_DecodeHeader API.
+ /* configure the subclass in order to fill the CodecID field of
+ * mfxVideoParam and also to load the PluginID for some of the
+ * codecs which is mandatory to invoke the
+ * MFXVideoDECODE_DecodeHeader API.
*
* For non packetized formats (currently only vc1), there
* could be headers received as codec_data which are not available
@@ -979,7 +980,7 @@ gst_msdkdec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
/* media-sdk requires complete reset since the surface is inadaquate to
* do further decoding */
if (status == MFX_ERR_INCOMPATIBLE_VIDEO_PARAM) {
- /* Requires memory re-allocation ,initiate hard reset */
+ /* Requires memory re-allocation, do a hard reset */
if (!gst_msdkdec_negotiate (thiz, TRUE))
goto error;
status =