aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-08-26 00:43:54 +0000
committerChristian Grothoff <christian@grothoff.org>2012-08-26 00:43:54 +0000
commit9982f36619684b6b089e3ed8e58739680e65ddbc (patch)
tree91771aeeac03490709eca26fc0b735f01f1ef8b3 /src
parent6ce04c08ce03b9c48c6764e662b450ec4c2e004b (diff)
downloadlibextractor-9982f36619684b6b089e3ed8e58739680e65ddbc.tar.gz
libextractor-9982f36619684b6b089e3ed8e58739680e65ddbc.zip
docu updates, improvements to build system
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Makefile.am28
-rw-r--r--src/plugins/test_lib.c4
-rw-r--r--src/plugins/thumbnailffmpeg_extractor.c1
3 files changed, 18 insertions, 15 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 3bfca47..d55b720 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -110,9 +110,11 @@ TEST_JPEG=test_jpeg
110endif 110endif
111 111
112if HAVE_MP4 112if HAVE_MP4
113if HAVE_EXPERIMENTAL
113PLUGIN_MP4=libextractor_mp4.la 114PLUGIN_MP4=libextractor_mp4.la
114TEST_MP4=test_mp4 115TEST_MP4=test_mp4
115endif 116endif
117endif
116 118
117if HAVE_MPEG2 119if HAVE_MPEG2
118PLUGIN_MPEG=libextractor_mpeg.la 120PLUGIN_MPEG=libextractor_mpeg.la
@@ -230,6 +232,19 @@ libtest_la_LIBADD = \
230 $(top_builddir)/src/main/libextractor.la 232 $(top_builddir)/src/main/libextractor.la
231 233
232 234
235libextractor_archive_la_SOURCES = \
236 archive_extractor.c
237libextractor_archive_la_LDFLAGS = \
238 $(PLUGINFLAGS)
239libextractor_archive_la_LIBADD = \
240 -larchive
241
242test_archive_SOURCES = \
243 test_archive.c
244test_archive_LDADD = \
245 $(top_builddir)/src/plugins/libtest.la
246
247
233libextractor_deb_la_SOURCES = \ 248libextractor_deb_la_SOURCES = \
234 deb_extractor.c 249 deb_extractor.c
235libextractor_deb_la_LDFLAGS = \ 250libextractor_deb_la_LDFLAGS = \
@@ -542,19 +557,6 @@ test_sid_LDADD = \
542 $(top_builddir)/src/plugins/libtest.la 557 $(top_builddir)/src/plugins/libtest.la
543 558
544 559
545libextractor_archive_la_SOURCES = \
546 archive_extractor.c
547libextractor_archive_la_LDFLAGS = \
548 $(PLUGINFLAGS)
549libextractor_archive_la_LIBADD = \
550 -larchive
551
552test_archive_SOURCES = \
553 test_archive.c
554test_archive_LDADD = \
555 $(top_builddir)/src/plugins/libtest.la
556
557
558libextractor_thumbnailffmpeg_la_SOURCES = \ 560libextractor_thumbnailffmpeg_la_SOURCES = \
559 thumbnailffmpeg_extractor.c 561 thumbnailffmpeg_extractor.c
560libextractor_thumbnailffmpeg_la_LDFLAGS = \ 562libextractor_thumbnailffmpeg_la_LDFLAGS = \
diff --git a/src/plugins/test_lib.c b/src/plugins/test_lib.c
index df8771a..1dec938 100644
--- a/src/plugins/test_lib.c
+++ b/src/plugins/test_lib.c
@@ -155,10 +155,10 @@ ET_main (const char *plugin_name,
155 fprintf (stderr, 155 fprintf (stderr,
156 "Failed to update my environment, plugin loading may fail: %s\n", 156 "Failed to update my environment, plugin loading may fail: %s\n",
157 strerror (errno)); 157 strerror (errno));
158 ret = run (plugin_name, ps, EXTRACTOR_OPTION_IN_PROCESS); 158 ret = run (plugin_name, ps, EXTRACTOR_OPTION_DEFAULT_POLICY);
159 if (0 != ret) 159 if (0 != ret)
160 return ret; 160 return ret;
161 ret = run (plugin_name, ps, EXTRACTOR_OPTION_DEFAULT_POLICY); 161 ret = run (plugin_name, ps, EXTRACTOR_OPTION_IN_PROCESS);
162 if (0 != ret) 162 if (0 != ret)
163 return ret; 163 return ret;
164 return 0; 164 return 0;
diff --git a/src/plugins/thumbnailffmpeg_extractor.c b/src/plugins/thumbnailffmpeg_extractor.c
index b742431..9c52242 100644
--- a/src/plugins/thumbnailffmpeg_extractor.c
+++ b/src/plugins/thumbnailffmpeg_extractor.c
@@ -716,6 +716,7 @@ thumbnailffmpeg_lib_init (void)
716 } 716 }
717} 717}
718 718
719
719/** 720/**
720 * Destructor for the library, cleans up. 721 * Destructor for the library, cleans up.
721 */ 722 */