platform/upstream/gst-plugins-base.git
17 years agogst-libs/gst/audio/gstbaseaudiosink.c: When slaved to the clock, don't try to align...
Wim Taymans [Tue, 2 Oct 2007 11:11:13 +0000 (11:11 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: When slaved to the clock, don't try to align a sample with the previous one wh...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_async_play):
When slaved to the clock, don't try to align a sample with the previous
one when going to PLAYING again.

17 years agotests/examples/snapshot/snapshot.c: Fix the build.
Stefan Kost [Tue, 2 Oct 2007 09:04:03 +0000 (09:04 +0000)]
tests/examples/snapshot/snapshot.c: Fix the build.

Original commit message from CVS:
* tests/examples/snapshot/snapshot.c:
Fix the build.

17 years agoext/gio/gstgiosink.c: Update to API changes in GIO.
Sebastian Dröge [Tue, 2 Oct 2007 07:43:57 +0000 (07:43 +0000)]
ext/gio/gstgiosink.c: Update to API changes in GIO.

Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
Update to API changes in GIO.

17 years agogst-libs/gst/sdp/gstsdpmessage.h: Add RFC 3556 bandwidth modifiers.
Wim Taymans [Mon, 1 Oct 2007 16:33:00 +0000 (16:33 +0000)]
gst-libs/gst/sdp/gstsdpmessage.h: Add RFC 3556 bandwidth modifiers.

Original commit message from CVS:
* gst-libs/gst/sdp/gstsdpmessage.h:
Add RFC 3556 bandwidth modifiers.

17 years agoUpdate documentation.
Wim Taymans [Mon, 1 Oct 2007 13:37:31 +0000 (13:37 +0000)]
Update documentation.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstrtppayloads.c:
Update documentation.

17 years agogst-libs/gst/rtp/: Added new file and header to deal with payload info.
Wim Taymans [Mon, 1 Oct 2007 13:22:14 +0000 (13:22 +0000)]
gst-libs/gst/rtp/: Added new file and header to deal with payload info.

Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstrtppayloads.c: (gst_rtp_payload_info_for_pt),
(gst_rtp_payload_info_for_name):
* gst-libs/gst/rtp/gstrtppayloads.h:
Added new file and header to deal with payload info.
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data),
(gst_rtp_buffer_default_clock_rate):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Payload specific stuff is move to new headers.
Implement _default_clock rate using the new payload function.
* gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address),
(gst_sdp_parse_line):
* gst-libs/gst/sdp/gstsdpmessage.h:
Add some more comments.

17 years agogst/typefind/gsttypefindfunctions.c: Add typefind function for application/sdp.
Wim Taymans [Mon, 1 Oct 2007 10:22:46 +0000 (10:22 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefind function for application/sdp.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (utf8_type_find),
(sdp_check_header), (sdp_type_find), (plugin_init):
Add typefind function for application/sdp.
Remove some old dirac typefind code that was ifdeffed out.

17 years agowin32/common/libgstaudio.def: Add new exported functions.
Sébastien Moutte [Sat, 29 Sep 2007 12:04:02 +0000 (12:04 +0000)]
win32/common/libgstaudio.def: Add new exported functions.

Original commit message from CVS:
* win32/common/libgstaudio.def:
Add new exported functions.
* win32/vs6/grammar.dsp:
Add autogeneration and copy of some autegenerated files from win32/common
for rtsp library.
* win32/vs6/libgstaudioconvert.dsp:
Add gstaudioquantize.c to the build.
* win32/vs6/libgstinterfaces.dsp:
Add videoorientation.c to the build.
* win32/vs6/libgstriff.dsp:
Add libgsttag to the link libraries list.
* win32/vs6/libgstvolume.dsp:
Add liboil to the link.
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstrtsp.dsp:
* win32/common/libgstrtsp.def:
Add files to build libgstrtsp library.

17 years agoext/gio/: Some minor cleanup and allow setting the location only when the element...
Sebastian Dröge [Sat, 29 Sep 2007 07:01:55 +0000 (07:01 +0000)]
ext/gio/: Some minor cleanup and allow setting the location only when the element is not playing or paused.

Original commit message from CVS:
* ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
(gst_gio_sink_set_property), (gst_gio_sink_render):
* ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
(gst_gio_src_set_property):
Some minor cleanup and allow setting the location only when the
element is not playing or paused.

17 years agotests/examples/snapshot/snapshot.c: Print error when pipeline failed to construct.
Wim Taymans [Wed, 26 Sep 2007 15:14:37 +0000 (15:14 +0000)]
tests/examples/snapshot/snapshot.c: Print error when pipeline failed to construct.

Original commit message from CVS:
* tests/examples/snapshot/snapshot.c: (main):
Print error when pipeline failed to construct.

17 years agoAdd mappings for the new GST_TAG_COMPOSER for vorbis comments and ID3v2 tags.
Tim-Philipp Müller [Tue, 25 Sep 2007 19:06:47 +0000 (19:06 +0000)]
Add mappings for the new GST_TAG_COMPOSER for vorbis comments and ID3v2 tags.

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/tag/gstid3tag.c:
* gst-libs/gst/tag/gstvorbistag.c:
Add mappings for the new GST_TAG_COMPOSER for vorbis comments
and ID3v2 tags.

17 years agogst-libs/gst/floatcast/floatcast.h: Don't include config.h in an installed public...
Tim-Philipp Müller [Tue, 25 Sep 2007 11:54:09 +0000 (11:54 +0000)]
gst-libs/gst/floatcast/floatcast.h: Don't include config.h in an installed public header, this might break compilatio...

Original commit message from CVS:
* gst-libs/gst/floatcast/floatcast.h:
Don't include config.h in an installed public header, this
might break compilation of applications that don't have such
a header and doesn't necessarily do what it's supposed to do
anyway (ie. check for the lrint/lrintf defines) (#442065).
Add docs for the various macros and document how this header
has to be used (link against libm, etc.); add a few FIXMEs;
include math.h for non-c99 code path.  Based on patch by
Jan Schmidt.

17 years agoconfigure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead...
Sebastian Dröge [Tue, 25 Sep 2007 07:50:59 +0000 (07:50 +0000)]
configure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead of duplicating these macros in confi...

Original commit message from CVS:
* configure.ac:
Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead
of duplicating these macros in configure.ac.

17 years agopo/: Updated translations to 0.10.14
Thomas Vander Stichele [Sat, 22 Sep 2007 17:58:22 +0000 (17:58 +0000)]
po/: Updated translations to 0.10.14

Original commit message from CVS:
* po/hu.po:
* po/sv.po:
* po/uk.po:
Updated translations to 0.10.14

17 years agoadd languages
Thomas Vander Stichele [Sat, 22 Sep 2007 17:57:08 +0000 (17:57 +0000)]
add languages

Original commit message from CVS:
add languages

17 years agopo/pl.po: Added Polish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:56:28 +0000 (17:56 +0000)]
po/pl.po: Added Polish translation.

Original commit message from CVS:
translated by: Jakub Bogusz <qboosh@pld-linux.org>
* po/pl.po:
Added Polish translation.

17 years agopo/fi.po: Added Finnish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:55:37 +0000 (17:55 +0000)]
po/fi.po: Added Finnish translation.

Original commit message from CVS:
translated by: Ilkka Tuohela <hile@iki.fi>
* po/fi.po:
Added Finnish translation.

17 years agopo/es.po: Added Spanish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:54:50 +0000 (17:54 +0000)]
po/es.po: Added Spanish translation.

Original commit message from CVS:
translated by: Jorge González González <aloriel@gmail.com>
* po/es.po:
Added Spanish translation.

17 years agopo/da.po: Added Danish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:53:59 +0000 (17:53 +0000)]
po/da.po: Added Danish translation.

Original commit message from CVS:
translated by: Mogens Jaeger <mogens@jaeger.tf>
* po/da.po:
Added Danish translation.

17 years agopo/zh_CN.po: Added Chinese (simplified) translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:52:56 +0000 (17:52 +0000)]
po/zh_CN.po: Added Chinese (simplified) translation.

Original commit message from CVS:
translated by: Funda Wang <fundawang@linux.net.cn>
* po/zh_CN.po:
Added Chinese (simplified) translation.

17 years agopo/bg.po: Added Bulgarian translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 17:51:45 +0000 (17:51 +0000)]
po/bg.po: Added Bulgarian translation.

Original commit message from CVS:
translated by: Alexander Shopov <ash@contact.bg>
* po/bg.po:
Added Bulgarian translation.

17 years agodocs/plugins/gst-plugins-bad-plugins.hierarchy: Update hierarchy.
Sebastian Dröge [Fri, 21 Sep 2007 18:00:24 +0000 (18:00 +0000)]
docs/plugins/gst-plugins-bad-plugins.hierarchy: Update hierarchy.

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
Update hierarchy.
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.h:
Mark private fields of the instance structs private.

17 years agodocs/plugins/: Add the GIO plugin to the docs and do a make update while doing that.
Sebastian Dröge [Fri, 21 Sep 2007 17:31:05 +0000 (17:31 +0000)]
docs/plugins/: Add the GIO plugin to the docs and do a make update while doing that.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dfbvideosink.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-equalizer.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-xingheader.xml:
* docs/plugins/inspect/plugin-xvid.xml:
Add the GIO plugin to the docs and do a make update
while doing that.
* ext/gio/gstgiosrc.c: (gst_gio_src_start):
Fix a small memleak.

17 years agoAdd a GIO/GVFS plugin with source and sink elements. This will only be enabled when...
René Stadler [Fri, 21 Sep 2007 17:07:56 +0000 (17:07 +0000)]
Add a GIO/GVFS plugin with source and sink elements. This will only be enabled when --enable-experimental is given to...

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* configure.ac:
* ext/Makefile.am:
* ext/gio/Makefile.am:
* ext/gio/gstgio.c: (gst_gio_error), (gst_gio_seek),
(gst_gio_get_supported_protocols),
(gst_gio_uri_handler_get_type_sink),
(gst_gio_uri_handler_get_type_src),
(gst_gio_uri_handler_get_protocols), (gst_gio_uri_handler_get_uri),
(gst_gio_uri_handler_set_uri), (gst_gio_uri_handler_init),
(gst_gio_uri_handler_do_init), (plugin_init):
* ext/gio/gstgio.h:
* 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_set_property),
(gst_gio_sink_get_property), (gst_gio_sink_start),
(gst_gio_sink_stop), (gst_gio_sink_unlock),
(gst_gio_sink_unlock_stop), (gst_gio_sink_event),
(gst_gio_sink_render), (gst_gio_sink_query):
* 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_set_property),
(gst_gio_src_get_property), (gst_gio_src_start),
(gst_gio_src_stop), (gst_gio_src_get_size),
(gst_gio_src_is_seekable), (gst_gio_src_unlock),
(gst_gio_src_unlock_stop), (gst_gio_src_check_get_range),
(gst_gio_src_create):
* ext/gio/gstgiosrc.h:
Add a GIO/GVFS plugin with source and sink elements. This will
only be enabled when --enable-experimental is given to configure
for now as the GIO API is not stable yet. Fixes #476916.

17 years agogst/playback/gstqueue2.c: Fix compilation wrt printf arguments.
Wim Taymans [Fri, 21 Sep 2007 14:37:26 +0000 (14:37 +0000)]
gst/playback/gstqueue2.c: Fix compilation wrt printf arguments.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_push_one):
Fix compilation wrt printf arguments.

17 years agoexamples/app/appsrc_ex.c: Fix compilation after changing the name of a method.
Wim Taymans [Thu, 20 Sep 2007 17:38:10 +0000 (17:38 +0000)]
examples/app/appsrc_ex.c: Fix compilation after changing the name of a method.

Original commit message from CVS:
* examples/app/appsrc_ex.c: (main):
Fix compilation after changing the name of a method.

17 years agoAdd simple snapshot example program using appsink.
Wim Taymans [Thu, 20 Sep 2007 14:09:24 +0000 (14:09 +0000)]
Add simple snapshot example program using appsink.

Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
* tests/examples/snapshot/.cvsignore:
* tests/examples/snapshot/Makefile.am:
* tests/examples/snapshot/snapshot.c: (main):
Add simple snapshot example program using appsink.

17 years agogst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the...
Wim Taymans [Thu, 20 Sep 2007 13:59:50 +0000 (13:59 +0000)]
gst-libs/gst/app/gstappsink.*: Add properties, signals and actions to access the element even without linking to the ...

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_marshal_OBJECT__VOID),
(gst_app_sink_class_init), (gst_app_sink_init),
(gst_app_sink_dispose), (gst_app_sink_finalize),
(gst_app_sink_set_property), (gst_app_sink_get_property),
(gst_app_sink_flush_unlocked), (gst_app_sink_start),
(gst_app_sink_event), (gst_app_sink_getcaps),
(gst_app_sink_set_caps), (gst_app_sink_get_caps),
(gst_app_sink_is_eos), (gst_app_sink_pull_preroll),
(gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Add properties, signals and actions to access the element even without
linking to the library.
Fix some method names and signatures.

17 years agotests/check/generic/states.c: Improved state change unit test.
Stefan Kost [Thu, 20 Sep 2007 10:37:02 +0000 (10:37 +0000)]
tests/check/generic/states.c: Improved state change unit test.

Original commit message from CVS:
* tests/check/generic/states.c:
Improved state change unit test.

17 years agoIgnore registries in any format.
Stefan Kost [Wed, 19 Sep 2007 18:16:58 +0000 (18:16 +0000)]
Ignore registries in any format.

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Only copy timestamp on outgoing packets if...
Wim Taymans [Wed, 19 Sep 2007 16:09:57 +0000 (16:09 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Only copy timestamp on outgoing packets if the depayloader did not set one.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_set_gst_timestamp):
Only copy timestamp on outgoing packets if the depayloader did not set
one.
Also copy duration on outgoing packets.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Fix compilation because of missing %d in printf.
Wim Taymans [Wed, 19 Sep 2007 15:55:08 +0000 (15:55 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Fix compilation because of missing %d in printf.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (copy_fixed),
(gst_basertppayload_set_outcaps):
Fix compilation because of missing %d in printf.
When fixating caps, fixate what we can and throw away all remaining
unfixed caps, subclasses should do something smart if they need to.

17 years agoext/gnomevfs/gstgnomevfssrc.c: Improve debug logs a bit and be more verbose if things...
Stefan Kost [Wed, 19 Sep 2007 12:04:21 +0000 (12:04 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Improve debug logs a bit and be more verbose if things go wrong.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Improve debug logs a bit and be more verbose if things go wrong.

17 years agoFix a bunch of compile warnings shown with Forte.
Jan Schmidt [Mon, 17 Sep 2007 17:24:55 +0000 (17:24 +0000)]
Fix a bunch of compile warnings shown with Forte.

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_set_property):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_ntp_to_unix),
(gst_rtcp_unix_to_ntp):
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_get_type):
* gst/playback/gstqueue2.c:
* tests/examples/seek/seek.c: (set_scale):
Fix a bunch of compile warnings shown with Forte.
* gst/audiorate/gstaudiorate.c:
Always pull in config.h before including any system headers.

17 years agogst/playback/gstqueue2.c: Also fix #476514 for queue2.
Wim Taymans [Mon, 17 Sep 2007 16:22:17 +0000 (16:22 +0000)]
gst/playback/gstqueue2.c: Also fix #476514 for queue2.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_locked_flush), (gst_queue_locked_enqueue),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_sink_activate_push),
(gst_queue_src_activate_push), (gst_queue_src_activate_pull):
Also fix #476514 for queue2.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Remove code to deal with RTP to GST time...
Wim Taymans [Sun, 16 Sep 2007 19:31:06 +0000 (19:31 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Remove code to deal with RTP to GST time conversion, we now just copy the GST...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_init), (gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_handle_sink_event),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_change_state):
Remove code to deal with RTP to GST time conversion, we now just copy
the GST timestamp we receive to the outgoing buffers.
Handle segment and flushes correctly.
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
When we have no valid input timestamp, use the previous rtp timestamp on
the outgoing RTP packet instead of the RTP base time.

17 years agoext/alsa/: Change alsa alloca's to malloc to fix warnings on gcc-4.2.
David Schleef [Sun, 16 Sep 2007 01:56:21 +0000 (01:56 +0000)]
ext/alsa/: Change alsa alloca's to malloc to fix warnings on gcc-4.2.

Original commit message from CVS:
* ext/alsa/gstalsa.c:
* ext/alsa/gstalsadeviceprobe.c:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasrc.c:
Change alsa alloca's to malloc to fix warnings on gcc-4.2.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Add some debug info when negotiating caps.
Wim Taymans [Sat, 15 Sep 2007 18:41:27 +0000 (18:41 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Add some debug info when negotiating caps.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_set_outcaps), (gst_basertppayload_push):
Add some debug info when negotiating caps.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: A buffer with an empty payload is also a valid buffer.
Wim Taymans [Sat, 15 Sep 2007 00:29:11 +0000 (00:29 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: A buffer with an empty payload is also a valid buffer.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data):
A buffer with an empty payload is also a valid buffer.

17 years agogst-libs/gst/rtp/gstbasertppayload.c: Make sure we start our RTP timestamp from the...
Wim Taymans [Fri, 14 Sep 2007 20:52:00 +0000 (20:52 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Make sure we start our RTP timestamp from the random base RTP timestamp even if...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_event),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_change_state):
Make sure we start our RTP timestamp from the random base RTP
timestamp even if the buffer timestamp starts from some random value.

17 years agoAdd simple exmple app to demonstrate starting and pausing live and non-live bins...
Wim Taymans [Fri, 14 Sep 2007 16:56:16 +0000 (16:56 +0000)]
Add simple exmple app to demonstrate starting and pausing live and non-live bins in a PLAYING pipeline.

Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
* tests/examples/dynamic/.cvsignore:
* tests/examples/dynamic/Makefile.am:
* tests/examples/dynamic/addstream.c: (create_stream),
(pause_play_stream), (message_received), (eos_message_received),
(perform_step), (main):
Add simple exmple app to demonstrate starting and pausing live and
non-live bins in a PLAYING pipeline.

17 years agogst/typefind/gsttypefindfunctions.c: Add some typefind for QCP files (RFC #3625)
Julien Moutte [Fri, 14 Sep 2007 10:42:00 +0000 (10:42 +0000)]
gst/typefind/gsttypefindfunctions.c: Add some typefind for QCP files (RFC #3625)

Original commit message from CVS:
2007-09-14  Julien MOUTTE  <julien@moutte.net>

* gst/typefind/gsttypefindfunctions.c: (plugin_init): Add some
typefind for QCP files (RFC #3625)

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: Disable pull mode scheduling, we're not ready...
Wim Taymans [Thu, 13 Sep 2007 22:52:09 +0000 (22:52 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Disable pull mode scheduling, we're not ready for it yet and it subtly breaks ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_init):
Disable pull mode scheduling, we're not ready for it yet and it subtly
breaks a lot of things.

17 years agotests/check/elements/libvisual.c: Test all libvisual plugins, not just the first...
Tim-Philipp Müller [Wed, 12 Sep 2007 17:35:52 +0000 (17:35 +0000)]
tests/check/elements/libvisual.c: Test all libvisual plugins, not just the first one; this reproduces bug #450336 qui...

Original commit message from CVS:
* tests/check/elements/libvisual.c:
Test all libvisual plugins, not just the first one; this reproduces
bug #450336 quite easily.  Looks like a problem with the 'jess'
visualisation.

17 years agotests/check/: Add basic libvisual test case in an attempt to reproduce bug #450336.
Tim-Philipp Müller [Wed, 12 Sep 2007 17:15:12 +0000 (17:15 +0000)]
tests/check/: Add basic libvisual test case in an attempt to reproduce bug #450336.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/libvisual.c:
Add basic libvisual test case in an attempt to reproduce bug #450336.
Doesn't reproduce that bug, but some other crasher instead (invalid
free), at least with make elements/libvisual.forever and the bumscope
plugin on x86-64/gutsy. Leaving test disabled for now.

17 years agogst/: Printf format fixes (#476128).
Peter Kjellerstedt [Wed, 12 Sep 2007 08:38:21 +0000 (08:38 +0000)]
gst/: Printf format fixes (#476128).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/app/gstappsink.c:
* gst/flv/gstflvdemux.c:
* gst/flv/gstflvparse.c:
* gst/interleave/deinterleave.c:
* gst/switch/gstswitch.c:
Printf format fixes (#476128).

17 years agogst-libs/gst/rtsp/gstrtspconnection.c: Make sure we can not cancel in the middle...
Tommi Myöhänen [Tue, 11 Sep 2007 19:07:57 +0000 (19:07 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Make sure we can not cancel in the middle of receiving a message.

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_read_internal), (gst_rtsp_connection_read),
(read_body), (gst_rtsp_connection_receive):
Make sure we can not cancel in the middle of receiving a message.
Fixes #475731.

17 years agogst/playback/gstplaybasebin.c: Increase upper limit for audio queue a bit; fixes...
Josep Torra Valles [Tue, 11 Sep 2007 11:29:12 +0000 (11:29 +0000)]
gst/playback/gstplaybasebin.c: Increase upper limit for audio queue a bit; fixes preroll problem with playbin and dec...

Original commit message from CVS:
Patch by: Josep Torra Valles <josep@fluendo.com>
* gst/playback/gstplaybasebin.c:
Increase upper limit for audio queue a bit; fixes preroll problem
with playbin and decodebin2 when playing a quicktime trailer with
multichannel audio via http (#464666).

17 years agogst-libs/gst/audio/gstbaseaudiosrc.*: Allow othe clocks than the internal clock to...
Wim Taymans [Mon, 10 Sep 2007 22:10:54 +0000 (22:10 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.*: Allow othe clocks than the internal clock to be used for the pipeline.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init), (gst_base_audio_src_init),
(gst_base_audio_src_provide_clock),
(gst_base_audio_src_set_property),
(gst_base_audio_src_get_property), (gst_base_audio_src_create):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
Allow othe clocks than the internal clock to be used for the pipeline.
Add property to disable clock provide.
API: GstBaseAudioSrc::provide-clock

17 years agogst/playback/gstdecodebin2.c: Don't leak request pads. Fixes #475395.
Stefan Kost [Mon, 10 Sep 2007 12:05:34 +0000 (12:05 +0000)]
gst/playback/gstdecodebin2.c: Don't leak request pads. Fixes #475395.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
Don't leak request pads. Fixes #475395.

17 years agosys/: Correctly chain up finalize with the parent class to prevent memory leaks....
René Stadler [Sun, 9 Sep 2007 10:25:43 +0000 (10:25 +0000)]
sys/: Correctly chain up finalize with the parent class to prevent memory leaks. Fixes #474880.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximage_buffer_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_class_init):
Correctly chain up finalize with the parent class to prevent
memory leaks. Fixes #474880.

17 years agoRevert the latest change: floating point samples are allowed to have any value, not...
Sebastian Dröge [Sun, 9 Sep 2007 04:08:48 +0000 (04:08 +0000)]
Revert the latest change: floating point samples are allowed to have any value, not only values in the range [-1,1]. ...

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func):
* tests/check/elements/volume.c: (GST_START_TEST):
Revert the latest change: floating point samples are allowed to
have any value, not only values in the range [-1,1]. Thanks to Andy
Wingo for noticing.
Also fix processing of int32 samples with volumes > 4 by making the
unity value smaller which prevents overflows.

17 years agoFix gst_rtp_buffer_set_csrc() and enable csrc-related unit test checks.
Tim-Philipp Müller [Fri, 7 Sep 2007 17:37:03 +0000 (17:37 +0000)]
Fix gst_rtp_buffer_set_csrc() and enable csrc-related unit test checks.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
* tests/check/libs/rtp.c:
Fix gst_rtp_buffer_set_csrc() and enable csrc-related unit test checks.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: Fix up GstRTPHeader helper struct so that compilers...
Haakon Sporsheim [Fri, 7 Sep 2007 16:46:05 +0000 (16:46 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Fix up GstRTPHeader helper struct so that compilers will not under any circumstances...

Original commit message from CVS:
Based on patch by: Haakon Sporsheim  <haakon.sporsheim at tandberg com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
Fix up GstRTPHeader helper struct so that compilers will not under
any circumstances add padding in between our fields, as currently
happens with MSVC on win32, because that would lead to us sending
out RTP payloads with broken RTP headers (#471194).
Fix assertion guards for gst_rtp_buffer_get_csrc() and _set_csrc().
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/rtp.c:
Add some simple unit tests for GstRTPBuffer. Some are disabled
because the code tested still needs fixing (set_csrc() does not work).

17 years agoupdate spec file to include latest RTSP libraries and headers and more
Christian Schaller [Fri, 7 Sep 2007 15:05:24 +0000 (15:05 +0000)]
update spec file to include latest RTSP libraries and headers and more

Original commit message from CVS:
update spec file to include latest RTSP libraries and headers and more

17 years agowin32/: Add rtsp enumtypes (#474384) and update others.
Tim-Philipp Müller [Fri, 7 Sep 2007 12:41:01 +0000 (12:41 +0000)]
win32/: Add rtsp enumtypes (#474384) and update others.

Original commit message from CVS:
* win32/MANIFEST:
* win32/common/gstrtsp-enumtypes.c:
* win32/common/gstrtsp-enumtypes.h:
* win32/common/interfaces-enumtypes.c:
* win32/common/interfaces-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
Add rtsp enumtypes (#474384) and update others.

17 years agoconfigure.ac: Fix configure check for HAVE_LIBXML_HTML.
Stefan Kost [Thu, 6 Sep 2007 20:31:50 +0000 (20:31 +0000)]
configure.ac: Fix configure check for HAVE_LIBXML_HTML.

Original commit message from CVS:
* configure.ac:
Fix configure check for HAVE_LIBXML_HTML.

17 years agotests/check/libs/.cvsignore: Ignore more, in case the build bots work again one day.
Tim-Philipp Müller [Thu, 6 Sep 2007 12:14:25 +0000 (12:14 +0000)]
tests/check/libs/.cvsignore: Ignore more, in case the build bots work again one day.

Original commit message from CVS:
* tests/check/libs/.cvsignore:
Ignore more, in case the build bots work again one day.

17 years agoAdd libgstfft, a FFT library based on Kiss FFT which is
Sebastian Dröge [Thu, 6 Sep 2007 07:00:36 +0000 (07:00 +0000)]
Add libgstfft, a FFT library based on Kiss FFT which is

Original commit message from CVS:
Reviewed by:  Stefan Kost  <ensonic@users.sf.net>
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/fft/Makefile.am:
* gst-libs/gst/fft/_kiss_fft_guts_f32.h:
* gst-libs/gst/fft/_kiss_fft_guts_f64.h:
* gst-libs/gst/fft/_kiss_fft_guts_s16.h:
* gst-libs/gst/fft/_kiss_fft_guts_s32.h:
* gst-libs/gst/fft/gstfft.c: (gst_fft_next_fast_length):
* gst-libs/gst/fft/gstfft.h:
* gst-libs/gst/fft/gstfftf32.c: (gst_fft_f32_new),
(gst_fft_f32_fft), (gst_fft_f32_inverse_fft), (gst_fft_f32_free),
(gst_fft_f32_window), (gst_fft_f32_magnitude), (gst_fft_f32_phase):
* gst-libs/gst/fft/gstfftf32.h:
* gst-libs/gst/fft/gstfftf64.c: (gst_fft_f64_new),
(gst_fft_f64_fft), (gst_fft_f64_inverse_fft), (gst_fft_f64_free),
(gst_fft_f64_window), (gst_fft_f64_magnitude), (gst_fft_f64_phase):
* gst-libs/gst/fft/gstfftf64.h:
* gst-libs/gst/fft/gstffts16.c: (gst_fft_s16_new),
(gst_fft_s16_fft), (gst_fft_s16_inverse_fft), (gst_fft_s16_free),
(gst_fft_s16_window), (gst_fft_s16_magnitude), (gst_fft_s16_phase):
* gst-libs/gst/fft/gstffts16.h:
* gst-libs/gst/fft/gstffts32.c: (gst_fft_s32_new),
(gst_fft_s32_fft), (gst_fft_s32_inverse_fft), (gst_fft_s32_free),
(gst_fft_s32_window), (gst_fft_s32_magnitude), (gst_fft_s32_phase):
* gst-libs/gst/fft/gstffts32.h:
* gst-libs/gst/fft/kiss_fft_f32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f32_alloc), (kiss_fft_f32_stride), (kiss_fft_f32),
(kiss_fft_f32_cleanup), (kiss_fft_f32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f32.h:
* gst-libs/gst/fft/kiss_fft_f64.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_f64_alloc), (kiss_fft_f64_stride), (kiss_fft_f64),
(kiss_fft_f64_cleanup), (kiss_fft_f64_next_fast_size):
* gst-libs/gst/fft/kiss_fft_f64.h:
* gst-libs/gst/fft/kiss_fft_s16.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s16_alloc), (kiss_fft_s16_stride), (kiss_fft_s16),
(kiss_fft_s16_cleanup), (kiss_fft_s16_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s16.h:
* gst-libs/gst/fft/kiss_fft_s32.c: (kf_bfly2), (kf_bfly4),
(kf_bfly3), (kf_bfly5), (kf_bfly_generic), (kf_work), (kf_factor),
(kiss_fft_s32_alloc), (kiss_fft_s32_stride), (kiss_fft_s32),
(kiss_fft_s32_cleanup), (kiss_fft_s32_next_fast_size):
* gst-libs/gst/fft/kiss_fft_s32.h:
* gst-libs/gst/fft/kiss_fftr_f32.c: (kiss_fftr_f32_alloc),
(kiss_fftr_f32), (kiss_fftri_f32):
* gst-libs/gst/fft/kiss_fftr_f32.h:
* gst-libs/gst/fft/kiss_fftr_f64.c: (kiss_fftr_f64_alloc),
(kiss_fftr_f64), (kiss_fftri_f64):
* gst-libs/gst/fft/kiss_fftr_f64.h:
* gst-libs/gst/fft/kiss_fftr_s16.c: (kiss_fftr_s16_alloc),
(kiss_fftr_s16), (kiss_fftri_s16):
* gst-libs/gst/fft/kiss_fftr_s16.h:
* gst-libs/gst/fft/kiss_fftr_s32.c: (kiss_fftr_s32_alloc),
(kiss_fftr_s32), (kiss_fftri_s32):
* gst-libs/gst/fft/kiss_fftr_s32.h:
* gst-libs/gst/fft/kiss_version:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add libgstfft, a FFT library based on Kiss FFT which is
BSD licensed. Supported sample formats are int16, int32,
float and double. For those formats a real FFT and IFFT
can be done, different windowing functions can be applied
and functions for extracting the magnitude and phase exist.
Fixes #468619.
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Integrate libgstfft into the docs.
* tests/check/Makefile.am:
* tests/check/libs/fft.c: (GST_START_TEST), (fft_suite), (main):
Add unit tests for libgstfft, currently only testing the FFT.
Unit tests for IFFT will follow soon.

17 years agogst-libs/gst/sdp/gstsdpmessage.*: Separate INIT_ARRAY() and related macros into two...
Peter Kjellerstedt [Wed, 5 Sep 2007 23:07:40 +0000 (23:07 +0000)]
gst-libs/gst/sdp/gstsdpmessage.*: Separate INIT_ARRAY() and related macros into two versions, one for structures and ...

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/sdp/gstsdpmessage.c: (gst_sdp_time_init),
(gst_sdp_message_init), (gst_sdp_message_uninit),
(is_multicast_address), (gst_sdp_message_as_text),
(gst_sdp_message_get_origin), (gst_sdp_message_set_connection),
(gst_sdp_message_get_connection), (gst_sdp_message_add_bandwidth),
(gst_sdp_message_add_time), (gst_sdp_message_add_zone),
(gst_sdp_message_get_key), (gst_sdp_message_get_attribute_val_n),
(gst_sdp_message_get_attribute_val), (gst_sdp_message_add_media),
(gst_sdp_media_init), (gst_sdp_media_uninit),
(gst_sdp_media_as_text), (gst_sdp_media_set_port_info),
(gst_sdp_media_connections_len), (gst_sdp_media_add_connection),
(gst_sdp_media_bandwidths_len), (gst_sdp_media_get_bandwidth),
(gst_sdp_media_add_bandwidth), (gst_sdp_media_attributes_len),
(gst_sdp_parse_line), (print_media), (gst_sdp_message_dump):
* gst-libs/gst/sdp/gstsdpmessage.h:
Separate INIT_ARRAY() and related macros into two versions, one for
structures and one for pointers (e.g., INIT_ARRAY() and
INIT_PTR_ARRAY()). This fixes a segmentation error on freeing the
lists of emails and phone numbers.
Add missing const as appropriate.
Change all gint to guint since they all actually represent unsigned
values.
Do not use time as a variable name as it shadows the global time().
Add gst_sdp_message_as_text() and gst_sdp_media_as_text().
Actually implement gst_sdp_message_add_time().
Make gst_sdp_message_add_time() take repeat times as an argument.
Store repeat times in GstSDPTime as a GArray rather than as gchar**.
Corrected the definition of gst_sdp_media_get_bandwidth() (was
misspelled as badwidth).
gst-indented and a little clean up. Fixes #471067.

17 years agogst/volume/gstvolume.c: Correctly clamp float/double samples in the [-1.0,1.0] range...
Sebastian Dröge [Wed, 5 Sep 2007 21:20:12 +0000 (21:20 +0000)]
gst/volume/gstvolume.c: Correctly clamp float/double samples in the [-1.0,1.0] range to prevent weird effects.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_process_double), (volume_process_double_clamp),
(volume_process_float_clamp):
Correctly clamp float/double samples in the [-1.0,1.0] range to
prevent weird effects.
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
Add unit tests for all samples types that had none before.

17 years agogst-libs/gst/rtp/gstrtpbuffer.c: Need to include stdlib.h for abs() here too.
Tim-Philipp Müller [Wed, 5 Sep 2007 14:09:15 +0000 (14:09 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Need to include stdlib.h for abs() here too.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c:
Need to include stdlib.h for abs() here too.

17 years agogst/playback/gststreaminfo.c: Fix build.
Tim-Philipp Müller [Wed, 5 Sep 2007 14:01:25 +0000 (14:01 +0000)]
gst/playback/gststreaminfo.c: Fix build.

Original commit message from CVS:
* gst/playback/gststreaminfo.c:
Fix build.

17 years agogst/playback/gststreaminfo.c: Clean up some half-disabled code and comment.
Stefan Kost [Wed, 5 Sep 2007 10:32:09 +0000 (10:32 +0000)]
gst/playback/gststreaminfo.c: Clean up some half-disabled code and comment.

Original commit message from CVS:
* gst/playback/gststreaminfo.c:
Clean up some half-disabled code and comment.

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Return FALSE from the event handler to...
Wim Taymans [Tue, 4 Sep 2007 16:18:48 +0000 (16:18 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Return FALSE from the event handler to let the parent class handle the event.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_payload_audio_handle_event):
Return FALSE from the event handler to let the parent class handle the
event.
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain), (gst_base_rtp_depayload_push_full):
Mark outgoing buffers as DISCONT if the incomming buffer was DISCONT.
* gst-libs/gst/rtp/gstbasertppayload.c:
Bump the MTU to 1400.

17 years agogst/typefind/gsttypefindfunctions.c (plugin_init): Add an audio/x-nsf typefind functi...
Johan Dahlin [Tue, 4 Sep 2007 01:50:55 +0000 (01:50 +0000)]
gst/typefind/gsttypefindfunctions.c (plugin_init): Add an audio/x-nsf typefind function for the nsfdec element.

Original commit message from CVS:
2007-09-03  Johan Dahlin  <jdahlin@async.com.br>

* gst/typefind/gsttypefindfunctions.c (plugin_init):
Add an audio/x-nsf typefind function for the nsfdec element.

17 years agogst/playback/gstplaybasebin.c: Included "myth://" on stream_uris list for enable...
Renato Filho [Mon, 3 Sep 2007 20:46:38 +0000 (20:46 +0000)]
gst/playback/gstplaybasebin.c: Included "myth://" on stream_uris list for enable buffering to mythtv files

Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
Included "myth://" on stream_uris list for enable buffering to mythtv files

17 years agoFix parsing of RB blocks.
Wim Taymans [Mon, 3 Sep 2007 19:31:11 +0000 (19:31 +0000)]
Fix parsing of RB blocks.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_get_rb),
(gst_rtcp_packet_sdes_copy_entry), (gst_rtcp_ntp_to_unix),
(gst_rtcp_unix_to_ntp):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Fix parsing of RB blocks.
Fix docs.
Added helper functions to convert to/from UNIX and NTP time.
API: gst_rtcp_ntp_to_unix()
API: gst_rtcp_unix_to_ntp()
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data),
(gst_rtp_buffer_get_header_len),
(gst_rtp_buffer_get_extension_data),
(gst_rtp_buffer_get_payload_subbuffer),
(gst_rtp_buffer_get_payload_len), (gst_rtp_buffer_get_payload),
(gst_rtp_buffer_ext_timestamp):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Fix some more docs.
Implement handling of packets with extensions.
Fix padding check in _validate().
Added function to get extension data.
API: gst_rtp_buffer_get_header_len()
API: gst_rtp_buffer_get_extension_data()

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Add some more docs for the queue-delay proper...
Wim Taymans [Mon, 3 Sep 2007 19:19:35 +0000 (19:19 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Add some more docs for the queue-delay property and fix a typo in a comment.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init),
(gst_base_rtp_depayload_set_gst_timestamp):
Add some more docs for the queue-delay property and fix a typo in a
comment.
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
Fix typo.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: When skew slaving, try to hover around the...
Wim Taymans [Mon, 3 Sep 2007 19:17:33 +0000 (19:17 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: When skew slaving, try to hover around the middle of a segment so that we at m...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_skew_slaving), (gst_base_audio_sink_render),
(gst_base_audio_sink_change_state):
When skew slaving, try to hover around the middle of a segment so that
we at most drift by half a segment.
If we are aligning in the oposite direction of the clock skew, we don't
have to resync.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Be less silly with the segment start, just...
Wim Taymans [Fri, 31 Aug 2007 21:07:20 +0000 (21:07 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Be less silly with the segment start, just apply the clock-base to the timest...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_set_gst_timestamp):
Be less silly with the segment start, just apply the clock-base to the
timestamp.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.*: Deprecate the queue handling thread thing...
Wim Taymans [Fri, 31 Aug 2007 15:58:30 +0000 (15:58 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.*: Deprecate the queue handling thread thing and remove the code.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init),
(gst_base_rtp_depayload_finalize),
(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_handle_sink_event),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_change_state):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
Deprecate the queue handling thread thing and remove the code.
Use new method to calculate the extended timestamp.

17 years agogst-libs/gst/rtp/gstrtcpbuffer.c: Use g_strndup which does exactly what we want.
Wim Taymans [Fri, 31 Aug 2007 15:21:13 +0000 (15:21 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.c: Use g_strndup which does exactly what we want.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_packet_sdes_copy_entry):
Use g_strndup which does exactly what we want.
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_compare_seqnum),
(gst_rtp_buffer_ext_timestamp):
* gst-libs/gst/rtp/gstrtpbuffer.h:
Add helper function to compare seqnums.
Add helper function to calculate extended timestamps.
API: gst_rtp_buffer_compare_seqnum()
API: gst_rtp_buffer_ext_timestamp()

17 years agogst-libs/gst/rtp/gstrtcpbuffer.*: Fix and document SDES item data function.
Wim Taymans [Thu, 30 Aug 2007 21:59:23 +0000 (21:59 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.*: Fix and document SDES item data function.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_packet_sdes_get_entry),
(gst_rtcp_packet_sdes_copy_entry):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Fix and document SDES item data function.
Add new function that makes a proper copy of SDES item data.
API: gst_rtcp_packet_sdes_copy_entry()

17 years agoThe tcp and subparse plugins are under gst, but not totaly free of dependencies....
Stefan Kost [Thu, 30 Aug 2007 07:29:55 +0000 (07:29 +0000)]
The tcp and subparse plugins are under gst, but not totaly free of dependencies. Handle selection inconfigure.ac, so ...

Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
The tcp and subparse plugins are under gst, but not totaly free of
dependencies. Handle selection inconfigure.ac, so that they show up
on the final list of what is build and what is not. Maybe they should
better be moved to ext.

17 years agoCheck if libxml provides HTML parser which subparse needs.
Daniel Díaz [Thu, 30 Aug 2007 06:58:46 +0000 (06:58 +0000)]
Check if libxml provides HTML parser which subparse needs.

Original commit message from CVS:
Patch by: Daniel Díaz  <yosoy@danieldiaz.org>
* configure.ac:
* gst/Makefile.am:
Check if libxml provides HTML parser which subparse needs.
Fixes #451970.

17 years agoext/alsa/gstalsa.c: Fix typo and compilation on big endian systems.
Tim-Philipp Müller [Wed, 29 Aug 2007 14:22:04 +0000 (14:22 +0000)]
ext/alsa/gstalsa.c: Fix typo and compilation on big endian systems.

Original commit message from CVS:
* ext/alsa/gstalsa.c:
Fix typo and compilation on big endian systems.

17 years agogst/subparse/gstssaparse.c: Convert SSA newline codes into actual newline characters...
Tim-Philipp Müller [Wed, 29 Aug 2007 12:16:46 +0000 (12:16 +0000)]
gst/subparse/gstssaparse.c: Convert SSA newline codes into actual newline characters (#470766).

Original commit message from CVS:
* gst/subparse/gstssaparse.c:
Convert SSA newline codes into actual newline characters (#470766).

17 years agoAPI: also add gst_install_plugins_supported() while we're at it (see #470456).
Tim-Philipp Müller [Tue, 28 Aug 2007 14:58:17 +0000 (14:58 +0000)]
API: also add gst_install_plugins_supported() while we're at it (see #470456).

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/install-plugins.h:
* tests/check/libs/pbutils.c:
API: also add gst_install_plugins_supported() while we're at it
(see #470456).

17 years agoAPI: add gst_missing_*_installer_detail_new() convenience API so that applications...
Tim-Philipp Müller [Tue, 28 Aug 2007 14:23:55 +0000 (14:23 +0000)]
API: add gst_missing_*_installer_detail_new() convenience API so that applications that know exactly what they're mis...

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/pbutils/missing-plugins.c:
* gst-libs/gst/pbutils/missing-plugins.h:
* tests/check/libs/pbutils.c:
API: add gst_missing_*_installer_detail_new() convenience API so
that applications that know exactly what they're missing can request
installer detail strings for those items directly instead of having
to first create a dummy missing-plugin message and then get the
installer detail string from that.  Fixes #470456.

17 years agogst/playback/gstdecodebin.c: We need to set up delayed-linking whenever the caps...
Jan Schmidt [Mon, 27 Aug 2007 11:59:56 +0000 (11:59 +0000)]
gst/playback/gstdecodebin.c: We need to set up delayed-linking whenever the caps are non-fixed, not just when there a...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link):
We need to set up delayed-linking whenever the caps are non-fixed,
not just when there are multiple types - use gst_pad_is_fixed()
to test.

17 years agogst-libs/gst/pbutils/missing-plugins.c: Add missing separator in PID fallback case.
Tim-Philipp Müller [Sun, 26 Aug 2007 14:14:33 +0000 (14:14 +0000)]
gst-libs/gst/pbutils/missing-plugins.c: Add missing separator in PID fallback case.

Original commit message from CVS:
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_plugin_message_get_installer_detail):
Add missing separator in PID fallback case.

17 years agoext/alsa/Makefile.am: There is no GST_PLUGINS_BASE_LIBS defined.
Jan Schmidt [Fri, 24 Aug 2007 15:28:33 +0000 (15:28 +0000)]
ext/alsa/Makefile.am: There is no GST_PLUGINS_BASE_LIBS defined.

Original commit message from CVS:
* ext/alsa/Makefile.am:
There is no GST_PLUGINS_BASE_LIBS defined.
* ext/alsa/gstalsa.c:
* ext/alsa/gstalsasink.c: (gst_alsasink_delay):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_delay):
Add support for ALSA 24-bit formats.
snd_pcm_delay can return an error code, especially
during XRUNS. In that case, the best we can do is assume
delay = 0.
* gst/audioconvert/Makefile.am:
Add flags from -base before any more-remote dependencies.

17 years agogst/volume/gstvolume.*: Add support for int32, int24 and int8 to the volume element.
Davyd [Thu, 23 Aug 2007 20:45:45 +0000 (20:45 +0000)]
gst/volume/gstvolume.*: Add support for int32, int24 and int8 to the volume element.

Original commit message from CVS:
Based on a patch by: Davyd <davyd at madeley dot id dot au>
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_real_volume), (gst_volume_set_volume),
(gst_volume_init), (volume_process_int32),
(volume_process_int32_clamp), (volume_process_int24),
(volume_process_int24_clamp), (volume_process_int16),
(volume_process_int16_clamp), (volume_process_int8),
(volume_process_int8_clamp), (volume_update_volume), (plugin_init):
* gst/volume/gstvolume.h:
Add support for int32, int24 and int8 to the volume element.
Fixes #445529.

17 years agotests/examples/Makefile.am: Fix even more.
Tim-Philipp Müller [Thu, 23 Aug 2007 12:37:42 +0000 (12:37 +0000)]
tests/examples/Makefile.am: Fix even more.

Original commit message from CVS:
* tests/examples/Makefile.am:
Fix even more.

17 years agoRevert unwanted commit. many thanks to moap. I want a fix for https://thomas.apestaar...
Stefan Kost [Thu, 23 Aug 2007 10:58:42 +0000 (10:58 +0000)]
Revert unwanted commit. many thanks to moap. I want a fix for https://thomas.apestaart.org/moap/trac/ticket/239

Original commit message from CVS:
* configure.ac:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* ext/gnomevfs/gstgnomevfssrc.c:
* ext/gnomevfs/gstgnomevfssrc.h:
* gst-libs/gst/Makefile.am:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
* sys/v4l/v4lsrc_calls.c:
* tests/examples/Makefile.am:
* win32/common/config.h:
Revert unwanted commit. many thanks to moap. I want a fix for
https://thomas.apestaart.org/moap/trac/ticket/239

17 years agoOriginal commit message from CVS:
Stefan Kost [Thu, 23 Aug 2007 08:33:43 +0000 (08:33 +0000)]
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
patch by: <delete if not someone else's patch>
* configure.ac:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* ext/gnomevfs/gstgnomevfssrc.c:
* ext/gnomevfs/gstgnomevfssrc.h:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/audio/gstaudiofilter.h:
* gst/typefind/gsttypefindfunctions.c:
* gst/volume/gstvolume.c:
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
* sys/v4l/v4lsrc_calls.c:
* tests/examples/Makefile.am:
* win32/common/config.h:

17 years agogst-libs/gst/audio/audio.c: Clarify the docs a little.
Wim Taymans [Wed, 22 Aug 2007 15:29:04 +0000 (15:29 +0000)]
gst-libs/gst/audio/audio.c: Clarify the docs a little.

Original commit message from CVS:
* gst-libs/gst/audio/audio.c:
Clarify the docs a little.

17 years agogst/volume/gstvolume.c: Enable liboil for float and add more details about problems...
Stefan Kost [Wed, 22 Aug 2007 11:20:28 +0000 (11:20 +0000)]
gst/volume/gstvolume.c: Enable liboil for float and add more details about problems with int16.

Original commit message from CVS:
* gst/volume/gstvolume.c:
Enable liboil for float and add more details about problems with
int16.

17 years agosys/v4l/gstv4lsrc.c: Fix RGB24 masks as spotted by _ke (Daniel G. Siegel) on IRC.
Wim Taymans [Tue, 21 Aug 2007 15:43:24 +0000 (15:43 +0000)]
sys/v4l/gstv4lsrc.c: Fix RGB24 masks as spotted by _ke (Daniel G. Siegel) on IRC.

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps):
Fix RGB24 masks as spotted by _ke (Daniel G. Siegel) on IRC.

17 years agoext/vorbis/vorbisdec.c: When calculating the first timestamp of the buffers, don...
Wim Taymans [Tue, 21 Aug 2007 12:08:43 +0000 (12:08 +0000)]
ext/vorbis/vorbisdec.c: When calculating the first timestamp of the buffers, don't go below 0 and clip the samples be...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_push_forward):
When calculating the first timestamp of the buffers, don't go below 0
and clip the samples because the offset was on the eos page.
Fixes #466717.

17 years agoext/ogg/gstoggdemux.c: Also submit the eos page when trying to find the first timestamp.
Wim Taymans [Tue, 21 Aug 2007 11:42:39 +0000 (11:42 +0000)]
ext/ogg/gstoggdemux.c: Also submit the eos page when trying to find the first timestamp.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_read_chain),
(gst_ogg_demux_collect_chain_info):
Also submit the eos page when trying to find the first timestamp.
See #466717.

17 years agogst-libs/gst/audio/audio.h: Use gst_util_uint64_scale() instead of doing the math...
Sebastian Dröge [Fri, 17 Aug 2007 15:24:43 +0000 (15:24 +0000)]
gst-libs/gst/audio/audio.h: Use gst_util_uint64_scale() instead of doing the math with double for GST_FRAMES_TO_CLOCK...

Original commit message from CVS:
* gst-libs/gst/audio/audio.h:
Use gst_util_uint64_scale() instead of doing the math
with double for GST_FRAMES_TO_CLOCK_TIME() and
GST_CLOCK_TIME_TO_FRAMES(). For large timestamps this
prevents rounding errors. Fixes #467667.

17 years agogst-libs/gst/rtsp/gstrtspconnection.*: Small cleanups.
Wim Taymans [Fri, 17 Aug 2007 13:42:49 +0000 (13:42 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.*: Small cleanups.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_connect), (gst_rtsp_connection_write),
(gst_rtsp_connection_read), (gst_rtsp_connection_poll):
* gst-libs/gst/rtsp/gstrtspconnection.h:
Small cleanups.
On shutdown, don't read the control socket yet.
Set timeout value correctly in all cases.
Add function to check if the server accepts reads or writes.
API: gst_rtsp_connection_poll()
* gst-libs/gst/rtsp/gstrtspdefs.h:
Fix compilation with -pedantic.
Add enum for _poll.

17 years agogst-libs/gst/app/gstappsink.c: Override the preroll vmethod instead of overriding...
Wim Taymans [Thu, 16 Aug 2007 17:11:48 +0000 (17:11 +0000)]
gst-libs/gst/app/gstappsink.c: Override the preroll vmethod instead of overriding the render method twice.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init):
Override the preroll vmethod instead of overriding the render method
twice.

17 years agogst-libs/gst/rtp/gstbasertppayload.*: Add getcaps vfunc to basertppayload. See #465146.
Olivier Crete [Thu, 16 Aug 2007 16:06:21 +0000 (16:06 +0000)]
gst-libs/gst/rtp/gstbasertppayload.*: Add getcaps vfunc to basertppayload. See #465146.

Original commit message from CVS:
Patch by: Olivier Crete  <tester at tester ca>
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_init),
(gst_basertppayload_getcaps):
* gst-libs/gst/rtp/gstbasertppayload.h:
Add getcaps vfunc to basertppayload. See #465146.

17 years agogst/playback/gstplaybasebin.c: Only post buffering messages when we are a stream.
Wim Taymans [Thu, 16 Aug 2007 11:20:56 +0000 (11:20 +0000)]
gst/playback/gstplaybasebin.c: Only post buffering messages when we are a stream.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (queue_threshold_reached):
Only post buffering messages when we are a stream.

17 years agogst-libs/gst/pbutils/: Small docs fix and addition.
Tim-Philipp Müller [Wed, 15 Aug 2007 17:05:45 +0000 (17:05 +0000)]
gst-libs/gst/pbutils/: Small docs fix and addition.

Original commit message from CVS:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/missing-plugins.c:
Small docs fix and addition.

17 years agogst-libs/gst/app/gstappsink.c: Don't use new API.
Wim Taymans [Tue, 14 Aug 2007 17:47:34 +0000 (17:47 +0000)]
gst-libs/gst/app/gstappsink.c: Don't use new API.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_flush_unlocked):
Don't use new API.

17 years agogst-libs/gst/app/gstappsink.*: Make love to appsink.
Wim Taymans [Tue, 14 Aug 2007 17:38:05 +0000 (17:38 +0000)]
gst-libs/gst/app/gstappsink.*: Make love to appsink.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_base_init),
(gst_app_sink_class_init), (gst_app_sink_dispose),
(gst_app_sink_flush_unlocked), (gst_app_sink_start),
(gst_app_sink_stop), (gst_app_sink_event), (gst_app_sink_preroll),
(gst_app_sink_render), (gst_app_sink_get_caps),
(gst_app_sink_set_caps), (gst_app_sink_end_of_stream),
(gst_app_sink_pull_preroll), (gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Make love to appsink.
Make it support pulling of the preroll buffer.
Add docs and debug statements.
Fix some races wrt to EOS handling and stopping.
Implement getcaps.
Implement FLUSHING.
API: gst_app_sink_pull_preroll()