projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2d680
)
add frame skew to ydiff
author
Good Guy
<good1.2guy@gmail.com>
Mon, 30 Jan 2017 21:51:55 +0000
(14:51 -0700)
committer
Good Guy
<good1.2guy@gmail.com>
Mon, 30 Jan 2017 21:51:55 +0000
(14:51 -0700)
cinelerra-5.1/cinelerra/ydiff.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/cinelerra/ydiff.C
b/cinelerra-5.1/cinelerra/ydiff.C
index bb8dda2da23e8a9c5ab530100c759452bacf9fbd..c0322c3949e679bc041b263a52bd87bf84de7112 100644
(file)
--- a/
cinelerra-5.1/cinelerra/ydiff.C
+++ b/
cinelerra-5.1/cinelerra/ydiff.C
@@
-367,6
+367,11
@@
int main(int ac, char **av)
int64_t err = 0;
int frm_no = 0;
+ if( ac>3 && (ret=atoi(av[3])) ) {
+ while( ret > 0 ) { a.read_frame(); --ret; }
+ while( ret < 0 ) { b.read_frame(); ++ret; }
+ }
+
while( !done ) {
AVFrame *ap = a.read_frame();
if( !ap ) break;