[Bug 793412] msdk: session close failure if there are multiple sessions in a pipeline
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 1 08:17:35 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793412
--- Comment #4 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to sreerenj from comment #2)
> Review of attachment 368816 [details] [review]:
>
> ::: sys/msdk/gstmsdkcontext.c
> @@ +216,3 @@
> +{
> + mfxSession _session = session;
> + MFXDisjoinSession (_session);
>
> Ideally, it should make sure there is no active task.
> According to spec, if this API returns MFX_WRN_IN_EXECUTION:
> "Active tasks are in execution or in queue. Wait for
> the completion of the tasks and then call this
> function again."
>
I've read it on the document, but feels that it could be risky as Victor said.
Do you really want to handle the MFX_WRN_IN_EXECUTION?
If so, I have to think again from the scratch for this issue, because current
patch is not good for doing that.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list