summaryrefslogtreecommitdiff
path: root/beryl-plugins-vidcap
diff options
context:
space:
mode:
authorwereHamster <wereHamster@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-29 21:58:08 +0000
committerwereHamster <wereHamster@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-29 21:58:08 +0000
commitdc76dd3cc236746e0ac05e6a2913037a4fe8773b (patch)
tree8ce147c03d06d5b03029af111c0d83272df88a28 /beryl-plugins-vidcap
parentf52ed782e20970d347aa173b3fa1f15a22863498 (diff)
downloadmarex-dev-dc76dd3cc236746e0ac05e6a2913037a4fe8773b.tar.gz
marex-dev-dc76dd3cc236746e0ac05e6a2913037a4fe8773b.tar.bz2
capture: load after png to allow to load the watermark image.
git-svn-id: file:///beryl/trunk@3402 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins-vidcap')
-rw-r--r--beryl-plugins-vidcap/capture.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/beryl-plugins-vidcap/capture.c b/beryl-plugins-vidcap/capture.c
index ba1fb42..a8dd8a5 100644
--- a/beryl-plugins-vidcap/capture.c
+++ b/beryl-plugins-vidcap/capture.c
@@ -808,6 +808,10 @@ static void captureFini(CompPlugin * p)
freeDisplayPrivateIndex(displayPrivateIndex);
}
+static CompPluginDep captureDeps[] = {
+ { CompPluginRuleAfter, "png" },
+};
+
static CompPluginVTable captureVTable = {
"capture",
N_("Capture"),
@@ -824,8 +828,8 @@ static CompPluginVTable captureVTable = {
captureSetDisplayOption,
NULL, /* getScreenOptions */
NULL, /* setScreenOption */
- NULL, /* deps */
- 0, /* nDeps */
+ captureDeps,
+ sizeof(captureDeps) / sizeof(captureDeps[0]),
NULL, /* features */
0, /* nFeatures */
BERYL_ABI_INFO, /* version / ABI info */