Commit graph

1014 commits

Author SHA1 Message Date
Wouter Cloetens
4632459428 ext/soup/gstsouphttpsrc.*: Add support for seeking to souphttpsrc. Fixes bug #502335.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_create),
(gst_souphttp_src_is_seekable), (gst_souphttp_src_do_seek),
(soup_add_range_header), (soup_got_headers), (soup_got_chunk):
* ext/soup/gstsouphttpsrc.h:
Add support for seeking to souphttpsrc. Fixes bug #502335.
2008-01-18 05:24:39 +00:00
Edgard Lima
63490f4b48 Fixed adding EXIF tags to correct IFD. Mapped some XMP tags.
Original commit message from CVS:
Fixed adding EXIF tags to correct IFD. Mapped some XMP tags.
2008-01-17 16:10:48 +00:00
David Schleef
412c01ca8d ext/directfb/Makefile.am: Add GST_CFLAGS. Otherwise we don't get -Wall -Werror.
Original commit message from CVS:
* ext/directfb/Makefile.am:
Add GST_CFLAGS.  Otherwise we don't get -Wall -Werror.
* ext/directfb/dfbvideosink.c:
Getting tired of directfb's chatter.  Quiet it.
2008-01-06 22:35:31 +00:00
Sebastian Dröge
815666e762 Update to GMemoryInputStream API changes in GLib SVN and require gio-2.0 >= 2.15.1 for this. Fixes bug #507584.
Original commit message from CVS:
* configure.ac:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_get_size):
* tests/check/pipelines/gio.c: (free_input), (GST_START_TEST):
Update to GMemoryInputStream API changes in GLib SVN and require
gio-2.0 >= 2.15.1 for this. Fixes bug #507584.
We can also report the duration for every GSeekable, not only
GFileInputStream and GMemoryInputStream.
2008-01-06 16:36:32 +00:00
David Schleef
7181404703 ext/musicbrainz/gsttrm.c: Don't emit signiture when going to READY, because it might not be ready.
Original commit message from CVS:
* ext/musicbrainz/gsttrm.c:
Don't emit signiture when going to READY, because it might
not be ready.
* ext/nas/nassink.c:
Remove useless call that sleeps for 5 seconds.  Yup, it calls
sleep(1) 5 times.  Go NAS.
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfbdecoder.c:
Initialize our debug categories properly.
* gst/rawparse/gstrawparse.c:
Don't register element details for a non-element.  Be much more
rude when subclass doesn't set a pad template (assert!).  Don't
unref the pad template; we don't own it.
* gst/videosignal/gstvideoanalyse.c:
Initialize debug category.
* tests/check/Makefile.am:
Ignore nassink element in tests because it has unavoidable
long timeouts.
2008-01-01 01:18:19 +00:00
Sebastian Dröge
73cc44a5e8 Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x an...
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_get_property):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_show_frame):
* gst/mve/gstmvemux.c: (gst_mve_mux_request_new_pad):
* sys/dvb/dvbbasebin.c: (dvb_base_bin_class_init):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x and don't
abort() in any case but properly report the error.
2007-12-29 17:31:49 +00:00
Sebastian Dröge
d56ba2c780 Update to latest API changes in GLib/GIO and require at least gio-2.0 2.15.0 for this.
Original commit message from CVS:
* configure.ac:
* ext/gio/gstgio.c:
* ext/gio/gstgio.h:
* ext/gio/gstgiobasesink.h:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_get_size):
* ext/gio/gstgiobasesrc.h:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.h:
* ext/gio/gstgiostreamsink.h:
* ext/gio/gstgiostreamsrc.h:
* tests/check/pipelines/gio.c:
Update to latest API changes in GLib/GIO and require at least
gio-2.0 2.15.0 for this.
* ext/gio/Makefile.am:
Add GST_PLUGIN_LDFLAGS to LDFLAGS.
2007-12-29 17:29:17 +00:00
Tim-Philipp Müller
07e3e6e2bd ext/soup/: Use gst_tag_freeform_string_to_utf8() and post radio station info as tags on the bus.
Original commit message from CVS:
* ext/soup/Makefile.am:
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_get_property),
(gst_souphttp_src_unicodify), (soup_got_headers):
Use gst_tag_freeform_string_to_utf8() and post radio station
info as tags on the bus.
2007-12-28 11:44:28 +00:00
Edgard Lima
21962cbffe Some IPTC tags mapped.
Original commit message from CVS:
Some IPTC tags mapped.
2007-12-21 19:01:00 +00:00
Edgard Lima
0f2ac9fe8b Removed gstmetadatacommon.
Original commit message from CVS:
Removed gstmetadatacommon.
2007-12-21 09:45:56 +00:00
Edgard Lima
1007d71503 New base class for metadata elements.
Original commit message from CVS:
New base class for metadata elements.
2007-12-19 09:50:47 +00:00
Edgard Lima
0058a7b30c Added "parse-only" property to metadatademux.
Original commit message from CVS:
Added "parse-only" property to metadatademux.
2007-12-17 12:37:36 +00:00
Edgard Lima
b2a023be7b Added new module for common functions. Using GST_TYPE_FRACTION for Exif (S)Rational types.
Original commit message from CVS:
Added new module for common functions. Using GST_TYPE_FRACTION for Exif (S)Rational types.
2007-12-14 18:18:37 +00:00
Edgard Lima
7bc241beb0 Code documentation.
Original commit message from CVS:
Code documentation.
2007-12-13 17:19:54 +00:00
Edgard Lima
334b512629 Added a test application. Added some EXIF tags. Fixed a muxer bug.
Original commit message from CVS:
Added a test application. Added some EXIF tags. Fixed a muxer bug.
2007-12-13 12:45:06 +00:00
Sebastian Dröge
4d9802a3ac ext/dts/gstdtsdec.*: Add support for "audio/x-private1-dts" as used by flupsparse. Most changes adapted from a52dec.
Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_init),
(gst_dtsdec_sink_setcaps), (gst_dtsdec_chain_raw),
(gst_dtsdec_chain):
* ext/dts/gstdtsdec.h:
Add support for "audio/x-private1-dts" as used by flupsparse. Most
changes adapted from a52dec.
2007-12-12 04:11:15 +00:00
Wouter Cloetens
a1ced2746d ext/soup/gstsouphttpsrc.*: Do not try to unpause I/O in the "queued" state.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (_do_init),
(gst_souphttp_src_class_init), (gst_souphttp_src_init),
(gst_souphttp_src_dispose), (gst_souphttp_src_set_property),
(gst_souphttp_src_get_property), (unicodify),
(gst_souphttp_src_unicodify), (gst_souphttp_src_create),
(gst_souphttp_src_start), (gst_souphttp_src_stop),
(gst_souphttp_src_unlock), (gst_souphttp_src_unlock_stop),
(gst_souphttp_src_get_size), (gst_souphttp_src_is_seekable),
(soup_got_headers), (soup_got_body), (soup_finished),
(soup_got_chunk), (soup_response), (soup_parse_status),
(gst_souphttp_src_uri_get_type),
(gst_souphttp_src_uri_get_protocols),
(gst_souphttp_src_uri_get_uri), (gst_souphttp_src_uri_set_uri),
(gst_souphttp_src_uri_handler_init):
* ext/soup/gstsouphttpsrc.h:
Do not try to unpause I/O in the "queued" state.
Reorganise a bunch of things and cleanups.
Uses G_GUINT64_FORMAT instead of hard-coding %llu.
See #502335.
2007-12-11 16:39:39 +00:00
Wim Taymans
370882482a ext/x264/gstx264enc.c: Fix caps memleak.
Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps):
Fix caps memleak.
2007-12-11 16:26:07 +00:00
Edgard Lima
8152bfe972 Added some tags to exif parser.
Original commit message from CVS:
Added some tags to exif parser.
2007-12-05 17:00:59 +00:00
Edgard Lima
f44ca529d7 Now compiles even when libiptc is missing.
Original commit message from CVS:
Now compiles even when libiptc is missing.
2007-12-04 17:20:25 +00:00
Edgard Lima
cf4c5c9655 Fixed element properties and now muxer writes to png also.
Original commit message from CVS:
Fixed element properties and now muxer writes to png also.
2007-12-04 16:42:25 +00:00
Edgard Lima
e415aeeb4f Muxer writes (in jpeg only) whole IPTC chunk sent as tag. Muxer implemets GstTagSetter interface.
Original commit message from CVS:
Muxer writes (in jpeg only) whole IPTC chunk sent as tag. Muxer implemets GstTagSetter interface.
2007-12-03 16:14:01 +00:00
Edgard Lima
d5ad427c73 Muxer writes (in jpeg only) whole EXIF and XMP chunks sent as tags.
Original commit message from CVS:
Muxer writes (in jpeg only) whole EXIF and XMP chunks sent as tags.
2007-11-30 18:30:12 +00:00
Edgard Lima
794ad7ca1b Fixed get_range bug when injecting and stripping. And mux is almost done now.
Original commit message from CVS:
Fixed get_range bug when injecting and stripping. And mux is almost done now.
2007-11-30 12:53:13 +00:00
Wouter Cloetens
17cd697aa0 configure.ac: Bump libsoup requirement as libsoup does not support async client operation prior to version 2.2.104 an...
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* configure.ac:
Bump libsoup requirement as libsoup does not support async client
operation prior to version 2.2.104 and it has some leaks.
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_dispose),
(gst_souphttp_src_set_property), (gst_souphttp_src_create),
(gst_souphttp_src_start), (gst_souphttp_src_stop),
(gst_souphttp_src_unlock), (gst_souphttp_src_unlock_stop),
(gst_souphttp_src_get_size), (soup_got_headers), (soup_got_body),
(soup_finished), (soup_got_chunk), (soup_response),
(soup_session_close):
* ext/soup/gstsouphttpsrc.h:
Implement unlock().
Picks up the size from the Content-Length header and emit a duration
message.
Don't leak the GMainContext object.
Fixes #500099.
2007-11-29 10:49:18 +00:00
Wim Taymans
e8af48c02b ext/alsaspdif/alsaspdifsink.c: Don't free uninitialized data when we are in error.
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.c: (alsaspdifsink_set_caps),
(alsaspdifsink_get_time), (alsaspdifsink_set_params),
(alsaspdifsink_find_pcm_device):
Don't free uninitialized data when we are in error.
2007-11-29 10:44:54 +00:00
Edgard Lima
14da2ceef5 Sending make and model individual tags and muxer now links fine.
Original commit message from CVS:
Sending make and model individual tags and muxer now links fine.
2007-11-28 14:03:35 +00:00
Edgard Lima
c1e6c76cdb Small fixes in get_range and better structure for generic muxer and demuxer.
Original commit message from CVS:
Small fixes in get_range and better structure for generic muxer and demuxer.
2007-11-28 08:13:52 +00:00
Edgard Lima
fcebc2b4f5 Now works when get_range is not available upstream.
Original commit message from CVS:
Now works when get_range is not available upstream.
2007-11-26 09:38:24 +00:00
Stefan Kost
37d4958fca ext/dc1394/gstdc1394.c: Set initial structure name to fix assertion, due to recent caps name constraints.
Original commit message from CVS:
* ext/dc1394/gstdc1394.c:
Set initial structure name to fix assertion, due to recent caps name
constraints.
2007-11-25 10:12:09 +00:00
Edgard Lima
1cb35c7574 Now parser is generic (just add/remove a list of chunks). And a template of muxer has been created.
Original commit message from CVS:
Now parser is generic (just add/remove a list of chunks). And a template of muxer has been created.
2007-11-23 17:35:21 +00:00
Wim Taymans
1b2fa58301 ext/faac/gstfaac.c: Don't try to flush the decoder on EOS when it was not initialized.
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_sink_event):
Don't try to flush the decoder on EOS when it was not initialized.
Fixes #498667
2007-11-21 09:45:41 +00:00
Julien Moutte
6691ae01e2 ext/sdl/sdlaudiosink.c: Fix build on Mac OS X. (missing format parameter)
Original commit message from CVS:
2007-11-21  Julien Moutte  <julien@fluendo.com>

* ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_write): Fix build
on Mac OS X. (missing format parameter)
2007-11-21 09:40:08 +00:00
Edgard Lima
ac04e0124b Fixed buffer strip (safer wil pull and after seek).
Original commit message from CVS:
Fixed buffer strip (safer wil pull and after seek).
2007-11-19 22:09:36 +00:00
Edgard Lima
dcb8f93e76 Strip out in pull mode also. Seek and Query functions added.
Original commit message from CVS:
Strip out in pull mode also. Seek and Query functions added.
2007-11-19 13:05:23 +00:00
Edgard Lima
a7a580dd58 Strip out metadata chunks.
Original commit message from CVS:
Strip out metadata chunks.
2007-11-18 21:06:51 +00:00
Wouter Paesen
0830d14b27 ext/soundtouch/gstpitch.cc: Handle seeking correctly. Fixes #461068.
Original commit message from CVS:
Patch by: Wouter Paesen <wouter at blue-gate dot be>
* ext/soundtouch/gstpitch.cc:
Handle seeking correctly. Fixes #461068.
2007-11-15 18:53:56 +00:00
Michael Kötter
610f0bde4c ext/alsaspdif/alsaspdifsink.c: Fix sample rate and clocking.
Original commit message from CVS:
Patch by: Michael Kötter <m dot koetter at oraise dot de>
* ext/alsaspdif/alsaspdifsink.c: (alsaspdifsink_set_caps),
(alsaspdifsink_get_time), (alsaspdifsink_open),
(alsaspdifsink_set_params), (alsaspdifsink_delay), (plugin_init):
Fix sample rate and clocking.
Remove buffer_time and period_time as this seems to break on some
hardware. Fixes #485462.
2007-11-15 18:41:31 +00:00
Wouter Cloetens
03d8e595a0 Added HTTP source based on libsoup. Fixes #497020.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* configure.ac:
* ext/Makefile.am:
* ext/soup/Makefile.am:
* ext/soup/gstsouphttpsrc.c: (_do_init),
(gst_souphttp_src_base_init), (gst_souphttp_src_class_init),
(gst_souphttp_src_init), (gst_souphttp_src_dispose),
(gst_souphttp_src_set_property), (gst_souphttp_src_get_property),
(gst_souphttp_src_create), (gst_souphttp_src_start),
(gst_souphttp_src_stop), (gst_souphttp_src_unlock),
(gst_souphttp_src_set_location), (soup_got_chunk), (soup_response),
(soup_session_close), (plugin_init):
* ext/soup/gstsouphttpsrc.h:
Added HTTP source based on libsoup. Fixes #497020.
2007-11-15 17:26:25 +00:00
Edgard Lima
8b2cf9ce12 Added a design proposal from metadata parse and mux.
Original commit message from CVS:
Added a design proposal from metadata parse and mux.
2007-11-12 17:27:03 +00:00
Edgard Lima
912538f37a Extracting more detailed info from XMP.
Original commit message from CVS:
Extracting more detailed info from XMP.
2007-11-09 15:53:13 +00:00
Sebastian Dröge
da1b2a0a6f ext/gio/gstgio.h: Add macro to check if a stream supports seeking.
Original commit message from CVS:
* ext/gio/gstgio.h:
Add macro to check if a stream supports seeking.
* ext/gio/Makefile.am:
* ext/gio/gstgiobasesink.c: (gst_gio_base_sink_base_init),
(gst_gio_base_sink_class_init), (gst_gio_base_sink_init),
(gst_gio_base_sink_finalize), (gst_gio_base_sink_start),
(gst_gio_base_sink_stop), (gst_gio_base_sink_unlock),
(gst_gio_base_sink_unlock_stop), (gst_gio_base_sink_event),
(gst_gio_base_sink_render), (gst_gio_base_sink_query),
(gst_gio_base_sink_set_stream):
* ext/gio/gstgiobasesink.h:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_base_init),
(gst_gio_base_src_class_init), (gst_gio_base_src_init),
(gst_gio_base_src_finalize), (gst_gio_base_src_start),
(gst_gio_base_src_stop), (gst_gio_base_src_get_size),
(gst_gio_base_src_is_seekable), (gst_gio_base_src_unlock),
(gst_gio_base_src_unlock_stop), (gst_gio_base_src_check_get_range),
(gst_gio_base_src_create), (gst_gio_base_src_set_stream):
* ext/gio/gstgiobasesrc.h:
Refactor common GIO functions to GstGioBaseSink and GstGioBaseSrc
base classes that only require a GInputStream or GOutputStream to
work.
* ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
(gst_gio_sink_class_init), (gst_gio_sink_init),
(gst_gio_sink_finalize), (gst_gio_sink_start):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
(gst_gio_src_class_init), (gst_gio_src_init),
(gst_gio_src_finalize), (gst_gio_src_start):
* ext/gio/gstgiosrc.h:
Use the newly created base classes here.
* ext/gio/gstgio.c: (plugin_init):
* ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_base_init),
(gst_gio_stream_sink_class_init), (gst_gio_stream_sink_init),
(gst_gio_stream_sink_finalize), (gst_gio_stream_sink_set_property),
(gst_gio_stream_sink_get_property):
* ext/gio/gstgiostreamsink.h:
* ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_base_init),
(gst_gio_stream_src_class_init), (gst_gio_stream_src_init),
(gst_gio_stream_src_finalize), (gst_gio_stream_src_set_property),
(gst_gio_stream_src_get_property):
* ext/gio/gstgiostreamsrc.h:
Implement GstGioStreamSink and GstGioStreamSrc that have a property
to set the GInputStream/GOutputStream that should be used.
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/gio.c: (message_handler), (GST_START_TEST),
(gio_testsuite), (main):
Add unit test for giostreamsrc and giostreamsink.
2007-11-07 15:18:54 +00:00
Sebastian Dröge
3b310c00eb ext/gio/gstgio.c: Remove nowadays unnecessary workaround for a crash.
Original commit message from CVS:
* ext/gio/gstgio.c: (plugin_init):
Remove nowadays unnecessary workaround for a crash.
* ext/gio/gstgiosink.c: (gst_gio_sink_finalize),
(gst_gio_sink_start), (gst_gio_sink_stop),
(gst_gio_sink_unlock_stop):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.c: (gst_gio_src_finalize), (gst_gio_src_start),
(gst_gio_src_stop), (gst_gio_src_unlock_stop):
* ext/gio/gstgiosrc.h:
Make the finalize function safer, clean up everything that could stay
around.
Reset the cancellable instead of creating a new one after cancelling
some operation.
Don't store the GFile in the element, it's only necessary for creating
the streams.
2007-11-07 11:48:09 +00:00
Edgard Lima
f17824d0d1 Added support for PNG/XMP. Indentation. And fixed pull mode to parse the file.
Original commit message from CVS:
Added support for PNG/XMP. Indentation. And fixed pull mode to parse the file.
2007-11-02 16:50:42 +00:00
Edgard Lima
05e1fdf681 Now metadataparse works in push or pull mode.
Original commit message from CVS:
Now metadataparse works in push or pull mode.
2007-11-02 12:03:04 +00:00
Edgard Lima
929954f595 Some XMP stuff added.
Original commit message from CVS:
Some XMP stuff added.
2007-11-01 16:04:29 +00:00
Edgard Lima
5888898c57 Now sending iptc tag in whole chunk. Ready to also send exif and xmp in the same way (look at bug #486659).
Original commit message from CVS:
Now sending iptc tag in whole chunk. Ready to also send exif and xmp in the same way (look at bug #486659).
2007-10-31 16:21:02 +00:00
Edgard Lima
fb4dbf8ae5 Changed kclass to "Parser/Extracter/Metadata", changed caps to "image/jpeg, tags-extract=true/false" and changed prio...
Original commit message from CVS:
Changed kclass to "Parser/Extracter/Metadata", changed caps to "image/jpeg, tags-extract=true/false" and changed priority to GST_RANK_PRIMARY+1. Also, srcpad can only work in push mode until fixed to also work in pull mode.
2007-10-30 18:21:22 +00:00
Edgard Lima
6836fdea83 Created new plugin ('medadata') and element ('metadataparse') that extract metadata from images (look at bug #486659).
Original commit message from CVS:
Created new plugin ('medadata') and element ('metadataparse') that extract metadata from images (look at bug #486659).
2007-10-30 12:49:04 +00:00
Tim-Philipp Müller
5e3b2d2bf6 ext/faac/gstfaac.c: Fix bitrate ranges and change enum nick for low complexity profile from LOW to LC for consistency...
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_profile_get_type),
(gst_faac_class_init), (gst_faac_init):
Fix bitrate ranges and change enum nick for low complexity
profile from LOW to LC for consistency (#490060).
2007-10-28 15:22:06 +00:00