Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
428
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
37e7fa05
Commit
37e7fa05
authored
3 years ago
by
Steve Lhomme
Browse files
Options
Downloads
Patches
Plain Diff
mft: send messages when we're done with the MFT
parent
b9e2ec07
No related branches found
Branches containing commit
No related tags found
1 merge request
!1217
mft: add Direct3D11 output support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/codec/mft.c
+5
-0
5 additions, 0 deletions
modules/codec/mft.c
with
5 additions
and
0 deletions
modules/codec/mft.c
+
5
−
0
View file @
37e7fa05
...
...
@@ -1103,8 +1103,13 @@ static void DestroyMFT(decoder_t *p_dec)
{
IMFSample_RemoveAllBuffers
(
p_sys
->
output_sample
);
}
if
(
p_sys
->
mft
)
{
IMFTransform_ProcessMessage
(
p_sys
->
mft
,
MFT_MESSAGE_NOTIFY_END_OF_STREAM
,
(
ULONG_PTR
)
0
);
IMFTransform_ProcessMessage
(
p_sys
->
mft
,
MFT_MESSAGE_NOTIFY_END_STREAMING
,
(
ULONG_PTR
)
0
);
IMFTransform_Release
(
p_sys
->
mft
);
}
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_CODEC_H264
)
hxxx_helper_clean
(
&
p_sys
->
hh
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment