Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLMC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLMC
Commits
ed001b62
Commit
ed001b62
authored
Nov 26, 2009
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected screwed up merge, removed debug
parent
74e7599e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
src/Workflow/MainWorkflow.cpp
src/Workflow/MainWorkflow.cpp
+4
-7
src/Workflow/VideoClipWorkflow.cpp
src/Workflow/VideoClipWorkflow.cpp
+0
-2
No files found.
src/Workflow/MainWorkflow.cpp
View file @
ed001b62
...
...
@@ -228,16 +228,13 @@ MainWorkflow::OutputBuffers* MainWorkflow::getSynchroneOutput( MainWorkflow::Tr
// qDebug() << "Waiting for sync output";
m_synchroneRenderWaitCondition
->
wait
(
m_synchroneRenderWaitConditionMutex
);
// qDebug() << "Got it";
m_effectEngine
->
render
();
if
(
m_effectEngine
->
getOutputFrame
(
0
)
->
nboctets
==
0
)
m_outputBuffers
->
video
=
MainWorkflow
::
blackOutput
;
else
m_outputBuffers
->
video
=
&
(
m_effectEngine
->
getOutputFrame
(
0
)
);
if
(
trackType
==
BothTrackType
||
trackType
==
VideoTrack
)
{
m_effectEngine
->
render
();
m_outputBuffers
->
video
=
&
(
m_effectEngine
->
getOutputFrame
(
0
)
);
if
(
m_effectEngine
->
getOutputFrame
(
0
)
->
nboctets
==
0
)
m_outputBuffers
->
video
=
MainWorkflow
::
blackOutput
;
else
m_outputBuffers
->
video
=
&
(
m_effectEngine
->
getOutputFrame
(
0
)
);
}
if
(
trackType
==
BothTrackType
||
trackType
==
AudioTrack
)
m_outputBuffers
->
audio
=
m_tracks
[
MainWorkflow
::
AudioTrack
]
->
getTmpAudioBuffer
();
...
...
src/Workflow/VideoClipWorkflow.cpp
View file @
ed001b62
...
...
@@ -97,7 +97,6 @@ void* VideoClipWorkflow::getOutput()
void
VideoClipWorkflow
::
lock
(
VideoClipWorkflow
*
cw
,
void
**
pp_ret
,
int
size
)
{
qDebug
()
<<
"Outputing video buffers. Size:"
<<
size
;
Q_UNUSED
(
size
);
cw
->
m_renderLock
->
lock
();
*
pp_ret
=
(
*
(
cw
->
m_buffer
))
->
frame
.
pixels
;
...
...
@@ -105,7 +104,6 @@ void VideoClipWorkflow::lock( VideoClipWorkflow* cw, void** pp_ret, int size
void
VideoClipWorkflow
::
unlock
(
VideoClipWorkflow
*
cw
,
void
*
buffer
,
int
width
,
int
height
,
int
bpp
,
int
size
)
{
qDebug
()
<<
"size on unlock:"
<<
size
;
Q_UNUSED
(
buffer
);
Q_UNUSED
(
width
);
Q_UNUSED
(
height
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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