platform/upstream/gstreamer.git
18 years agogst-libs/gst/tag/tag.h: Oops, make that 'Since: 0.10.9'.
Tim-Philipp Müller [Thu, 22 Jun 2006 11:01:41 +0000 (11:01 +0000)]
gst-libs/gst/tag/tag.h: Oops, make that 'Since: 0.10.9'.

Original commit message from CVS:
* gst-libs/gst/tag/tag.h:
Oops, make that 'Since: 0.10.9'.

18 years agoAPI: add GstTagImageType enum to describe images contained in image tags (#345641).
Tim-Philipp Müller [Thu, 22 Jun 2006 10:55:05 +0000 (10:55 +0000)]
API: add GstTagImageType enum to describe images contained in image tags (#345641).

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (register_tag_image_type_enum),
(gst_tag_image_type_get_type):
API: add GstTagImageType enum to describe images contained
in image tags (#345641).

18 years agogst/tcp/gstmultifdsink.c: Fix warnings with gst-inspect: "buffers-min" property shoul...
Tim-Philipp Müller [Thu, 22 Jun 2006 10:31:22 +0000 (10:31 +0000)]
gst/tcp/gstmultifdsink.c: Fix warnings with gst-inspect: "buffers-min" property should be of G_TYPE_INT and not G_TYP...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
Fix warnings with gst-inspect: "buffers-min" property
should be of G_TYPE_INT and not G_TYPE_INT64. Also fix
typo in property description.

18 years agogst/: Avoid unnecessary class cast check in class_init functions (#337747).
Cody Russell [Thu, 22 Jun 2006 10:10:51 +0000 (10:10 +0000)]
gst/: Avoid unnecessary class cast check in class_init functions (#337747).

Original commit message from CVS:
Patch by: Cody Russell <bratsche at gnome org>
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init):
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init):
* gst/volume/gstvolume.c: (gst_volume_class_init):
Avoid unnecessary class cast check in class_init
functions (#337747).

18 years agoext/pango/gsttextoverlay.c: g_markup_escape_text() REALLY doesn't like non-UTF8 input...
Tim-Philipp Müller [Wed, 21 Jun 2006 18:39:07 +0000 (18:39 +0000)]
ext/pango/gsttextoverlay.c: g_markup_escape_text() REALLY doesn't like non-UTF8 input and doesn't validate its input ...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_make_utf8),
(gst_text_overlay_video_chain):
g_markup_escape_text() REALLY doesn't like non-UTF8 input
and doesn't validate its input either (and neither did
textoverlay it seems). Let's do that then and fix #345206.

18 years agogst/tcp/gstmultifdsink.*: Added shiny new burst-on-connect methods.
Wim Taymans [Mon, 19 Jun 2006 17:12:57 +0000 (17:12 +0000)]
gst/tcp/gstmultifdsink.*: Added shiny new burst-on-connect methods.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_unit_type_get_type), (gst_multi_fd_sink_class_init),
(gst_multi_fd_sink_init), (gst_multi_fd_sink_add_full),
(gst_multi_fd_sink_add), (gst_multi_fd_sink_handle_client_read),
(find_syncframe), (find_limits), (assign_value),
(count_burst_unit), (gst_multi_fd_sink_new_client),
(gst_multi_fd_sink_handle_client_write),
(gst_multi_fd_sink_queue_buffer), (gst_multi_fd_sink_render),
(gst_multi_fd_sink_set_property), (gst_multi_fd_sink_get_property),
(gst_multi_fd_sink_change_state):
* gst/tcp/gstmultifdsink.h:
Added shiny new burst-on-connect methods.
Add properties to control the minimal amount of data queued.
Small cleanups.
API: bytes-min property
API: time-min property
API: buffers-min property
API: burst-unit property
API: burst-value property
API: add-full signal
* gst/tcp/gsttcp-marshal.list:
Added new marshaller code for the new signal.
* tests/check/elements/multifdsink.c: (GST_START_TEST),
(multifdsink_suite):
Added testcases for new burst methods.

18 years agoupdate for latest changes
Christian Schaller [Mon, 19 Jun 2006 11:35:47 +0000 (11:35 +0000)]
update for latest changes

Original commit message from CVS:
update for latest changes

18 years agoext/theora/theoradec.c: Implement clipping for accurate seeking.
Edward Hervey [Mon, 19 Jun 2006 09:57:50 +0000 (09:57 +0000)]
ext/theora/theoradec.c: Implement clipping for accurate seeking.

Original commit message from CVS:
* ext/theora/theoradec.c: (clip_buffer), (theora_dec_push):
Implement clipping for accurate seeking.
Closes #345225

18 years agogst/videoscale/gstvideoscale.c: Make videoscale support RGBA, ARGB, BGRA and ABGR...
Philip Jaegenstedt [Mon, 19 Jun 2006 09:08:05 +0000 (09:08 +0000)]
gst/videoscale/gstvideoscale.c: Make videoscale support RGBA, ARGB, BGRA and ABGR. Fixes #345131

Original commit message from CVS:
Patch by: Philip Jaegenstedt <philip at lysator dot liu dot se>
* gst/videoscale/gstvideoscale.c: (gst_video_scale_prepare_size),
(gst_video_scale_transform):
Make videoscale support RGBA, ARGB, BGRA and ABGR. Fixes #345131

18 years agoChangeLog surgery
Tim-Philipp Müller [Sat, 17 Jun 2006 14:18:41 +0000 (14:18 +0000)]
ChangeLog surgery

Original commit message from CVS:
ChangeLog surgery

18 years agoconfigure.ac: Fix --disable-extern (can't set conditionals conditionally, #343602).
Tim-Philipp Müller [Sat, 17 Jun 2006 14:13:03 +0000 (14:13 +0000)]
configure.ac: Fix --disable-extern (can't set conditionals conditionally, #343602).

Original commit message from CVS:
* configure.ac:
Fix --disable-extern (can't set conditionals conditionally,
#343602).

18 years agotests/check/elements/audioresample.c: Add test case for bug #342789 fixed below.
Tim-Philipp Müller [Fri, 16 Jun 2006 15:43:23 +0000 (15:43 +0000)]
tests/check/elements/audioresample.c: Add test case for bug #342789 fixed below.

Original commit message from CVS:
* tests/check/elements/audioresample.c: (test_reuse),
(audioresample_suite):
Add test case for bug #342789 fixed below.

18 years agogst/audioresample/gstaudioresample.c: Implement GstBaseTransform::start and ::stop...
Tim-Philipp Müller [Fri, 16 Jun 2006 15:17:44 +0000 (15:17 +0000)]
gst/audioresample/gstaudioresample.c: Implement GstBaseTransform::start and ::stop so that audioresample can clear it...

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init), (gst_audioresample_init),
(audioresample_start), (audioresample_stop),
(gst_audioresample_set_property), (gst_audioresample_get_property):
Implement GstBaseTransform::start and ::stop so that audioresample
can clear its internal state properly and be reused insted of
causing non-negotiated errors with playbin under some circumstances
(#342789).
* tests/check/elements/audioresample.c: (setup_audioresample),
(cleanup_audioresample):
Need to set element state here so that ::start and ::stop are
called.

18 years agogst-libs/gst/riff/riff-read.c: Parse extra data better, apparently it's right behind...
Young-Ho Cha [Fri, 16 Jun 2006 13:59:29 +0000 (13:59 +0000)]
gst-libs/gst/riff/riff-read.c: Parse extra data better, apparently it's right behind the normal strf header size. Fix...

Original commit message from CVS:
Patch by: Young-Ho Cha <ganadist at chollian dot net>
* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_vids):
Parse extra data better, apparently it's right behind
the normal strf header size. Fixes #343500.

18 years agoext/alsa/gstalsasink.c: If we fail to set the buffer_time and period_time alsa parame...
Wim Taymans [Fri, 16 Jun 2006 11:04:21 +0000 (11:04 +0000)]
ext/alsa/gstalsasink.c: If we fail to set the buffer_time and period_time alsa parameters, post a warning and leave a...

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams):
If we fail to set the buffer_time and period_time alsa
parameters, post a warning and leave alsa select a
default instead of failing. Fixes #342085

18 years agoChangeLog surgery (it wouldn't have crashed, just shown bogus values)
Tim-Philipp Müller [Fri, 16 Jun 2006 10:30:25 +0000 (10:30 +0000)]
ChangeLog surgery (it wouldn't have crashed, just shown bogus values)

Original commit message from CVS:
ChangeLog surgery (it wouldn't have crashed, just shown bogus values)

18 years agoRemove GST_CDDA_TAG_TRACK_TAGS again, it is #ifdef 0'ed out in the header file and...
Tim-Philipp Müller [Fri, 16 Jun 2006 10:20:10 +0000 (10:20 +0000)]
Remove GST_CDDA_TAG_TRACK_TAGS again, it is #ifdef 0'ed out in the header file and shouldn't be listed in the docs.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/cdda/gstcddabasesrc.h:
Remove GST_CDDA_TAG_TRACK_TAGS again, it is #ifdef 0'ed
out in the header file and shouldn't be listed in the docs.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
Fix it so that it doesn't crash in the debug statement.

18 years agodocs/libs/: add remaining symbols into correct setions
Stefan Kost [Fri, 16 Jun 2006 10:02:25 +0000 (10:02 +0000)]
docs/libs/: add remaining symbols into correct setions

Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/gst-plugins-base-libs.types:
add remaining symbols into correct setions
* gst-libs/gst/audio/gstringbuffer.c:
fix incomplete docs
* gst-libs/gst/audio/gstringbuffer.h:
comment out not yet implemented function
* gst-libs/gst/floatcast/floatcast.h:
* gst-libs/gst/netbuffer/gstnetbuffer.c:
add short descriptions
* gst-libs/gst/interfaces/propertyprobe.c:
fix return value docs
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
simplify debug logging
* gst-libs/gst/riff/riff-read.h:
sync function prototype and docs
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
remove left over symbol

18 years agoUse GST_PLUGIN_DOCS macro in configure.ac, add
Tim-Philipp Müller [Fri, 16 Jun 2006 09:56:41 +0000 (09:56 +0000)]
Use GST_PLUGIN_DOCS macro in configure.ac, add

Original commit message from CVS:
* autogen.sh:
* configure.ac:
* docs/Makefile.am:
Use GST_PLUGIN_DOCS macro in configure.ac, add
--enable-plugin-docs default to autogen.sh and use
ENABLE_PLUGIN_DOCS conditional in Makefile.am (#344039).

18 years agoext/ogg/gstoggdemux.c: Combine GstFlowReturn from the source pads to give a meaningfu...
Wim Taymans [Thu, 15 Jun 2006 15:27:49 +0000 (15:27 +0000)]
ext/ogg/gstoggdemux.c: Combine GstFlowReturn from the source pads to give a meaningfull result to the upstream peer o...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_combine_flows),
(gst_ogg_demux_loop):
Combine GstFlowReturn from the source pads to give a
meaningfull result to the upstream peer or to stop the
processing task in case of errors.

18 years agogst/playback/gststreaminfo.c: Try GST_TAG_CODEC as fallback when extracting the codec...
Tim-Philipp Müller [Wed, 14 Jun 2006 14:49:33 +0000 (14:49 +0000)]
gst/playback/gststreaminfo.c: Try GST_TAG_CODEC as fallback when extracting the codec name; more debug info.

Original commit message from CVS:
* gst/playback/gststreaminfo.c: (cb_probe):
Try GST_TAG_CODEC as fallback when extracting the
codec name; more debug info.

18 years agoext/ogg/: Extract language tags from ogm subtitle streams, so that the subtitle menu...
Tim-Philipp Müller [Wed, 14 Jun 2006 14:34:28 +0000 (14:34 +0000)]
ext/ogg/: Extract language tags from ogm subtitle streams, so that the subtitle menu choices are labelled correctly in

Original commit message from CVS:
* ext/ogg/Makefile.am:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
Extract language tags from ogm subtitle streams, so that
the subtitle menu choices are labelled correctly in
Totem (fixes #344708).

18 years agoext/ogg/gstoggmux.c: Fix various leaks. Fixes #343699.
Alessandro Decina [Wed, 14 Jun 2006 09:13:54 +0000 (09:13 +0000)]
ext/ogg/gstoggmux.c: Fix various leaks. Fixes #343699.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_get_type), (gst_ogg_mux_clear),
(gst_ogg_mux_release_pad), (gst_ogg_mux_get_headers),
(gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_init_collectpads),
(gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
Fix various leaks. Fixes #343699.
Add x-smoke mime type.

18 years agogst-libs/gst/riff/riff-ids.h: Add IDs for 'bext' chunks (see #343837).
Tim-Philipp Müller [Wed, 14 Jun 2006 08:17:45 +0000 (08:17 +0000)]
gst-libs/gst/riff/riff-ids.h: Add IDs for 'bext' chunks (see #343837).

Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
Add IDs for 'bext' chunks (see #343837).

18 years agogst/subparse/samiparse.c: Honour font face tags in SAMI subtitles (#344503).
Young-Ho Cha [Mon, 12 Jun 2006 12:44:38 +0000 (12:44 +0000)]
gst/subparse/samiparse.c: Honour font face tags in SAMI subtitles (#344503).

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* gst/subparse/samiparse.c: (sami_context_pop_state),
(handle_start_font), (end_sami_element):
Honour font face tags in SAMI subtitles (#344503).

18 years agopo/POTFILES.in: add missing files containing translatable strings
Stefan Kost [Sun, 11 Jun 2006 20:41:56 +0000 (20:41 +0000)]
po/POTFILES.in: add missing files containing translatable strings

Original commit message from CVS:
* po/POTFILES.in:
add missing files containing translatable strings

18 years agodocs/libs/tmpl/.cvsignore: we don't want those *.sgml files in CVS either
Stefan Kost [Sun, 11 Jun 2006 19:55:32 +0000 (19:55 +0000)]
docs/libs/tmpl/.cvsignore: we don't want those *.sgml files in CVS either

Original commit message from CVS:
* docs/libs/tmpl/.cvsignore:
we don't want those *.sgml files in CVS either

18 years agoignore more
Stefan Kost [Sun, 11 Jun 2006 19:44:49 +0000 (19:44 +0000)]
ignore more

Original commit message from CVS:
* docs/libs/.cvsignore:
* tests/check/elements/.cvsignore:
* tests/check/libs/.cvsignore:
ignore more

18 years agodocs/libs/Makefile.am: also commiting the changed Makefile.am (added more libs to...
Stefan Kost [Sun, 11 Jun 2006 18:33:27 +0000 (18:33 +0000)]
docs/libs/Makefile.am: also commiting the changed Makefile.am (added more libs to the doc-build)

Original commit message from CVS:
* docs/libs/Makefile.am:
also commiting the changed Makefile.am (added more libs to the
doc-build)

18 years agodocs/libs/: first batch of reordering things, add index & hierarchy
Stefan Kost [Sun, 11 Jun 2006 17:08:26 +0000 (17:08 +0000)]
docs/libs/: first batch of reordering things, add index & hierarchy

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/gst-plugins-base-libs.types:
first batch of reordering things, add index & hierarchy

18 years agofurther clean up build
Thomas Vander Stichele [Sun, 11 Jun 2006 14:08:54 +0000 (14:08 +0000)]
further clean up build

Original commit message from CVS:
further clean up build

18 years agoconfigure.ac: use GST_PKG_CHECK_MODULES, cleans up output
Thomas Vander Stichele [Sun, 11 Jun 2006 12:14:18 +0000 (12:14 +0000)]
configure.ac: use GST_PKG_CHECK_MODULES, cleans up output

Original commit message from CVS:

* configure.ac:
use GST_PKG_CHECK_MODULES, cleans up output

18 years agoupdate to cvs
Thomas Vander Stichele [Sun, 11 Jun 2006 12:10:55 +0000 (12:10 +0000)]
update to cvs

Original commit message from CVS:
update to cvs

18 years agoext/gnomevfs/gstgnomevfsuri.c: Add support for burn:// URIs (#343385); const-ify...
Tim-Philipp Müller [Sat, 10 Jun 2006 18:52:03 +0000 (18:52 +0000)]
ext/gnomevfs/gstgnomevfsuri.c: Add support for burn:// URIs (#343385); const-ify things a bit, use G_N_ELEMENTS inste...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
Add support for burn:// URIs (#343385); const-ify things a bit,
use G_N_ELEMENTS instead of hard-coded array size.

18 years agogst/subparse/samiparse.c: Fix up broken entities before passing them to libxml *sigh...
Young-Ho Cha [Sat, 10 Jun 2006 18:25:07 +0000 (18:25 +0000)]
gst/subparse/samiparse.c: Fix up broken entities before passing them to libxml *sigh*. (#343303).

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* gst/subparse/samiparse.c: (fix_invalid_entities), (parse_sami):
Fix up broken entities before passing them to libxml *sigh*.
(#343303).

18 years agoback to trunk
Thomas Vander Stichele [Fri, 9 Jun 2006 18:52:35 +0000 (18:52 +0000)]
back to trunk

Original commit message from CVS:
back to trunk

18 years agoreleasing 0.10.8
Thomas Vander Stichele [Fri, 9 Jun 2006 18:49:26 +0000 (18:49 +0000)]
releasing 0.10.8

Original commit message from CVS:
releasing 0.10.8

18 years ago0.10.7.2 prerelease
Thomas Vander Stichele [Wed, 7 Jun 2006 11:04:09 +0000 (11:04 +0000)]
0.10.7.2 prerelease

Original commit message from CVS:
* configure.ac:
* po/af.po:
* po/az.po:
* po/cs.po:
* po/en_GB.po:
* po/hu.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/or.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/uk.po:
* po/vi.po:
* win32/common/config.h:
0.10.7.2 prerelease

18 years agomove last template doc snippets to source code and delete them
Thomas Vander Stichele [Wed, 7 Jun 2006 11:03:03 +0000 (11:03 +0000)]
move last template doc snippets to source code and delete them

Original commit message from CVS:
* docs/libs/tmpl/gstaudio.sgml:
* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstringbuffer.sgml:
* docs/libs/tmpl/gsttuner.sgml:
* docs/libs/tmpl/gstxoverlay.sgml:
* gst-libs/gst/audio/audio.c:
* gst-libs/gst/audio/gstringbuffer.c:
* gst-libs/gst/interfaces/colorbalance.c:
* gst-libs/gst/interfaces/mixer.c:
* gst-libs/gst/interfaces/tuner.c:
* gst-libs/gst/interfaces/xoverlay.c:
move last template doc snippets to source code and delete them

18 years agoadapt to new api
Thomas Vander Stichele [Tue, 6 Jun 2006 16:26:59 +0000 (16:26 +0000)]
adapt to new api

Original commit message from CVS:
adapt to new api

18 years agoconfigure.ac: enable building of GDP elements
Thomas Vander Stichele [Tue, 6 Jun 2006 14:39:15 +0000 (14:39 +0000)]
configure.ac: enable building of GDP elements

Original commit message from CVS:
* configure.ac:
enable building of GDP elements
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_buffer_from_caps),
(gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_sink_event),
(gst_gdp_pay_set_property), (gst_gdp_pay_get_property),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
add version 1.0

18 years agoext/theora/theoraparse.c: Mark DELTA_UNIT on non-keyframes.
Michael Smith [Tue, 6 Jun 2006 11:13:18 +0000 (11:13 +0000)]
ext/theora/theoraparse.c: Mark DELTA_UNIT on non-keyframes.

Original commit message from CVS:
* ext/theora/theoraparse.c: (theora_parse_drain_queue_prematurely),
(theora_parse_drain_queue):
Mark DELTA_UNIT on non-keyframes.

18 years agogst-libs/gst/audio/: Document better the fact that latency_time and buffer_time are...
Jan Schmidt [Sat, 3 Jun 2006 21:06:49 +0000 (21:06 +0000)]
gst-libs/gst/audio/: Document better the fact that latency_time and buffer_time are values stored in microseconds, an...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_setcaps):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_parse_caps),
(gst_ring_buffer_samples_done):
* gst-libs/gst/audio/gstringbuffer.h:
Document better the fact that latency_time and buffer_time are values
stored in microseconds, and not the usual GStreamer nanoseconds.
Change the variables (compatibly) that store them from GstClockTime
to guint64 to make it more clear that they're not storing clock times.
Also, remove the bogus property description that says the user can
specify -1 to get the default value, since that's never been the case.
When computing the default segment size for the ring buffer, make it
an integer number of samples.
When the sub-class indicates a delay greater than the number of
samples we've written return 0 from the audio sink get_time method.

18 years agotests/check/: Don't busy-wait in tests; this was causing test timeouts very frequentl...
Michael Smith [Fri, 2 Jun 2006 17:01:02 +0000 (17:01 +0000)]
tests/check/: Don't busy-wait in tests; this was causing test timeouts very frequently when running under valgrind.

Original commit message from CVS:
* tests/check/elements/audioconvert.c: (set_channel_positions),
(get_float_mc_caps), (get_int_mc_caps):
* tests/check/elements/audioresample.c:
* tests/check/elements/audiotestsrc.c: (GST_START_TEST):
* tests/check/elements/videorate.c:
* tests/check/elements/videotestsrc.c: (GST_START_TEST):
* tests/check/elements/volume.c:
* tests/check/elements/vorbisdec.c:
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
Don't busy-wait in tests; this was causing test timeouts very
frequently when running under valgrind.

18 years agosmall fixes
Thomas Vander Stichele [Fri, 2 Jun 2006 16:45:59 +0000 (16:45 +0000)]
small fixes

Original commit message from CVS:
small fixes

18 years agofail_if_can_read is racy
Thomas Vander Stichele [Fri, 2 Jun 2006 16:35:12 +0000 (16:35 +0000)]
fail_if_can_read is racy

Original commit message from CVS:
fail_if_can_read is racy

18 years agogst/tcp/: make multifdsink properly deal with streamheader:
Thomas Vander Stichele [Fri, 2 Jun 2006 16:26:54 +0000 (16:26 +0000)]
gst/tcp/: make multifdsink properly deal with streamheader:

Original commit message from CVS:
* gst/tcp/README:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_init),
(gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_client_queue_caps),
(gst_multi_fd_sink_client_queue_buffer),
(gst_multi_fd_sink_handle_client_write),
(gst_multi_fd_sink_render):
* gst/tcp/gstmultifdsink.h:
make multifdsink properly deal with streamheader:
- streamheader is taken from caps
- buffers marked with IN_CAPS are not sent
- streamheaders are sent, on connection, from the caps of the
buffer where the client gets positioned to
- further streamheader changes are done every time the client
will receive a buffer with different caps
* tests/check/elements/multifdsink.c: (GST_START_TEST),
(gst_multifdsink_create_streamheader):
add tests for this

18 years agoext/vorbis/vorbisdec.c: Reinstate limit on channel count. Vorbis does not define...
Michael Smith [Fri, 2 Jun 2006 15:06:59 +0000 (15:06 +0000)]
ext/vorbis/vorbisdec.c: Reinstate limit on channel count. Vorbis does not define the meaning of > 6 channels, so they...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_identification_packet):
Reinstate limit on channel count. Vorbis does not define the meaning
of > 6 channels, so they're just independent channels. Gstreamer
currently has no mechanism to represent N independent channels.

18 years agoext/vorbis/vorbisdec.c: Don't arbitrarily restrict channel counts and rate in vorbis.
Michael Smith [Fri, 2 Jun 2006 14:23:34 +0000 (14:23 +0000)]
ext/vorbis/vorbisdec.c: Don't arbitrarily restrict channel counts and rate in vorbis.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_identification_packet):
Don't arbitrarily restrict channel counts and rate in vorbis.
In terms of effects likely on real-world files, this fixes 96kHz
playback of vorbis.

18 years agogst/audioconvert/audioconvert.c: More correct float->int conversion.
Michael Smith [Fri, 2 Jun 2006 14:19:18 +0000 (14:19 +0000)]
gst/audioconvert/audioconvert.c: More correct float->int conversion.

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float):
More correct float->int conversion.

18 years agoext/ogg/gstoggdemux.c: Don't accidently send GST_CLOCK_TIME_NONE as a new segment...
Michael Smith [Fri, 2 Jun 2006 14:07:42 +0000 (14:07 +0000)]
ext/ogg/gstoggdemux.c: Don't accidently send GST_CLOCK_TIME_NONE as a new segment start value. Fixes g-critical on tr...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_perform_seek):
Don't accidently send GST_CLOCK_TIME_NONE as a new segment start
value. Fixes g-critical on trying to play back ogg containing
unknown codec.

18 years agogst/playback/gstplaybasebin.*: Make the subtitle detection work from any thread so...
Wim Taymans [Fri, 2 Jun 2006 10:34:12 +0000 (10:34 +0000)]
gst/playback/gstplaybasebin.*: Make the subtitle detection work from any thread so we don't deadlock. Fixes #343397.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_create), (group_commit),
(setup_source):
* gst/playback/gstplaybasebin.h:
Make the subtitle detection work from any thread so we don't
deadlock. Fixes #343397.

18 years agogst/gdp/gstgdppay.c: add crc-header and crc-payload properties don't error out on...
Thomas Vander Stichele [Fri, 2 Jun 2006 10:28:32 +0000 (10:28 +0000)]
gst/gdp/gstgdppay.c: add crc-header and crc-payload properties don't error out on some things that are recoverable

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_buffer_from_caps),
(gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_set_property),
(gst_gdp_pay_get_property):
add crc-header and crc-payload properties
don't error out on some things that are recoverable
* tests/check/elements/gdppay.c: (GST_START_TEST), (gdppay_suite):
add test for crc

18 years agoshow type number when packet is of the wrong type
Thomas Vander Stichele [Fri, 2 Jun 2006 09:17:07 +0000 (09:17 +0000)]
show type number when packet is of the wrong type

Original commit message from CVS:
show type number when packet is of the wrong type

18 years agogst/volume/Makefile.am: Seriously, it's not *that* hard to get compilation right...
Thomas Vander Stichele [Thu, 1 Jun 2006 23:04:32 +0000 (23:04 +0000)]
gst/volume/Makefile.am: Seriously, it's not *that* hard to get compilation right.  Even a drunk can do it ! Add LIBOI...

Original commit message from CVS:

* gst/volume/Makefile.am:
Seriously, it's not *that* hard to get compilation right.  Even
a drunk can do it ! Add LIBOIL CFLAGS and LIBS

18 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 22:00:23 +0000 (22:00 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agogst/volume/gstvolume.*: rewrite the passthrough check, split _int16 and _int16_clamp...
Stefan Kost [Thu, 1 Jun 2006 20:39:30 +0000 (20:39 +0000)]
gst/volume/gstvolume.*: rewrite the passthrough check, split _int16 and _int16_clamp, fix another property desc., rem...

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_real_volume), (gst_volume_class_init),
(gst_volume_init), (volume_process_float), (volume_process_int16),
(volume_process_int16_clamp), (volume_set_caps),
(volume_transform_ip), (plugin_init):
* gst/volume/gstvolume.h:
rewrite the passthrough check, split _int16 and _int16_clamp, fix
another property desc., remove unused param from process function
* tests/check/elements/volume.c: (volume_suite):
reactivate the passthrough test

18 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 19:19:51 +0000 (19:19 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/alsa/gstalsamixerelement.h:
* ext/alsa/gstalsamixeroptions.h:
* ext/alsa/gstalsamixertrack.h:
* ext/gnomevfs/gstgnomevfssink.h:
* ext/gnomevfs/gstgnomevfssrc.h:
* ext/theora/gsttheoradec.h:
* ext/theora/gsttheoraenc.h:
* ext/theora/gsttheoraparse.h:
* ext/vorbis/vorbisparse.h:
* gst-libs/gst/audio/gstaudioclock.h:
* gst-libs/gst/audio/gstaudiofilter.h:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
* gst/audioconvert/gstaudioconvert.h:
* gst/audioresample/gstaudioresample.h:
* gst/audiotestsrc/gstaudiotestsrc.h:
* gst/ffmpegcolorspace/gstffmpegcolorspace.h:
* gst/playback/gststreamselector.h:
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.h:
* gst/videorate/gstvideorate.h:
* gst/videoscale/gstvideoscale.h:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/volume/gstvolume.h:
* sys/v4l/gstv4ljpegsrc.h:
* sys/v4l/gstv4lmjpegsink.h:
* sys/v4l/gstv4lmjpegsrc.h:
* sys/v4l/gstv4lsrc.h:
* sys/ximage/ximagesink.h:
* sys/xvimage/xvimagesink.h:
* tests/old/testsuite/alsa/sinesrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

18 years agoremove wrong commit
Thomas Vander Stichele [Wed, 31 May 2006 16:56:45 +0000 (16:56 +0000)]
remove wrong commit

Original commit message from CVS:
remove wrong commit

18 years agoext/libvisual/visual.c: Handle DISCONT.
Wim Taymans [Wed, 31 May 2006 16:21:48 +0000 (16:21 +0000)]
ext/libvisual/visual.c: Handle DISCONT.

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_reset),
(gst_visual_sink_setcaps), (gst_visual_sink_event),
(gst_visual_src_event), (get_buffer), (gst_visual_chain):
Handle DISCONT.
Use running time before doing QoS.
Handle mono too.

18 years agodocs/libs/Makefile.am: set a magic variable to indicate we know the docs are incomplete
Thomas Vander Stichele [Wed, 31 May 2006 14:17:30 +0000 (14:17 +0000)]
docs/libs/Makefile.am: set a magic variable to indicate we know the docs are incomplete

Original commit message from CVS:

* docs/libs/Makefile.am:
set a magic variable to indicate we know the docs are incomplete

18 years agowin32/common/libgstvideo.def: export gst_video_calculate_display_ratio
Sébastien Moutte [Tue, 30 May 2006 20:33:59 +0000 (20:33 +0000)]
win32/common/libgstvideo.def: export gst_video_calculate_display_ratio

Original commit message from CVS:
* win32/common/libgstvideo.def:
export gst_video_calculate_display_ratio
* win32/vs6/libgstvideoscale.dsp:
add link to libgstvideo-0.10.lib

18 years agogst/playback/gstplaybasebin.c: Throw a more comprehensible error for rtsp:// URIs...
Tim-Philipp Müller [Tue, 30 May 2006 19:00:39 +0000 (19:00 +0000)]
gst/playback/gstplaybasebin.c: Throw a more comprehensible error for rtsp:// URIs (rather than erroring out with a ne...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_source_element):
Throw a more comprehensible error for rtsp:// URIs (rather
than erroring out with a negotiation error later on) until
we fix playbin to handle rtspsrc etc.

18 years agoext/pango/gsttextoverlay.c: Added some FIXMEs.
Wim Taymans [Tue, 30 May 2006 16:09:36 +0000 (16:09 +0000)]
ext/pango/gsttextoverlay.c: Added some FIXMEs.

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event),
(gst_text_overlay_text_event):
Added some FIXMEs.

18 years agogst/adder/gstadder.*: Implement release_request_pad.
Wim Taymans [Tue, 30 May 2006 16:07:50 +0000 (16:07 +0000)]
gst/adder/gstadder.*: Implement release_request_pad.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_class_init), (gst_adder_init),
(gst_adder_request_new_pad), (gst_adder_release_pad):
* gst/adder/gstadder.h:
Implement release_request_pad.
Make padcounter atomic.
* tests/check/elements/adder.c: (GST_START_TEST), (adder_suite):
Added check for release_pad in adder.

18 years agoext/ogg/gstoggdemux.c: Fix build again.
Wim Taymans [Tue, 30 May 2006 16:04:14 +0000 (16:04 +0000)]
ext/ogg/gstoggdemux.c: Fix build again.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_chain_new_stream):
Fix build again.

18 years agoext/ogg/gstoggdemux.c: add more debugging clean up printf formats for granulepos...
Thomas Vander Stichele [Tue, 30 May 2006 14:59:24 +0000 (14:59 +0000)]
ext/ogg/gstoggdemux.c: add more debugging clean up printf formats for granulepos and serialno

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind),
(gst_ogg_demux_chain_elem_pad), (gst_ogg_demux_queue_data),
(gst_ogg_demux_chain_peer), (gst_ogg_pad_submit_packet),
(gst_ogg_pad_submit_page), (gst_ogg_chain_new_stream),
(gst_ogg_demux_seek), (gst_ogg_demux_get_data),
(gst_ogg_demux_get_next_page), (gst_ogg_demux_do_seek),
(gst_ogg_demux_bisect_forward_serialno),
(gst_ogg_demux_read_chain), (gst_ogg_demux_find_chains),
(gst_ogg_demux_chain), (gst_ogg_demux_loop), (gst_ogg_print):
add more debugging
clean up printf formats for granulepos and serialno

18 years agoproperly fail if we can't make an element
Thomas Vander Stichele [Tue, 30 May 2006 14:31:43 +0000 (14:31 +0000)]
properly fail if we can't make an element

Original commit message from CVS:
properly fail if we can't make an element

18 years agoext/vorbis/vorbisenc.*: Multi-channel caps negotiation, so we can do proper multichan...
Michael Smith [Tue, 30 May 2006 13:22:58 +0000 (13:22 +0000)]
ext/vorbis/vorbisenc.*: Multi-channel caps negotiation, so we can do proper multichannel vorbis encoding, negotiated ...

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (raw_caps_factory),
(gst_vorbis_enc_class_init), (gst_vorbis_enc_dispose),
(gst_vorbis_enc_generate_sink_caps), (gst_vorbis_enc_sink_getcaps),
(gst_vorbis_enc_init), (gst_vorbis_enc_buffer_from_header_packet),
(gst_vorbis_enc_chain), (gst_vorbis_enc_change_state):
* ext/vorbis/vorbisenc.h:
Multi-channel caps negotiation, so we can do proper multichannel
vorbis encoding, negotiated through audioconvert.

18 years agotests/check/elements/adder.c: Added check to show that #339935 is fixed with ongoing...
Wim Taymans [Tue, 30 May 2006 11:45:52 +0000 (11:45 +0000)]
tests/check/elements/adder.c: Added check to show that #339935 is fixed with ongoing adder and collectpads fixes.

Original commit message from CVS:
* tests/check/elements/adder.c: (test_event_message_received),
(test_play_twice_message_received), (GST_START_TEST),
(adder_suite):
Added check to show that #339935 is fixed with ongoing
adder and collectpads fixes.

18 years agogst/adder/gstadder.c: Don't leak pad name.
Wim Taymans [Mon, 29 May 2006 17:19:48 +0000 (17:19 +0000)]
gst/adder/gstadder.c: Don't leak pad name.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_request_new_pad):
Don't leak pad name.

18 years agogst/adder/gstadder.c: Fix adder seeking.
Wim Taymans [Mon, 29 May 2006 15:49:53 +0000 (15:49 +0000)]
gst/adder/gstadder.c: Fix adder seeking.

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_query_duration),
(forward_event_func), (forward_event), (gst_adder_src_event):
Fix adder seeking.
Make query/seeking code threadsafe.
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (test_event_message_received),
(GST_START_TEST), (test_play_twice_message_received):
Fix adder test case.

18 years agogst/playback/gstplaybasebin.*: Add 'subtitle-encoding' property to playbin, so applic...
Young-Ho Cha [Mon, 29 May 2006 13:21:00 +0000 (13:21 +0000)]
gst/playback/gstplaybasebin.*: Add 'subtitle-encoding' property to playbin, so applications can force a subtitle enco...

Original commit message from CVS:
Patch by: Young-Ho Cha  <ganadist at chollian net>
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (gst_play_base_bin_dispose),
(set_encoding_element), (decodebin_element_added_cb),
(decodebin_element_removed_cb), (setup_subtitle), (setup_source),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property):
* gst/playback/gstplaybasebin.h:
Add 'subtitle-encoding' property to playbin, so applications can
force a subtitle encoding for non-UTF8 subtitles (#342268).
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init),
(gst_sub_parse_set_property):
Rename recently-added 'encoding' property to 'subtitle-encoding'
(so it can be proxied by playbin/decodebin in a generic way
with less danger of false positives).

18 years agogst/audioconvert/gstaudioconvert.c: Patch from #341562: give more specific audio...
Michael Smith [Mon, 29 May 2006 11:04:48 +0000 (11:04 +0000)]
gst/audioconvert/gstaudioconvert.c: Patch from #341562: give more specific audio caps in get_caps, so that basetransf...

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (make_lossless_changes),
(append_with_other_format), (set_structure_widths),
(gst_audio_convert_transform_caps):
Patch from #341562: give more specific audio caps in get_caps, so
that basetransform  can make better decisions on what caps to
negotiate.

18 years agotests/check/elements/volume.c: make it compile again
Stefan Kost [Sun, 28 May 2006 20:04:12 +0000 (20:04 +0000)]
tests/check/elements/volume.c: make it compile again

Original commit message from CVS:
* tests/check/elements/volume.c:
make it compile again

18 years agotests/check/elements/volume.c: disable test until #343196 gets resolved
Stefan Kost [Sun, 28 May 2006 19:56:25 +0000 (19:56 +0000)]
tests/check/elements/volume.c: disable test until #343196 gets resolved

Original commit message from CVS:
* tests/check/elements/volume.c: (volume_suite):
disable test until #343196 gets resolved

18 years agogst/adder/gstadder.c: Make it easier to copy&paste
Stefan Kost [Sun, 28 May 2006 19:42:27 +0000 (19:42 +0000)]
gst/adder/gstadder.c: Make it easier to copy&paste

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_get_type):
Make it easier to copy&paste
* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_update_real_volume),
(gst_volume_set_volume), (gst_volume_set_mute),
(gst_volume_class_init), (volume_process_int16), (volume_set_caps),
(volume_transform_ip), (volume_update_mute),
(volume_update_volume):
* gst/volume/gstvolume.h:
Add own debug category, move duplicate code to helper function, fix
property texts, add more comments and prepare ffor liboil-goodness
* tests/check/Makefile.am:
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
add test for mute and passtrough case, be a bit more verbose to track
failure
* tests/check/generic/states.c: (GST_START_TEST):
catch elements that fail to instantiate

18 years agotests/check/pipelines/: Comment out tests using parse_launch() if core was built...
Edward Hervey [Sun, 28 May 2006 09:37:18 +0000 (09:37 +0000)]
tests/check/pipelines/: Comment out tests using parse_launch() if core was built without parsing capabilities.

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Comment out tests using parse_launch() if core was built without
parsing capabilities.

18 years agotests/check/Makefile.am: Extra bonus points for whoever explains to ensonic that...
Edward Hervey [Sat, 27 May 2006 13:34:03 +0000 (13:34 +0000)]
tests/check/Makefile.am: Extra bonus points for whoever explains to ensonic that you are meant to test unit tests tho...

Original commit message from CVS:
* tests/check/Makefile.am:
Extra bonus points for whoever explains to ensonic that you are meant
to test unit tests thoroughly before commiting them, especially if
you know it's going to break.
De-activated element/adder tests.

18 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Marking caps conversion issues as GST_WARNI...
Edward Hervey [Sat, 27 May 2006 13:09:16 +0000 (13:09 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Marking caps conversion issues as GST_WARNING is way too verbose,

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps):
Marking caps conversion issues as GST_WARNING is way too verbose,
Moving them to GST_LOG.

18 years agoREADME: Replace current README (containing the release notes from some 0.9.x version...
Tim-Philipp Müller [Sat, 27 May 2006 11:26:18 +0000 (11:26 +0000)]
README: Replace current README (containing the release notes from some 0.9.x version) with a proper README taken from...

Original commit message from CVS:
* README:
Replace current README (containing the release notes from
some 0.9.x version) with a proper README taken from the core.

18 years agoext/vorbis/vorbisdec.c: Small cleanups.
Wim Taymans [Fri, 26 May 2006 15:52:23 +0000 (15:52 +0000)]
ext/vorbis/vorbisdec.c: Small cleanups.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_sink_event), (vorbis_do_clip),
(vorbis_dec_push), (vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
Small cleanups.
Add some FIXMEs
Clip output samples to segment boundaries.

18 years agosys/ximage/ximagesink.c: Improve the errors produced on bad output, including some...
Jan Schmidt [Fri, 26 May 2006 11:17:57 +0000 (11:17 +0000)]
sys/ximage/ximagesink.c: Improve the errors produced on bad output, including some human readable description strings.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_xcontext_get), (gst_ximagesink_show_frame):
Improve the errors produced on bad output, including some human
readable description strings.
Handle the (theoretical for ximagesink) case where the XServer
has a different idea about the size required for a particular
frame and gives us too small a memory allocation.

18 years agoMention bugs fixed by previous commit
Jan Schmidt [Fri, 26 May 2006 10:18:41 +0000 (10:18 +0000)]
Mention bugs fixed by previous commit

Original commit message from CVS:
Mention bugs fixed by previous commit

18 years agosys/xvimage/xvimagesink.c: Improve the errors produced on bad output, including some...
Jan Schmidt [Fri, 26 May 2006 09:40:35 +0000 (09:40 +0000)]
sys/xvimage/xvimagesink.c: Improve the errors produced on bad output, including some human readable description strings.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_get_format_from_caps), (gst_xvimagesink_setcaps),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc):
Improve the errors produced on bad output, including some human
readable description strings.
Handle RGB Xv formats properly by transforming them into our
big-endian caps description.
Use gst_caps_truncate to ensure that we never try and choose a
non-fixed caps in buffer_alloc.
Handle the case where the XServer has a different idea about the size
required for a particular frame and gives us too small a memory
allocation.
Use -1 to indicate 'no image format', because 0 is a valid XServer
image format number.
Put RGB Xv formats at the end of the caps, so that we always prefer
YUV format frames.
Iterate the available Xv Encodings to determine the maximum width and
height, and then return that in our caps.

18 years agogst/playback/gstdecodebin.c: When there is only one unfinished pad and it receives...
Jan Schmidt [Thu, 25 May 2006 16:50:17 +0000 (16:50 +0000)]
gst/playback/gstdecodebin.c: When there is only one unfinished pad and it receives an event that doesn't match our re...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (remove_fakesink), (pad_probe):
When there is only one unfinished pad and it receives an event that
doesn't match our requirements, we need to set alldone=FALSE so that
the fakesink is not removed yet.

18 years agoext/ogg/gstoggdemux.c: Use gst_type_find_helper_for_buffer() to find the type of...
Tim-Philipp Müller [Thu, 25 May 2006 09:32:31 +0000 (09:32 +0000)]
ext/ogg/gstoggdemux.c: Use gst_type_find_helper_for_buffer() to find the type of stream from the first packet.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
Use gst_type_find_helper_for_buffer() to find the type
of stream from the first packet.
* configure.ac:
Bump requirements to core CVS (needed for vorbis
typefinding to work).

18 years agogst/typefind/gsttypefindfunctions.c: Added the 'prfl' atom type which MQV (no, it...
Edward Hervey [Wed, 24 May 2006 08:34:53 +0000 (08:34 +0000)]
gst/typefind/gsttypefindfunctions.c: Added the 'prfl' atom type which MQV (no, it's not a typo) files contain.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Added the 'prfl' atom type which MQV (no, it's not a typo) files contain.
Else they play perfectly fine with qtdemux.

18 years agomake more debug catagories static
Stefan Kost [Tue, 23 May 2006 20:38:56 +0000 (20:38 +0000)]
make more debug catagories static

Original commit message from CVS:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/theora/theoraparse.c: (gst_theora_parse_class_init):
* gst/audiorate/gstaudiorate.c:
make more debug catagories static
* tests/check/Makefile.am:
* tests/check/elements/adder.c: (message_received),
(test_event_message_received), (GST_START_TEST),
(test_play_twice_message_received), (adder_suite):
added test case for using element twice, extra bonus points for anyone
who can make these test run reliably

18 years agoext/theora/theoradec.c: Make work with time-stamped input buffers that do not have...
Tim-Philipp Müller [Tue, 23 May 2006 15:18:40 +0000 (15:18 +0000)]
ext/theora/theoradec.c: Make work with time-stamped input buffers that do not have a granulepos in BUFFER_OFFSET_END ...

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Make work with time-stamped input buffers that do not
have a granulepos in BUFFER_OFFSET_END (like theora
buffers coming from matroskademux). Fixes #342448.

18 years agogst/gdp/: Handle error cases when calling functions do downwards state change after...
Thomas Vander Stichele [Mon, 22 May 2006 15:53:07 +0000 (15:53 +0000)]
gst/gdp/: Handle error cases when calling functions do downwards state change after parent's change_state

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader),
(gst_gdp_pay_chain), (gst_gdp_pay_sink_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Handle error cases when calling functions
do downwards state change after parent's change_state
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gdppay.c: (GST_START_TEST):
clean up more

18 years agoadding GDP payloader and depayloader. Build integration will follow later when the...
Thomas Vander Stichele [Mon, 22 May 2006 13:25:52 +0000 (13:25 +0000)]
adding GDP payloader and depayloader.  Build integration will follow later when the GDP issues for core are sorted out.

Original commit message from CVS:
* gst/gdp/Makefile.am:
* gst/gdp/gstgdp.c: (plugin_init):
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_base_init),
(gst_gdp_depay_class_init), (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state), (gst_gdp_depay_plugin_init):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_base_init),
(gst_gdp_pay_class_init), (gst_gdp_pay_init),
(gst_gdp_pay_dispose), (gst_gdp_stamp_buffer),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_change_state),
(gst_gdp_pay_plugin_init):
* gst/gdp/gstgdppay.h:
* tests/check/Makefile.am:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay), (gdpdepay_push_per_byte), (GST_START_TEST),
(setup_gdpdepay_streamheader), (gdpdepay_suite), (main):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay),
(GST_START_TEST), (setup_gdppay_streamheader), (gdppay_suite),
(main):
adding GDP payloader and depayloader.  Build integration will
follow later when the GDP issues for core are sorted out.

18 years agogst/tcp/Makefile.am: fdstresstest doesn't need Gtk+, fix compilation if gtk is not...
Peter Kjellerstedt [Mon, 22 May 2006 11:42:03 +0000 (11:42 +0000)]
gst/tcp/Makefile.am: fdstresstest doesn't need Gtk+, fix compilation if gtk is not available (#342566).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/tcp/Makefile.am:
fdstresstest doesn't need Gtk+, fix compilation if
gtk is not available (#342566).

18 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: 80 line columns
Philippe Kalaf [Fri, 19 May 2006 17:57:56 +0000 (17:57 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: 80 line columns

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
80 line columns
Removed redundant floor()

18 years agogst-libs/gst/riff/riff-read.c: On second thought, just skip JUNK chunks automatically...
Tim-Philipp Müller [Fri, 19 May 2006 15:00:43 +0000 (15:00 +0000)]
gst-libs/gst/riff/riff-read.c: On second thought, just skip JUNK chunks automatically, so the caller doesn't have to ...

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
On second thought, just skip JUNK chunks automatically, so
the caller doesn't have to handle this. Fixes #342345.
Also, return GST_FLOW_UNEXPECTED if we get a short read,
not GST_FLOW_ERROR.

18 years agogst-libs/gst/riff/riff-read.c: Don't bail out on JUNK chunks with a size of 0 (would...
Tim-Philipp Müller [Fri, 19 May 2006 13:37:55 +0000 (13:37 +0000)]
gst-libs/gst/riff/riff-read.c: Don't bail out on JUNK chunks with a size of 0 (would try to pull_range 0 bytes before...

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_chunk):
Don't bail out on JUNK chunks with a size of 0 (would try to
pull_range 0 bytes before, which sources don't like too much).
See #342345.

18 years agoUse the gstutil scaling function to preserve 64 bits while calculating output width...
Jan Schmidt [Fri, 19 May 2006 13:02:46 +0000 (13:02 +0000)]
Use the gstutil scaling function to preserve 64 bits while calculating output width and height from the display-aspec...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
Use the gstutil scaling function to preserve 64 bits while calculating
output width and height from the display-aspect-ratio. (A continuation
of #341542)

18 years agosys/xvimage/xvimagesink.*: When performing buffer allocations, remember the caps...
Jan Schmidt [Fri, 19 May 2006 11:50:17 +0000 (11:50 +0000)]
sys/xvimage/xvimagesink.*: When performing buffer allocations, remember the caps and image format we return so that i...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_clear),
(gst_xvimagesink_buffer_alloc):
* sys/xvimage/xvimagesink.h:
When performing buffer allocations, remember the caps and image format
we return so that if the same caps are asked for next time we can
return them immediately without doing any caps intersections.

18 years agogst-libs/gst/rtp/README: Some new documentation
Philippe Kalaf [Thu, 18 May 2006 23:00:02 +0000 (23:00 +0000)]
gst-libs/gst/rtp/README: Some new documentation

Original commit message from CVS:
2006-05-18 Philippe Kalaf <philippe.kalaf@collabora.co.uk>

* gst-libs/gst/rtp/README:
Some new documentation
* gst-libs/gst/rtp/gstrtpbuffer.h:
Added GST_RTP_PAYLOAD_DYNAMIC_STRING for use by children
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
New RTP audio base payloader class. Supports frame or sample based codecs.
Not enabled in Makefile.am until approved.

18 years agotests/check/elements/alsa.c: Fix test case: don't try to free NULL GValueArray when...
Tim-Philipp Müller [Thu, 18 May 2006 20:30:26 +0000 (20:30 +0000)]
tests/check/elements/alsa.c: Fix test case: don't try to free NULL GValueArray when there are no devices.

Original commit message from CVS:
* tests/check/elements/alsa.c: (test_device_property_probe):
Fix test case: don't try to free NULL GValueArray when there
are no devices.