libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 056ff82e1b305bdca002cb4a4f64b7a861b6ca89
parent e3853cddfbcc012cf4433eef9f2d3901c4bc7188
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 17 May 2006 08:45:42 +0000

0.5.14

Diffstat:
MChangeLog | 2+-
MTODO | 1-
Msrc/plugins/mpegextractor.c | 6++++++
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,6 +1,6 @@ Wed May 17 02:05:37 PDT 2006 Switched mpegextractor to use libmpeg2 (improves correctness, - adds dependency!). + adds dependency!). Releasing libextractor 0.5.14. Tue May 16 20:08:30 PDT 2006 Dramatically improved qt extractor (essentially re-written from diff --git a/TODO b/TODO @@ -10,7 +10,6 @@ Core: * add support for different character sets (to 'all' extractors) 'Unclean' code: -* QT * ASF * RPM diff --git a/src/plugins/mpegextractor.c b/src/plugins/mpegextractor.c @@ -99,6 +99,12 @@ libextractor_mpeg_extract(const char * filename, addKeyword(&prev, "MPEG1", EXTRACTOR_RESOURCE_TYPE); } if (info->gop != NULL) { + /* this usually does not work yet, since gop's are not + often at the beginning of the stream (and we + don't iterate over the stream hoping to find one). + Hence we usually don't get the size. Not sure how + to *efficiently* get the gop (without scanning + through the entire file) */ snprintf(format, 256, "%u:%u:%u (%u frames)", info->gop->hours, info->gop->minutes,