Commit graph

79 commits

Author SHA1 Message Date
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
Edgard Lima
30f55f67f4 Add more tags mapping.
Original commit message from CVS:
Add more tags mapping.
2008-02-05 17:10:11 +00:00
Tim-Philipp Müller
0aedb33d14 ext/metadata/gstmetadatademux.c: Demote metadatademux to GST_RANK_NONE for the release, it's not ready to be autoplug...
Original commit message from CVS:
* ext/metadata/gstmetadatademux.c:
Demote metadatademux to GST_RANK_NONE for the release, it's not
ready to be autoplugged yet.
* tests/icles/metadata_editor.c:
Fix printf format warning for GType on ppc32 by removing it,
since it doesn't make sense to print the GType value anyway.
2008-02-02 23:25:10 +00:00
Edgard Lima
5aa73f078a Map more Exif tags.
Original commit message from CVS:
Map more Exif tags.
2008-02-02 20:22:19 +00:00
Edgard Lima
7a44301116 Add documentation.
Original commit message from CVS:
Add documentation.
2008-01-31 21:55:44 +00:00
Wim Taymans
4f2db55e29 ext/metadata/metadataparsejpeg.c: Fix compilation.
Original commit message from CVS:
* ext/metadata/metadataparsejpeg.c: (metadataparse_jpeg_reading):
Fix compilation.
2008-01-31 17:20:41 +00:00
Sebastian Dröge
19407ba0a1 ext/metadata/Makefile.am: Add some relevant variables to CFLAGS and LIBADD, for example our compiler warnings paramters.
Original commit message from CVS:
* ext/metadata/Makefile.am:
Add some relevant variables to CFLAGS and LIBADD, for example our
compiler warnings paramters.
* ext/metadata/gstbasemetadata.c:
(gst_base_metadata_strip_push_buffer),
(gst_base_metadata_calculate_offsets),
(gst_base_metadata_src_event), (gst_base_metadata_sink_activate):
* ext/metadata/gstmetadatademux.c: (gst_metadata_demux_init),
(gst_metadata_demux_set_property), (gst_metadata_demux_dispose):
* ext/metadata/gstmetadatamux.c: (gst_metadata_mux_init),
(gst_metadata_mux_set_property), (gst_metadata_mux_get_property),
(gst_metadata_mux_dispose),
(gst_metadata_mux_create_chunks_from_tags):
* ext/metadata/metadata.c: (metadata_dispose):
* ext/metadata/metadataexif.c:
(metadataparse_exif_content_foreach_entry_func),
(metadatamux_exif_for_each_tag_in_list):
* ext/metadata/metadataiptc.c:
(metadatamux_iptc_for_each_tag_in_list):
* ext/metadata/metadatamuxjpeg.c: (metadatamux_jpeg_lazy_update),
(metadatamux_jpeg_reading):
* ext/metadata/metadatamuxpng.c: (metadatamux_png_reading):
* ext/metadata/metadataparsejpeg.c: (metadataparse_jpeg_reading):
* ext/metadata/metadataparsepng.c:
* ext/metadata/metadataparseutil.h:
* ext/metadata/metadataxmp.c: (metadataparse_xmp_tag_list_add),
(metadatamux_xmp_create_chunk_from_tag_list):
Fix a million warnings that showed up after the above change.
2008-01-31 10:16:46 +00:00
Sebastian Dröge
65d96c7063 Fix build with exempi >= 1.99.5 and fix the include path for exempi.
Original commit message from CVS:
* configure.ac:
* ext/metadata/metadataxmp.c:
(metadatamux_xmp_for_each_tag_in_list):
Fix build with exempi >= 1.99.5 and fix the include
path for exempi.
2008-01-30 19:19:33 +00:00
Edgard Lima
8473ffb754 Just uptade the ToDo list.
Original commit message from CVS:
Just uptade the ToDo list.
2008-01-30 16:53:40 +00:00
Edgard Lima
b043a6f5e1 Add documentation. Speed up a bit png muxer. Fix xmp muxer.
Original commit message from CVS:
Add documentation. Speed up a bit png muxer. Fix xmp muxer.
2008-01-30 16:05:24 +00:00
Edgard Lima
1159638102 Add documentation. Fix test app compilation. Fix pull mode.
Original commit message from CVS:
Add documentation. Fix test app compilation. Fix pull mode.
2008-01-30 12:56:51 +00:00
Stefan Kost
96f0a4d0c0 ext/metadata/README: Formatting.
Original commit message from CVS:
* ext/metadata/README:
Formatting.
* tests/icles/metadata_editor.c:
Include stdlib.h.
2008-01-29 07:43:28 +00:00
Edgard Lima
9e31b57dc3 Add lot of documentation.
Original commit message from CVS:
Add lot of documentation.
2008-01-25 17:45:28 +00:00
Edgard Lima
90f78abd15 Add some documentation.
Original commit message from CVS:
Add some documentation.
2008-01-23 16:35:34 +00:00