Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
f1fda8e6
Commit
f1fda8e6
authored
Feb 11, 2010
by
Hugo Beauzee-Luyssen
Browse files
Temporary hack to avoid solt persistance.
parent
72d05b45
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/EffectsEngine/Plugins/src/MixerEffect/MixerEffectPlugin.cpp
View file @
f1fda8e6
...
...
@@ -45,8 +45,9 @@ void MixerEffectPlugin::init( IEffectNode* ien )
void
MixerEffectPlugin
::
render
(
void
)
{
quint32
i
;
quint32
nbIns
;
quint32
i
;
quint32
nbIns
;
static
LightVideoFrame
nullFrame
;
nbIns
=
m_ien
->
getNBStaticsVideosInputs
();
for
(
i
=
nbIns
;
i
>
0
;
--
i
)
...
...
@@ -58,5 +59,6 @@ void MixerEffectPlugin::render( void )
return
;
}
}
(
*
m_ien
->
getStaticVideoOutput
(
1
))
<<
nullFrame
;
return
;
}
src/Workflow/MainWorkflow.cpp
View file @
f1fda8e6
...
...
@@ -142,7 +142,10 @@ MainWorkflow::getOutput( TrackType trackType, bool paused )
{
m_effectEngine
->
render
();
const
LightVideoFrame
&
tmp
=
m_effectEngine
->
getVideoOutput
(
1
);
m_outputBuffers
->
video
=
&
tmp
;
if
(
tmp
->
nboctets
==
0
)
m_outputBuffers
->
video
=
blackOutput
;
else
m_outputBuffers
->
video
=
&
tmp
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment