Commit graph

92 commits

Author SHA1 Message Date
Sebastian Dröge
4196f9290f metadata: Another workaround for enum values that are not actually member of the enum 2010-04-15 21:44:23 +02:00
Benjamin Otte
9b42d839e3 metadata: fix crash when converting units
x/y-resolution are fractions, so setting them using float values is not
a good idea.

https://bugzilla.redhat.com/show_bug.cgi?id=577655
2010-04-07 11:23:59 +02:00
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
b7655bbd2e Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Thiago Santos
c5034a716d metadata: Remove _XMP_GEO_* tags
Removes GST_TAG_XMP_GEO_LOCATION_COUNTRY,
GST_TAG_XMP_GEO_LOCATION_CITY and
GST_TAG_XMP_GEO_LOCATION_SUBLOCATION from metadata's
private tags as those are now present at -core tags.

Fixes #612410
2010-03-11 15:46:21 -03:00
Stefan Kost
d882207cc2 metadata: don't check for NULL when calling g_free.
g_free does the check already. Also small code logic cleanup and whitespace fix.
2010-03-11 11:29:16 +02:00
Stefan Kost
1370d1f3d6 metadata: remove empty setter/getter vmethod implementations 2010-03-11 11:28:14 +02:00
Stefan Kost
9f3b7647d8 metadata: update bug status 2010-03-11 10:36:27 +02:00
Mark Nauwelaerts
a6ba273e36 metadata: append_sorted should really append sorted
... which means that identical offset_orig should preserve the order
in which they are appended.
2010-02-05 10:21:22 +01:00
Mark Nauwelaerts
5f4f24fb76 metadata: use a non-DEFAULT proper debug category in helper files 2010-02-05 10:21:19 +01:00
Stefan Kost
990166d1d3 metadata: fix classification 2009-11-24 14:43:01 +02:00
Stefan Kost
c1c0a4b143 metadata: init variables
metadatamux_exif_get_exif_from_tag() does not neccesarily init the passed
variables.
2009-10-11 22:10:04 +03:00
Josep Torra
1826b6a93c metadata: fix warnings in macosx snow leopard 2009-10-11 13:56:43 +02:00
Stefan Kost
27683ead16 metadata: don't copy trailing NULL of strings in xmp metadata
Also useing g_strdup, fixes the malloc <-> g_free mismatch.
2009-10-07 15:43:22 +03:00
Tommi Myöhänen
a1aac3ea77 metadata: change XMP location tags to start with capitals 2009-10-01 18:06:55 +03:00
Tim-Philipp Müller
10d67eda7a GstAdapter is not a GstObject and should be freed with g_object_unref() 2009-08-31 13:14:02 +01:00
Stefan Kost
51e022d288 metadata: don't dereference the pointer before the validity check 2009-07-20 16:42:43 +03:00
Stefan Kost
4307be631d metadata: reset state if there is something to reset
The condition was wrong and as such the element was writing the same tags on subsequent
images if reused.
2009-07-17 15:50:19 +03:00
Zeeshan Ali (Khattak)
1b246c72d1 Add more debug output to metadatamux 2009-07-16 18:15:31 +03:00
Jan Schmidt
4109c2193f metadata: Fix some compiler warnings
Cast some debug string parameters so that they don't cause mismatched
type warnings.
2009-07-15 18:28:47 +01:00
Stefan Kost
b3232301da metadata: fix copy'n'paste in tag description 2009-07-14 10:46:05 +02:00
Stefan Kost
d5b302ffc4 metadata: map more tags and fix reading of xmp tags
Register xmp schemas for photoshop and iptc. Map a few location tags there.
Add more dc tags. Fix reading xmp tag by iteration over known schemas. Add
some more debug logging.
2009-06-22 18:35:21 +03:00
Stefan Kost
f096d6406e metadata: fix conversion of geo coordinates
Coordinate conversion has been verified with exiv2 and some webpages.
Minutes wher totally off and seconds were not used at all.
2009-06-22 13:33:32 +03:00
Tim-Philipp Müller
6eb167a176 Make build without warnings with debugging disabled 2009-06-19 16:21:28 +01:00
Stefan Kost
5540ec23ec metdata: more logging and code cleanups
Sprinkle more debug log statements into the code. Move some repeaded string
constant into header files and use sizeof instead of manually counted bytes. Add
comments.
2009-03-22 21:02:45 +02:00
Stefan Kost
4b3e2b6e4c metadata: fix muxing jfifless jpeg. Fixes #574401
Don't error out when to be muxed jpeg has no jfif, as we can easily
add it.
2009-03-22 21:02:45 +02:00
Stefan Kost
80caa6bf70 metadata: fix include guards 2009-03-22 21:02:45 +02:00
Stefan Kost
fd0f7487dd metadata: rework doc comment 2009-03-22 21:02:45 +02:00
Stefan Kost
772f8f6a8a metadata: cleanup, fix the test, add comments
First do not build the plugin, if we have none of the backend, as it won't work
then. Fix the miniobject_unref error in the test. Sprinkle a first handful of
debug logs into the element code.
2009-03-06 23:38:45 +02:00
Mark Nauwelaerts
6299a62433 metadata: also post error message when returning error 2009-02-12 10:51:20 +01:00
Stefan Kost
93df7379e4 Configure byte order for EXIF. Fixes #568704
Exif blocks can be in differnt byte orders. Add an element property to select wich one should be written.
2009-01-23 15:14:24 +02:00
Stefan Kost
1ea02b7a38 Totally remove the internal taglists and fully use tagsetter. Fixes various tag muxing issues.
Original commit message from CVS:
* ext/celt/gstceltenc.c:
* ext/celt/gstceltenc.h:
* ext/metadata/gstmetadatamux.c:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
Totally remove the internal taglists and fully use tagsetter. Fixes
various tag muxing issues.
2008-12-16 16:26:52 +00:00
Alessandro Decina
a49918b152 ext/metadata/gstbasemetadata.c: Avoid deadlock during pad activation.
Original commit message from CVS:
* ext/metadata/gstbasemetadata.c:
Avoid deadlock during pad activation.
Fixes #561241.
2008-11-18 16:52:11 +00:00
Stefan Kost
a14e8e07df Don't install static libs for plugins. Fixes #550851 for -bad.
Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.
2008-11-04 12:42:30 +00:00
Stefan Kost
87c7a4648b configure.ac
Original commit message from CVS:
* configure.ac
* ext/metadata/README:
* ext/metadata/metadataexif.c:
* ext/metadata/metadatatags.c:
* ext/metadata/metadatatags.h:
Start using core geo tags (bump req). Fix handling of location
references.
* tests/check/Makefile.am:
Sort blacklisted elements and remove moved ones. Add new test.
* tests/check/pipelines/metadata.c:
Add first tests for metadata element.
* tests/icles/metadata_editor.c:
Move free to correct place.
2008-10-06 16:01:49 +00:00
Stefan Kost
2d9d036a18 ext/metadata/: Add mapping of format and mime type to xmp.
Original commit message from CVS:
* ext/metadata/metadata_mapping.htm:
* ext/metadata/metadataxmp.c:
* ext/metadata/Makefile.am:
Add mapping of format and mime type to xmp.
2008-10-03 05:57:58 +00:00
Stefan Kost
df0bfbca26 ext/metadata/: Reverting. Will need to wait for core 0.10.21 release.
Original commit message from CVS:
* ext/metadata/README:
* ext/metadata/metadataexif.c:
* ext/metadata/metadatatags.c:
* ext/metadata/metadatatags.h:
Reverting. Will need to wait for core 0.10.21 release.
2008-10-02 14:42:25 +00:00
Stefan Kost
1d13e695f6 ext/metadata/: Use core gsp tags.
Original commit message from CVS:
* ext/metadata/README:
* ext/metadata/metadataexif.c:
* ext/metadata/metadatatags.c:
* ext/metadata/metadatatags.h:
Use core gsp tags.
2008-10-02 13:52:50 +00:00
Sebastian Dröge
58bc2cae2e ext/: Don't use declarations after statements.
Original commit message from CVS:
Patch by:
Jonathan Rosser <jonathan dot rosser at rd dot bbc dot co dot uk>
* ext/metadata/metadataexif.c: (metadataparse_handle_unit_tags):
* ext/metadata/metadataxmp.c:
(metadataparse_xmp_iter_add_to_tag_list):
* ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_start):
* ext/timidity/gstwildmidi.c: (gst_wildmidi_loop):
Don't use declarations after statements.
2008-07-08 13:28:51 +00:00
Stefan Kost
7960b82a40 ext/metadata/metadataexif.c: Add description tag mapping.
Original commit message from CVS:
* ext/metadata/metadataexif.c:
Add description tag mapping.
2008-06-18 07:02:54 +00:00
Stefan Kost
5a0287dc76 Fix gtk-doc warnings. Also don't misuse api-doc comments for normal comments.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* examples/app/appsrc-ra.c:
* examples/app/appsrc-seekable.c:
* examples/app/appsrc-stream.c:
* examples/app/appsrc-stream2.c:
* ext/directfb/dfbvideosink.h:
* ext/metadata/gstbasemetadata.c:
* ext/metadata/gstbasemetadata.h:
* ext/metadata/metadata.c:
* ext/metadata/metadataexif.c:
* ext/theora/theoradec.h:
* gst/deinterlace2/gstdeinterlace2.h:
* gst/deinterlace2/tvtime/speedy.c:
* gst/deinterlace2/tvtime/speedy.h:
* gst/deinterlace2/tvtime/vfir.c:
Fix gtk-doc warnings. Also don't misuse api-doc comments for normal
comments.
2008-06-18 06:31:13 +00:00
Stefan Kost
15b9246617 Do not use short_description in section docs for elements. We extract them from element details and there will be war...
Original commit message from CVS:
* ext/dc1394/gstdc1394.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/metadata/gstmetadatademux.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* gst-libs/gst/app/gstappsink.c:
* gst/bayer/gstbayer2rgb.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/rawparse/gstaudioparse.c:
* gst/rawparse/gstvideoparse.c:
* gst/rtpmanager/gstrtpbin.c:
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/rtpmanager/gstrtpptdemux.c:
* gst/rtpmanager/gstrtpsession.c:
* gst/rtpmanager/gstrtpssrcdemux.c:
* gst/selector/gstinputselector.c:
* gst/selector/gstoutputselector.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Do not use short_description in section docs for elements. We extract
them from element details and there will be warnings if they differ.
Also fixing up the ChangeLog order.
2008-06-12 14:49:18 +00:00
Edgard Lima
8efb5d2012 Map Date-Time and GPS tags and Convert from EXIF to XMP Datatime as local time (those changes has been done in previo...
Original commit message from CVS:
Map Date-Time and GPS tags and Convert from EXIF to XMP Datatime as local time (those changes has been done in previous comit but had to be revert in 2008-02-10 due to frozen)
2008-02-28 10:41:56 +00:00
Jan Schmidt
7651122651 ext/metadata/Makefile.am: Don't install a header file. We will have to merge these tags into libgsttag after the rele...
Original commit message from CVS:
* ext/metadata/Makefile.am:
Don't install a header file. We will have to merge these
tags into libgsttag after the release and use them from there.
Fixes: #515860
2008-02-12 23:13:55 +00:00
Edgard Lima
88ab47e6c7 Revert changes to 2008-02-09 due to frozen.
Original commit message from CVS:
Revert changes to 2008-02-09 due to frozen.
2008-02-10 21:03:54 +00:00
Edgard Lima
d86770610e Convert from EXIF to XMP DataTime as local time.
Original commit message from CVS:
Convert from EXIF to XMP DataTime as local time.
2008-02-10 18:36:46 +00:00
Edgard Lima
a0254c0e2f Map Date-Time and GPS tags.
Original commit message from CVS:
Map Date-Time and GPS tags.
2008-02-10 04:36:12 +00:00
Edgard Lima
6063b1da97 Add more tags. Improve test app.
Original commit message from CVS:
Add more tags. Improve test app.
2008-02-07 13:59:41 +00:00