Commit graph

1040 commits

Author SHA1 Message Date
Sebastian Dröge
246b1ee7cf ext/gio/: Use async variants of the close stream functions to prevent blocking for a long time there and add some mor...
Original commit message from CVS:
* ext/gio/gstgiobasesink.c: (close_stream_cb),
(gst_gio_base_sink_stop), (gst_gio_base_sink_event),
(gst_gio_base_sink_render), (gst_gio_base_sink_set_stream):
* ext/gio/gstgiobasesrc.c: (close_stream_cb),
(gst_gio_base_src_stop), (gst_gio_base_src_create),
(gst_gio_base_src_set_stream):
Use async variants of the close stream functions to prevent blocking
for a long time there and add some more sanity checks for a correct
stream.
2008-01-30 15:34:25 +00:00
Wouter Cloetens
ee5bc19281 ext/soup/gstsouphttpsrc.c: Let the proxy property default to the content of the $http_proxy environment variable.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_init):
Let the proxy property default to the content of the $http_proxy
environment variable.
2008-01-30 13:29:15 +00:00
Wouter Cloetens
c5058eae62 docs/plugins/: Add souphttpsrc to the docs.
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Add souphttpsrc to the docs.
* configure.ac:
* 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_get_property),
(gst_souphttp_src_cancel_message),
(gst_souphttp_src_queue_message),
(gst_souphttp_src_add_range_header),
(gst_souphttp_src_session_unpause_message),
(gst_souphttp_src_session_pause_message),
(gst_souphttp_src_session_close),
(gst_souphttp_src_got_headers_cb), (gst_souphttp_src_got_body_cb),
(gst_souphttp_src_finished_cb), (gst_souphttp_src_got_chunk_cb),
(gst_souphttp_src_response_cb), (gst_souphttp_src_parse_status),
(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), (gst_souphttp_src_do_seek),
(gst_souphttp_src_set_location), (gst_souphttp_src_set_proxy),
(plugin_init):
* ext/soup/gstsouphttpsrc.h:
Add support for libsoup2.4 and require it. Also implement redirection
and manual proxy specification. Fixes bug #510708.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/souphttpsrc.c:
Add unit test for souphttpsrc.
2008-01-30 13:06:01 +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
Sebastian Dröge
de592925a7 ext/mpeg2enc/gstmpeg2enc.cc: Define LOG_NONE and friends if they're not defined yet. mjpegtools 1.9.0rc3 removed thei...
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc:
Define LOG_NONE and friends if they're not defined yet. mjpegtools
1.9.0rc3 removed their definitions but without it doesn't make much
sense to write a log handler.
2008-01-29 18:05:01 +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
Sebastian Dröge
e6e86c4f2d ext/soundtouch/gstbpmdetect.cc: Clean up a bit and only allocate a temporary buffer for the data if processing stereo...
Original commit message from CVS:
* ext/soundtouch/gstbpmdetect.cc:
Clean up a bit and only allocate a temporary buffer for the data
if processing stereo data as BPMDetect downmixes from stereo to
mono and stores the result in the input data. Thanks to
Stefan Kost for the suggestions.
2008-01-28 11:47:18 +00:00
Sebastian Dröge
b0c8b0f322 ext/soundtouch/gstpitch.cc: Cast a double to a GstClockTimeDiff to fix a compiler warning.
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
Cast a double to a GstClockTimeDiff to fix a compiler warning.
2008-01-27 17:02:24 +00:00
Sebastian Dröge
7fa405c9c9 ext/soundtouch/gstpitch.cc: Don't send a LATENCY event for now until we get the usage right.
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
Don't send a LATENCY event for now until we get the usage right.
2008-01-27 07:51:06 +00:00
Sebastian Dröge
26b4a028d9 ext/soundtouch/gstpitch.*: Implement LATENCY query and notify about latency changes.
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
* ext/soundtouch/gstpitch.hh:
Implement LATENCY query and notify about latency changes.
Unfortunately we don't have a fixed latency but it changes
a bit with each buffer so we only send an LATENCY event with
the maximum latency if it changes.
Always calculate the timestamp, duration, etc from the sample
rate instead of using a pre-calculated duration for one sample
to prevent large rounding errors.
2008-01-27 07:37:40 +00:00
Sebastian Dröge
5b791c2ce5 Add support for building against mjpegtools 1.9 while keeping compatiblity with older versions.
Original commit message from CVS:
Based on a patch by:
Hans de Goede <j dot w dot r dot degoede at hhs dot nl>
* configure.ac:
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.hh:
Add support for building against mjpegtools 1.9 while keeping
compatiblity with older versions.
2008-01-27 07:32:19 +00:00
Sebastian Dröge
1a787a0cb2 ext/soundtouch/gstbpmdetect.cc: Only consider a BPM value above 1.0 as valid.
Original commit message from CVS:
* ext/soundtouch/gstbpmdetect.cc:
Only consider a BPM value above 1.0 as valid.
2008-01-27 06:31:52 +00:00
Sebastian Dröge
27fbdb97d1 ext/soundtouch/: Add BPM detection plugin based on SoundTouch's libBPM.
Original commit message from CVS:
* ext/soundtouch/Makefile.am:
* ext/soundtouch/gstbpmdetect.cc:
* ext/soundtouch/gstbpmdetect.hh:
* ext/soundtouch/plugin.c: (plugin_init):
Add BPM detection plugin based on SoundTouch's libBPM.
* ext/soundtouch/gstpitch.cc:
Allow sample rates until MAX instead of only 48kHz and remove the
buffer-frames field from that caps.
Clear the remaining samples completely when necessary to get into
a clean state again.
2008-01-27 05:56:04 +00:00
Sebastian Dröge
b05b9d04d6 ext/soundtouch/gstpitch.cc: Allow seeking only in TIME and DEFAULT format, other formats will not work as expected. A...
Original commit message from CVS:
* ext/soundtouch/gstpitch.cc:
Allow seeking only in TIME and DEFAULT format, other formats will
not work as expected. Also handle a stop position of -1 correctly
for seeks, newsegment events and the queries. This fixes playback
with the pitch element if upstream doesn't know the duration or has
-1 as stop position in NEWSEGMENT events for other reasons. Before
simply nothing was played as the segment was going from 0 to 0.
Send a GST_MESSAGE_DURATION whenever the rate or tempo is changed
so applications can update their cached duration. Fixes bug #503308.
Some random cleanup and memory leak closing.
2008-01-26 15:12:50 +00:00
Sebastian Dröge
82dc68af48 ext/musepack/: First include the libmpcdec headers before everything else as they #define TRUE and FALSE unconditiona...
Original commit message from CVS:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c:
First include the libmpcdec headers before everything else as they
#define TRUE and FALSE unconditionally and we otherwise get conflicts
with the ones that GLib defines.
2008-01-26 14:35:22 +00:00
Sebastian Dröge
23a2e7d7ad Add support for libsoundtouch 1.3.1 and add an ugly workaround for the header definined PACKAGE and other variables f...
Original commit message from CVS:
* configure.ac:
* ext/soundtouch/gstpitch.cc:
Add support for libsoundtouch 1.3.1 and add an ugly workaround for
the header definined PACKAGE and other variables for which we need
our own values from config.h.
2008-01-26 13:24:17 +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
Stefan Kost
0f0a72f78b docs/plugins/: Now we have full hierarchy.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
Now we have full hierarchy.
* docs/plugins/inspect/plugin-metadata.xml:
Regenerate.
* ext/amrwb/gstamrwbdec.h:
Add doc blob for object instance.
2008-01-24 13:23:03 +00:00
Edgard Lima
90f78abd15 Add some documentation.
Original commit message from CVS:
Add some documentation.
2008-01-23 16:35:34 +00:00
Sebastian Dröge
59c9a6a6bd Add support for building against libdca (with the libdts compat header). Fixes bug #511530.
Original commit message from CVS:
* configure.ac:
* ext/dts/gstdtsdec.c:
Add support for building against libdca (with the libdts compat
header). Fixes bug #511530.
Should probably be ported to libdca as some points as it's the
successor of libdts.
2008-01-23 15:51:20 +00:00
Stefan Kost
274a5b1f9c docs/plugins/: Regenerate.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-musepack.xml:
Regenerate.
* docs/plugins/inspect/plugin-tremor.xml:
Add vorbisidec aka trmor.
* ext/dc1394/gstdc1394.c:
Add short description.
2008-01-22 12:06:19 +00:00
Stefan Kost
670db4aade docs/plugins/Makefile.am: Add missing eol \
Original commit message from CVS:
* docs/plugins/Makefile.am:
Add missing eol \
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Place object names to standard sectionas plugin dont document those.
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-dvb.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
regenerate.
* ext/ivorbis/vorbisdec.c:
* ext/ivorbis/vorbisdec.h:
Mark private vars and add short desc.
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
Add short desc.
2008-01-22 09:55:23 +00:00
Stefan Kost
cb1684abec Coherent namespace usage and adding symbold from unused to sections.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* ext/theora/theoradec.c:
* ext/theora/theoradec.h:
Coherent namespace usage and adding symbold from unused to sections.
2008-01-21 10:06:08 +00:00
Wouter Cloetens
e1e93d1510 ext/soup/gstsouphttpsrc.c: Report the size of the stream as the total size instead of the remaining Content-Length, w...
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (soup_got_headers):
Report the size of the stream as the total size instead of
the remaining Content-Length, which is wrong after a seek.
2008-01-20 05:07:52 +00:00
Wouter Cloetens
ec7388ffa3 ext/soup/gstsouphttpsrc.c: Correctly set duration on the GstBaseSrc segment when we know it to fix failing the durati...
Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* ext/soup/gstsouphttpsrc.c: (soup_got_headers):
Correctly set duration on the GstBaseSrc segment when we know it
to fix failing the duration query.
2008-01-19 14:34:50 +00:00
Sebastian Dröge
82b7cfd662 ext/soup/gstsouphttpsrc.c: Add support for WebDAV.
Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_uri_get_protocols):
Add support for WebDAV.
2008-01-18 05:32:26 +00:00
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