After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549814 - [typefind] add application/pdf typefinder
[typefind] add application/pdf typefinder
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 548046
 
 
Reported: 2008-08-29 12:44 UTC by Jonathan Matthew
Modified: 2008-08-30 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pdf typefinder (1.19 KB, patch)
2008-08-29 12:47 UTC, Jonathan Matthew
committed Details | Review

Description Jonathan Matthew 2008-08-29 12:44:25 UTC
I'd like there to be a typefinder for PDF files so rhythmbox can ignore them more easily.
Comment 1 Jonathan Matthew 2008-08-29 12:47:18 UTC
Created attachment 117582 [details] [review]
pdf typefinder

This does the same thing as the string match in shared-mime-info, and it works for the few pdf files I have lying around.
Comment 2 Tim-Philipp Müller 2008-08-30 15:54:53 UTC
Committed, thanks:

 2008-08-30  Tim-Philipp Müller  <tim.muller at collabora co uk>

        Patch by: Jonathan Matthew  <notverysmart gmail com>

        * gst/typefind/gsttypefindfunctions.c: (plugin_init):
          Add typefinder for PDF documents (which is nice to have, since it's a
          common format, but also helps prevent false positives). Fixes #549814.