mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
msdk: fix some comments typos
This commit is contained in:
parent
5f67b4946e
commit
5d030ed776
1 changed files with 5 additions and 4 deletions
|
@ -846,9 +846,10 @@ gst_msdkdec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
|
||||||
gsize data_size;
|
gsize data_size;
|
||||||
gboolean hard_reset = FALSE;
|
gboolean hard_reset = FALSE;
|
||||||
|
|
||||||
/* configure the subclss inorder to fill the CodecID field of mfxVideoParam
|
/* configure the subclass in order to fill the CodecID field of
|
||||||
* and also to load the PluginID for some of the codecs which is mandatory
|
* mfxVideoParam and also to load the PluginID for some of the
|
||||||
* to invoke the MFXVideoDECODE_DecodeHeader API.
|
* codecs which is mandatory to invoke the
|
||||||
|
* MFXVideoDECODE_DecodeHeader API.
|
||||||
*
|
*
|
||||||
* For non packetized formats (currently only vc1), there
|
* For non packetized formats (currently only vc1), there
|
||||||
* could be headers received as codec_data which are not available
|
* 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
|
/* media-sdk requires complete reset since the surface is inadaquate to
|
||||||
* do further decoding */
|
* do further decoding */
|
||||||
if (status == MFX_ERR_INCOMPATIBLE_VIDEO_PARAM) {
|
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))
|
if (!gst_msdkdec_negotiate (thiz, TRUE))
|
||||||
goto error;
|
goto error;
|
||||||
status =
|
status =
|
||||||
|
|
Loading…
Reference in a new issue