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
8fcd7e5f
Commit
8fcd7e5f
authored
Oct 30, 2010
by
Rohit Yadav
Browse files
HACKING: Function's return type on its own line.
parent
2b52d996
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Renderer/WorkflowFileRenderer.cpp
View file @
8fcd7e5f
...
...
@@ -42,7 +42,8 @@ WorkflowFileRenderer::~WorkflowFileRenderer()
}
#endif
void
WorkflowFileRenderer
::
run
(
const
QString
&
outputFileName
,
quint32
width
,
void
WorkflowFileRenderer
::
run
(
const
QString
&
outputFileName
,
quint32
width
,
quint32
height
,
double
fps
,
quint32
vbitrate
,
quint32
abitrate
)
{
...
...
src/Workflow/TrackWorkflow.cpp
View file @
8fcd7e5f
...
...
@@ -376,7 +376,8 @@ TrackWorkflow::getOutput( qint64 currentFrame, qint64 subFrame, bool paused )
return
ret
;
}
void
TrackWorkflow
::
moveClip
(
const
QUuid
&
id
,
qint64
startingFrame
)
void
TrackWorkflow
::
moveClip
(
const
QUuid
&
id
,
qint64
startingFrame
)
{
QWriteLocker
lock
(
m_clipsLock
);
...
...
@@ -425,7 +426,8 @@ TrackWorkflow::clipDestroyed( const QUuid& id )
}
}
Clip
*
TrackWorkflow
::
removeClip
(
const
QUuid
&
id
)
Clip
*
TrackWorkflow
::
removeClip
(
const
QUuid
&
id
)
{
QWriteLocker
lock
(
m_clipsLock
);
...
...
@@ -452,7 +454,8 @@ Clip* TrackWorkflow::removeClip( const QUuid& id )
return
NULL
;
}
ClipWorkflow
*
TrackWorkflow
::
removeClipWorkflow
(
const
QUuid
&
id
)
ClipWorkflow
*
TrackWorkflow
::
removeClipWorkflow
(
const
QUuid
&
id
)
{
QWriteLocker
lock
(
m_clipsLock
);
...
...
@@ -476,7 +479,8 @@ ClipWorkflow* TrackWorkflow::removeClipWorkflow( const QUuid& id )
return
NULL
;
}
void
TrackWorkflow
::
save
(
QXmlStreamWriter
&
project
)
const
void
TrackWorkflow
::
save
(
QXmlStreamWriter
&
project
)
const
{
QReadLocker
lock
(
m_clipsLock
);
...
...
@@ -494,7 +498,8 @@ void TrackWorkflow::save( QXmlStreamWriter& project ) const
project
.
writeEndElement
();
}
void
TrackWorkflow
::
clear
()
void
TrackWorkflow
::
clear
()
{
QWriteLocker
lock
(
m_clipsLock
);
QMap
<
qint64
,
ClipWorkflow
*>::
iterator
it
=
m_clips
.
begin
();
...
...
@@ -510,7 +515,8 @@ void TrackWorkflow::clear()
m_length
=
0
;
}
void
TrackWorkflow
::
adjustClipTime
(
qint64
currentFrame
,
qint64
start
,
ClipWorkflow
*
cw
)
void
TrackWorkflow
::
adjustClipTime
(
qint64
currentFrame
,
qint64
start
,
ClipWorkflow
*
cw
)
{
qint64
nbMs
=
(
currentFrame
-
start
)
/
cw
->
clip
()
->
getMedia
()
->
fps
()
*
1000
;
qint64
beginInMs
=
cw
->
getClipHelper
()
->
begin
()
/
cw
->
clip
()
->
getMedia
()
->
fps
()
*
1000
;
...
...
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