projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d62b9
)
deinterlace: break as soon as non-interlaced if found
author
Thiago Santos
<thiagoss@osg.samsung.com>
Mon, 19 Oct 2015 21:04:56 +0000
(18:04 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Sun, 25 Oct 2015 14:02:34 +0000
(11:02 -0300)
It looks for a non-interlaced entry on the filter caps, break
as soon as one is found to avoid wasting cpu
gst/deinterlace/gstdeinterlace.c
patch
|
blob
|
history
diff --git
a/gst/deinterlace/gstdeinterlace.c
b/gst/deinterlace/gstdeinterlace.c
index
e4aeafa
..
b6704cd
100644
(file)
--- a/
gst/deinterlace/gstdeinterlace.c
+++ b/
gst/deinterlace/gstdeinterlace.c
@@
-2182,6
+2182,7
@@
gst_deinterlace_getcaps (GstDeinterlace * self, GstPad * pad, GstCaps * filter)
if (!interlace_mode || g_strcmp0 (interlace_mode, "progressive") == 0) {
filter_interlaced = FALSE;
+ break;
}
}
}