Commit graph

1996 commits

Author SHA1 Message Date
Andy Wingo
f2fe41400a gst/videotestsrc/gstvideotestsrc.c: Implement live source mode and unlocking.
Original commit message from CVS:
2005-09-28  Andy Wingo  <wingo@pobox.com>

* gst/videotestsrc/gstvideotestsrc.c: Implement live source mode
and unlocking.
2005-09-28 13:36:45 +00:00
Andy Wingo
d1c3b07399 gst/sine/gstsinesrc.c (gst_sinesrc_unlock): Actually implement unlocking.
Original commit message from CVS:
2005-09-28  Andy Wingo  <wingo@pobox.com>

* gst/sine/gstsinesrc.c (gst_sinesrc_unlock): Actually implement
unlocking.
2005-09-28 13:18:11 +00:00
Andy Wingo
e1dd7450f8 gst/tcp/gsttcpclientsink.c (gst_tcpclientsink_base_init): Actually add the pad template.
Original commit message from CVS:
2005-09-28  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpclientsink.c (gst_tcpclientsink_base_init):
Actually add the pad template.
(gst_tcpclientsink_get_type): We're a base sink. Woot, works.

* gst/tcp/gsttcpserversrc.c: Go ahead and fix up serversrc while
I'm at it...
2005-09-28 12:58:41 +00:00
Andy Wingo
cd5ad0ec01 gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps in create() instead of start() so i...
Original commit message from CVS:
2005-09-28  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen
from fdsrc. Get caps in create() instead of start() so it can be
interrupted. Interruption somewhat untested.

* gst/tcp/gsttcp.c (gst_tcp_read_buffer, gst_tcp_socket_read):
Proper EOS handling.
2005-09-28 12:25:08 +00:00
Andy Wingo
c2c41e9f01 gst/tcp/gsttcpclientsrc.c: Cleaned up.
Original commit message from CVS:
2005-09-27  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpclientsrc.c: Cleaned up.
2005-09-27 17:03:02 +00:00
Andy Wingo
a76d36d2f2 gst/tcp/gsttcpserversrc.c: Cleaned up.
Original commit message from CVS:
2005-09-27  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpserversrc.c: Cleaned up.
2005-09-27 16:58:11 +00:00
Andy Wingo
21881814bc gst/tcp/: Updated for new gsttcp API.
Original commit message from CVS:
2005-09-27  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpserversrc.c:
* gst/tcp/gsttcpclientsrc.c: Updated for new gsttcp API.

* gst/tcp/gsttcp.h:
* gst/tcp/gsttcp.c (gst_tcp_read_buffer): New function, factored
out of tcpclientsrc.c. Cancellable.
(gst_tcp_socket_read): Made private, cancellable, with better
diagnostics. Also the FIONREAD ioctl takes a int*, not a size_t*.
(gst_tcp_gdp_read_buffer): Made cancellable, actually returns the
whole buffer, and better diagnostics.
(gst_tcp_gdp_read_caps): Same.

* gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.
2005-09-27 16:37:12 +00:00
Andy Wingo
9bea690fe1 gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.
Original commit message from CVS:
2005-09-27  Andy Wingo  <wingo@pobox.com>

* gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.
2005-09-27 09:22:30 +00:00
Andy Wingo
d812bea064 gst/sine/gstsinesrc.*: Refactor, remove the table lookup code, change the 'sync' property to 'is-live' and implement ...
Original commit message from CVS:
2005-09-26  Andy Wingo  <wingo@pobox.com>

* gst/sine/gstsinesrc.h:
* gst/sine/gstsinesrc.c: Refactor, remove the table lookup code,
change the 'sync' property to 'is-live' and implement it halfway,
update for controller api change.

* gst/volume/gstvolume.c (volume_transform_ip): Update for
controller api change.
2005-09-26 15:52:06 +00:00
Wim Taymans
b17856db22 Fix sync again. Moved sample alignment to basesink.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_reset):
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_class_init), (audioringbuffer_thread_func),
(gst_audioringbuffer_stop):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render),
(gst_base_audio_sink_change_state):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_stop),
(gst_ring_buffer_set_sample), (gst_ring_buffer_clear_all),
(gst_ring_buffer_commit), (gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
Fix sync again. Moved sample alignment to basesink.
2005-09-24 13:06:03 +00:00
Thomas Vander Stichele
272aad79bb add/fix docs
Original commit message from CVS:

* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/volume/gstvolume.c:
add/fix docs
* gst-libs/gst/audio/audio.c: (gst_audio_frame_byte_size):
* gst-libs/gst/audio/audio.h:
add conversion macros for frames <-> clocktime
2005-09-23 18:14:54 +00:00
David Schleef
d66befc87a gst/audioresample/: Convert to using gst debugging
Original commit message from CVS:
* gst/audioresample/Makefile.am:
* gst/audioresample/debug.h:
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/resample.c: Convert to using gst debugging
2005-09-23 16:40:27 +00:00
Wim Taymans
7d29a33df8 gst/playback/gstplaybin.c: Only seek on one sink, the first one that succeeds.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_send_event):
Only seek on one sink, the first one that succeeds.
2005-09-22 17:41:03 +00:00
Michael Smith
17d40cbbd1 ext/vorbis/vorbisenc.c: Don't flush encoder state unless we have an initialised encoder.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_clear),
(gst_vorbisenc_sink_event), (gst_vorbisenc_change_state):
Don't flush encoder state unless we have an initialised encoder.
Clear out encoder state on PAUSED_TO_READY.
2005-09-22 14:35:57 +00:00
Wim Taymans
9798126a0b gst-libs/gst/rtp/gstbasertppayload.*: Added max-ptime to control amount of data in the rtp packets.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_is_filled), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added max-ptime to control amount of data in the rtp packets.
2005-09-22 14:13:04 +00:00
Andy Wingo
997b3c4b78 gst/playback/gstplaybasebin.c: Attempt to fix up buffer probe thingies.
Original commit message from CVS:
2005-09-21  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybasebin.c: Attempt to fix up buffer probe
thingies.

* gst/playback/gstdecodebin.c (gst_decode_bin_dispose): Dispose
can be called multiple times, dogs.
2005-09-21 12:58:35 +00:00
Wim Taymans
9bbe8af0c3 gst-libs/gst/rtp/gstbasertppayload.c: Allow 0 ssrc too.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_push), (gst_basertppayload_get_property),
(gst_basertppayload_change_state):
Allow 0 ssrc too.
2005-09-21 11:49:37 +00:00
Stefan Kost
734aaba0c7 docs/libs/compiling.sgml: fixing typos
Original commit message from CVS:
* docs/libs/compiling.sgml:
fixing typos
2005-09-20 20:47:55 +00:00
Wim Taymans
597ace35b5 gst-libs/gst/rtp/gstbasertppayload.*: Added property to configure sequence number offsets.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_push), (gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added property to configure sequence number offsets.
2005-09-20 13:34:02 +00:00
Wim Taymans
25e6dc6013 gst-libs/gst/rtp/gstbasertppayload.*: Make timestamp offset configurable.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_push), (gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Make timestamp offset configurable.
2005-09-20 11:50:20 +00:00
Thomas Vander Stichele
6044583d32 fix wrong unref in a test
Original commit message from CVS:
fix wrong unref in a test
2005-09-20 10:04:18 +00:00
Tim-Philipp Müller
f09d105f14 gst-libs/gst/interfaces/propertyprobe.c: Fix wrong macro usage; it's G_OBJECT_GET_CLASS(obj) or ot G_OBJECT_CLASS(obj...
Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst-libs/gst/interfaces/propertyprobe.c:
(gst_property_probe_probe_property_name),
(gst_property_probe_needs_probe_name),
(gst_property_probe_get_values_name),
(gst_property_probe_probe_and_get_values_name):
Fix wrong macro usage; it's G_OBJECT_GET_CLASS(obj) or
G_OBJECT_CLASS(klass), not G_OBJECT_CLASS(obj). (#316571)
2005-09-19 17:25:00 +00:00
Thomas Vander Stichele
82da93b310 check/Makefile.am: have some tests be disabled for valgrinding
Original commit message from CVS:

* check/Makefile.am:
have some tests be disabled for valgrinding
* check/elements/vorbisdec.c: (cleanup_vorbisdec),
(GST_START_TEST):
* ext/vorbis/vorbisdec.c: (vorbisdec_finalize):
Fix A Leak.  Chain To Parent Finalize.
2005-09-19 16:12:09 +00:00
Wim Taymans
7ff873d88b examples/seeking/seek.c: Fixed wav pipeline.
Original commit message from CVS:
* examples/seeking/seek.c: (make_wav_pipeline), (main):
Fixed wav pipeline.
2005-09-19 16:09:41 +00:00
Wim Taymans
e1c64e3b2f gst-libs/gst/rtp/gstbasertppayload.c: Posting ERROR and WARNING messages is good.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_push), (gst_basertppayload_get_property),
(gst_basertppayload_change_state):
Posting ERROR and WARNING messages is good.
2005-09-19 14:23:33 +00:00
Wim Taymans
16c30a244b gst-libs/gst/rtp/gstbasertpdepayload.c: This one was not supposed to go in.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_add_to_queue),
(gst_base_rtp_depayload_push),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_queue_release):
This one was not supposed to go in.
2005-09-19 11:31:29 +00:00
Wim Taymans
929b8afd16 check/pipelines/simple_launch_lines.c: Fix for bus API.
Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (run_pipeline):
Fix for bus API.

* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_add_to_queue),
(gst_base_rtp_depayload_push),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_queue_release):
Some cleanups.

* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
Added debugging category.
2005-09-19 11:24:46 +00:00
David Schleef
9e6bf1b940 gst/playback/gstdecodebin.c: free plugin list correctly
Original commit message from CVS:
* gst/playback/gstdecodebin.c: free plugin list correctly
* gst/playback/gstplaybin.c: emit warning if autovideosink
and autoaudiosink can't be found (instead of segfaulting)
2005-09-18 07:01:46 +00:00
Thomas Vander Stichele
bb4f3fa6a0 24 bit conversion check
Original commit message from CVS:
24 bit conversion check
2005-09-17 17:17:59 +00:00
Thomas Vander Stichele
dd9f3ebe2d trigger a build
Original commit message from CVS:
trigger a build
2005-09-16 01:01:40 +00:00
Thomas Vander Stichele
891fb4943a ext/vorbis/vorbisenc.*: Fix EOS handling. Still needs a fix in the ogg muxer to mark the last page as eos somehow.
Original commit message from CVS:
2005-09-15  Thomas Vander Stichele  <thomas at apestaart dot org>

* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_sink_event), (gst_vorbisenc_chain),
(gst_vorbisenc_output_buffers), (gst_vorbisenc_change_state):
* ext/vorbis/vorbisenc.h:
Fix EOS handling.  Still needs a fix in the ogg muxer to
mark the last page as eos somehow.
2005-09-15 19:59:50 +00:00
Thomas Vander Stichele
2c3ddfeac7 fix up ffmpegcolorspace docs; extract header
Original commit message from CVS:
fix up ffmpegcolorspace docs; extract header
2005-09-15 15:43:28 +00:00
Thomas Vander Stichele
70a7708a8b pick up signals and args for vorbis; add some docs for vorbis
Original commit message from CVS:

* common/gtk-doc-plugins.mak:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* ext/theora/Makefile.am:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c:
* ext/vorbis/vorbisenc.c:
pick up signals and args for vorbis; add some docs for vorbis
2005-09-15 15:28:36 +00:00
Thomas Vander Stichele
b0d322c5f5 only scanobj stuff from our source module. Not sure yet if that's correct, given the hierarchy stuff :)
Original commit message from CVS:

* common/gstdoc-scangobj:
* common/gtk-doc-plugins.mak:
* docs/libs/Makefile.am:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
only scanobj stuff from our source module.  Not sure yet
if that's correct, given the hierarchy stuff :)
2005-09-15 14:35:04 +00:00
Wim Taymans
b6bc76642a gst/audioconvert/gstaudioconvert.c: And enable 24 bits mode as well..
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
And enable 24 bits mode as well..
2005-09-15 13:52:27 +00:00
Wim Taymans
022f6698f0 gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
Andy Wingo
5c41fb2317 configure.ac (plugindir): Remove the EOL matcher from the regexp, as it causes me problems. Libtool? Make? Who knows?
Original commit message from CVS:
2005-09-15  Andy Wingo  <wingo@pobox.com>

* configure.ac (plugindir): Remove the EOL matcher from the
regexp, as it causes me problems. Libtool? Make? Who knows?
2005-09-15 10:40:31 +00:00
David Schleef
cb8927cb92 Fixes for changes in registry API.
Original commit message from CVS:
* check/generic/states.c:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
* gst/playback/gstdecodebin.c: (gst_decode_bin_init):
Fixes for changes in registry API.
* configure.ac: Only export gst_plugins_desc.  Add -no-undefined
to GST_PLUGIN_LDFLAGS.
* ext/libvisual/visual.c: Make the library shut up.
* gst-libs/gst/audio/audio.c: Don't define a plugin in a library.
* gst-libs/gst/audio/gstaudiofilter.c: same
2005-09-15 06:59:36 +00:00
Thomas Vander Stichele
8756e15bb8 add libvisual plugin and theoraenc element to docs
Original commit message from CVS:
add libvisual plugin and theoraenc element to docs
2005-09-14 21:53:06 +00:00
Thomas Vander Stichele
9286debe9d add theoraenc
Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* ext/theora/theoraenc.c:
add theoraenc
2005-09-14 21:36:02 +00:00
Tim-Philipp Müller
32f976bfea gst/audioconvert/Makefile.am: Audioconvert derives from GstBaseTransform and should link to the library with our base...
Original commit message from CVS:
* gst/audioconvert/Makefile.am:
Audioconvert derives from GstBaseTransform and should
link to the library with our base elements to avoid
unresolved symbols. Makes things work with MinGW (#316160)
* gst/playback/test4.c: (main):
Fix MinGW build problem and use g_usleep() instead of
sleep() (#316162)
2005-09-13 13:52:59 +00:00
Wim Taymans
1237e1e701 gst/audioconvert/audioconvert.*: Cleanups, speedups, simplifications, added back support for 24 bits.
Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (float),
(audio_convert_prepare_context), (audio_convert_convert):
* gst/audioconvert/audioconvert.h:
Cleanups, speedups, simplifications, added back support
for 24 bits.
2005-09-12 11:38:05 +00:00
Thomas Vander Stichele
9e01408713 add more elements to the docs
Original commit message from CVS:
add more elements to the docs
2005-09-11 21:45:24 +00:00
Jan Schmidt
0f4fa24d8e check/: Add extra tests for basetransform based components.
Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite):
Add extra tests for basetransform based components.
Comment out the test_element_negotiation test until we decide
if it's testing correct behaviour.
* ext/libvisual/visual.c: (gst_visual_init), (get_buffer),
(gst_visual_chain), (gst_visual_change_state):
Slightly more correct but still bogus timestamping.
Fix state change function.
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_class_init):
* gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init),
(gst_videoscale_prepare_size), (gst_videoscale_set_caps),
(gst_videoscale_prepare_image):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform_ip):
Basetransform updates. Enable passthrough modes.
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximagesink_renegotiate_size), (gst_ximagesink_xcontext_get),
(gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc):
Negotiation fix that allows the window to return to the original
size and renegotiate passthrough upstream. Extra debug output.
2005-09-09 17:53:47 +00:00
Thomas Vander Stichele
09c75de7cc fix up header rename
Original commit message from CVS:
fix up header rename
2005-09-09 14:57:12 +00:00
Stefan Kost
1aa698fefa gst/: fixing lost sync, some more debugging
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform):
fixing lost sync, some more debugging
2005-09-08 22:42:11 +00:00
Jan Schmidt
0ba2f79cb5 sys/: Fix compilation when XShm is not available.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximagesink_check_xshm_calls), (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_init),
(gst_xvimagesink_check_xshm_calls):
Fix compilation when XShm is not available.
2005-09-08 16:38:30 +00:00
Jan Schmidt
8e296da9dd ext/libvisual/visual.c: Finish fixing up libvisual plugin so that it runs.
Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_dispose),
(gst_visual_getcaps), (gst_visual_src_setcaps),
(gst_visual_sink_setcaps), (get_buffer), (gst_visual_chain),
(gst_visual_change_state):
Finish fixing up libvisual plugin so that it runs.
2005-09-07 20:06:43 +00:00
Stefan Kost
896950ce84 gsttaginterface.h -> gsttagsetter.h
Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
* gst-libs/gst/tag/gstvorbistag.c:
gsttaginterface.h -> gsttagsetter.h
2005-09-07 13:55:08 +00:00
Stefan Kost
4acb0eef45 check/pipelines/simple_launch_lines.c: added another test that failes for me (test is not active by default)
Original commit message from CVS:
* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
added another test that failes for me (test is not active by default)
2005-09-07 12:35:26 +00:00
Zaheer Abbas Merali
5e5cb766de configure.ac: v4l2 is no longer in gst-plugins-base
Original commit message from CVS:
2005-09-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
v4l2 is no longer in gst-plugins-base
2005-09-07 08:31:09 +00:00
Jan Schmidt
71ab6314a1 configure.ac: In the output at the end, don't show the first plugin on the same line as "Core plug-ins, always built:".
Original commit message from CVS:
* configure.ac:
In the output at the end, don't show the first plugin on the same
line as "Core plug-ins, always built:".
Indent the output as for other plugin categories
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_create):
#define that can be used to not use peer buffer_alloc functions for
test purposes.
* sys/ximage/ximagesink.c: (gst_ximage_buffer_init),
(gst_ximage_buffer_get_type), (gst_ximagesink_ximage_new),
(gst_ximagesink_show_frame):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_init),
(gst_xvimage_buffer_get_type), (gst_xvimagesink_setcaps),
(gst_xvimagesink_show_frame):
Error case handling fixes. gst-launch fakesrc ! x[v]imagesink now
fails gracefully instead of XError aborting or deadlocking.
2005-09-06 23:26:49 +00:00
Stefan Kost
3e8ada2cfe ext/libvisual/Makefile.am: link against gst-base-libs
Original commit message from CVS:
* ext/libvisual/Makefile.am:
link against gst-base-libs
2005-09-06 23:07:05 +00:00
David Schleef
f50da006ec configure.ac: Enable libvisual plugin.
Original commit message from CVS:
* configure.ac: Enable libvisual plugin.
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c: Fixes to make it compile.
2005-09-06 22:29:00 +00:00
Thomas Vander Stichele
e7683d31b7 releasing 0.9.2
Original commit message from CVS:
releasing 0.9.2
2005-09-06 14:03:04 +00:00
Stefan Kost
6e017cb474 check/Makefile.am: deactivate the failing test
Original commit message from CVS:
* check/Makefile.am:
deactivate the failing test
2005-09-06 12:40:39 +00:00
Stefan Kost
e7081a76ce check/: added pipeline tester for (http://bugzilla.gnome.org/show_bug.cgi?id=315126)
Original commit message from CVS:
* check/Makefile.am:
* check/pipelines/.cvsignore:
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(run_pipeline), (GST_START_TEST), (simple_launch_lines_suite),
(main):
added pipeline tester for (http://bugzilla.gnome.org/show_bug.cgi?id=315126)
2005-09-06 12:37:05 +00:00
Michael Smith
f62e81ca11 Extend the range supported for quality settings in vorbisenc to the full range supported by libvorbis.
Original commit message from CVS:
Extend the range supported for quality settings in vorbisenc to the full
range supported by libvorbis.
2005-09-05 11:21:49 +00:00
Thomas Vander Stichele
240d086ff9 fix distcheck
Original commit message from CVS:

* common/gtk-doc-plugins.mak:
* docs/plugins/Makefile.am:
fix distcheck
* gst/audioresample/resample.c:
fix wrong docstring
2005-09-04 10:38:45 +00:00
Thomas Vander Stichele
cf61a29a2b common/: only inspect plugins for this given package require gst-python 0.9
Original commit message from CVS:
* common/gst-xmlinspect.py:
* common/gtk-doc-plugins.mak:
only inspect plugins for this given package
require gst-python 0.9
2005-09-03 23:56:24 +00:00
Thomas Vander Stichele
0a27e01804 updating docs build
Original commit message from CVS:
updating docs build
2005-09-03 15:02:24 +00:00
Wim Taymans
44cc3421a0 gst-libs/gst/audio/gstbaseaudiosink.c: Resync if the buffer timestamps drift more than a 10th of a second.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Resync if the buffer timestamps drift more than a 10th
of a second.
2005-08-31 10:57:35 +00:00
Tim-Philipp Müller
13a09b1343 sys/v4l/gstv4lsrc.c: The 'timestamp-offset' property is registered as an int64, so let's use g_value_{set|get}_int64(...
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
The 'timestamp-offset' property is registered as an int64, so
let's use g_value_{set|get}_int64() in our setter and getter
functions (makes it work and fixes warnings with gst-inspect).
2005-08-31 08:58:03 +00:00
Wim Taymans
0b18cb8f17 check/elements/: Fix checks.
Original commit message from CVS:
* check/elements/audioconvert.c: (setup_audioconvert):
* check/elements/audioresample.c: (setup_audioresample):
* check/elements/volume.c: (setup_volume):
Fix checks.
2005-08-30 19:54:35 +00:00
Thomas Vander Stichele
5ea209dd07 make module a param
Original commit message from CVS:
* common/gtk-doc-plugins.mak:
* common/plugins.xsl:
* docs/plugins/Makefile.am:
make module a param
2005-08-30 18:55:48 +00:00
Stefan Kost
85056f97b7 examples/seeking/seek.c: update the example
Original commit message from CVS:
* examples/seeking/seek.c: (make_mp3_pipeline),
(make_mpeg_pipeline), (seek_cb), (start_seek), (stop_seek),
(play_cb), (pause_cb), (stop_cb):
update the example
2005-08-30 18:26:07 +00:00
Stefan Kost
65799096bf gst/volume/gstvolume.c: do not update controlled params, if buffer has no timestamp
Original commit message from CVS:
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform):
do not update controlled params, if buffer has no timestamp
2005-08-29 20:20:42 +00:00
Stefan Kost
242ef1b05b controllerized elements also need to link against controller-libs ;)
Original commit message from CVS:
* configure.ac:
* gst/sine/Makefile.am:
* gst/volume/Makefile.am:
controllerized elements also need to link against controller-libs ;)
2005-08-29 19:52:52 +00:00
Stefan Kost
bef1be2e90 controllerized two audio plugins
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstgconf.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstringbuffer.sgml:
* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_create):
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_transform):
controllerized two audio plugins
2005-08-29 19:32:19 +00:00
Andy Wingo
9fbb72f41d ext/vorbis/vorbisdec.c (vorbis_dec_convert, vorbis_dec_push)
Original commit message from CVS:
2005-08-29  Andy Wingo  <wingo@pobox.com>

* ext/vorbis/vorbisdec.c (vorbis_dec_convert, vorbis_dec_push)
(vorbis_handle_data_packet): Fix some int overflow errors.
2005-08-29 16:15:04 +00:00
Andy Wingo
13c10724db ext/ogg/gstoggdemux.c (gst_ogg_demux_init): Init total_time to
Original commit message from CVS:
2005-08-29  Andy Wingo  <wingo@pobox.com>

* ext/ogg/gstoggdemux.c (gst_ogg_demux_init): Init total_time to
-1.
(gst_ogg_demux_perform_seek): Clamp segment_stop only if it's
valid.
(gst_ogg_pad_submit_packet): Subtract the chain's begin_time only
if it's valid. Fixed streaming-mode playback.
2005-08-29 14:45:12 +00:00
Andy Wingo
af5663e170 check/elements/volume.c (cleanup_volume): Fix for running
Original commit message from CVS:
2005-08-29  Andy Wingo  <wingo@pobox.com>

* check/elements/volume.c (cleanup_volume): Fix for running
CK_FORK=no.
2005-08-29 11:18:29 +00:00
Andy Wingo
fd30c157b8 check/elements/audioconvert.c: Convert from native endian, not little endian.
Original commit message from CVS:
2005-08-29  Andy Wingo  <wingo@pobox.com>

* check/elements/audioconvert.c: Convert from native endian, not
little endian.
2005-08-29 11:01:06 +00:00
Michael Smith
d5a7ae1915 Add an ogg parser element
Original commit message from CVS:
Add an ogg parser element
2005-08-29 10:52:20 +00:00
Andy Wingo
c32721723b Updates for two-arg init from GST_BOILERPLATE_FULL.
Original commit message from CVS:
2005-08-28  Andy Wingo  <wingo@pobox.com>

* Updates for two-arg init from GST_BOILERPLATE_FULL.
2005-08-28 17:52:45 +00:00
Wim Taymans
b6c368ce67 gst/audioconvert/audioconvert.c: Cleanups.
Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(audio_convert_convert):
Cleanups.
2005-08-26 18:57:30 +00:00
Wim Taymans
ddec57c089 gst/audioconvert/audioconvert.c: More elegant and working temp buffer selection algo.
Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(audio_convert_convert):
More elegant and working temp buffer selection algo.
2005-08-26 18:43:02 +00:00
Wim Taymans
123aa7de1a gst/audioconvert/audioconvert.c: Use realloc else we lose our original data.
Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(get_temp_buffer), (audio_convert_convert):
Use realloc else we lose our original data.
2005-08-26 17:46:45 +00:00
Thomas Vander Stichele
f0f2b133dd use base class' newsegment to properly timestamp
Original commit message from CVS:

use base class' newsegment to properly timestamp
2005-08-26 17:35:28 +00:00
Wim Taymans
98fbd82d1c gst/audioconvert/: Oops, allocate enough space to perform the channel mix.
Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(get_temp_buffer), (audio_convert_convert):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps), (gst_audio_convert_get_unit_size),
(gst_audio_convert_transform_caps),
(gst_audio_convert_fixate_caps), (gst_audio_convert_transform):
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_mix):
Oops, allocate enough space to perform the channel mix.
2005-08-26 17:30:41 +00:00
Wim Taymans
ceb84de916 gst/audioconvert/: Cleanups, librarify a bit, optimize, better negotiation and more.
Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/audioconvert.c: (if), (float),
(audio_convert_get_func_index), (check_default),
(audio_convert_clean_fmt), (audio_convert_prepare_context),
(audio_convert_clean_context), (audio_convert_get_sizes),
(get_temp_buffer), (audio_convert_convert):
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_parse_caps),
(gst_audio_convert_get_unit_size),
(gst_audio_convert_transform_caps),
(gst_audio_convert_fixate_caps), (gst_audio_convert_set_caps),
(gst_audio_convert_transform_ip), (gst_audio_convert_transform):
* gst/audioconvert/gstaudioconvert.h:
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_unset_matrix),
(gst_channel_mix_fill_identical),
(gst_channel_mix_fill_compatible), (gst_channel_mix_detect_pos),
(gst_channel_mix_fill_one_other), (gst_channel_mix_fill_others),
(gst_channel_mix_fill_normalize), (gst_channel_mix_fill_matrix),
(gst_channel_mix_setup_matrix), (gst_channel_mix_passthrough),
(gst_channel_mix_mix):
* gst/audioconvert/gstchannelmix.h:
Cleanups, librarify a bit, optimize, better negotiation and more.
2005-08-26 15:43:56 +00:00
Jan Schmidt
ee2bc937be ext/ogg/gstoggdemux.c: Another from MikeS:
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (ogg_find_peek):
Another from MikeS:
During typefinding, don't support negative offsets
(offsets from the end of the stream) in our typefind->peek() function
- nothing embedded in ogg ever needs them. However, we need to recognise
those requests and reject them, otherwise we return invalid pointers.
2005-08-26 11:39:01 +00:00
Jan Schmidt
538eabd559 ext/: Big shout-out to MikeS for fixing this giant memory leak.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose):
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_class_init),
(vorbisdec_finalize), (vorbis_handle_type_packet):
Big shout-out to MikeS for fixing this giant memory leak.
Huzzah!
2005-08-26 10:50:56 +00:00
Thomas Vander Stichele
43332aed85 plug some leaks
Original commit message from CVS:
plug some leaks
2005-08-25 17:32:34 +00:00
Thomas Vander Stichele
6dff9c2cbd check/: add a test for audioconvert
Original commit message from CVS:

* check/Makefile.am:
* check/elements/audioconvert.c: (setup_audioconvert),
(cleanup_audioconvert), (get_int_caps), (verify_convert),
(GST_START_TEST), (audioconvert_suite), (main):
add a test for audioconvert
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
set DURATION so that TIMESTAMP(a) + DURATION(a) == TIMESTAMP(b);
note that for buffers of 1/3 sec this means DURATION(c) is
one nanosecond more than for a and b
2005-08-25 17:20:02 +00:00
Thomas Vander Stichele
eae1250299 add a check for audioresample
Original commit message from CVS:
add a check for audioresample
2005-08-25 15:44:58 +00:00
Thomas Vander Stichele
7647f7fc4e gst/audioresample/: add room for extra overlap samples when asked to transform size protect against possible mem corr...
Original commit message from CVS:
* gst/audioresample/debug.c:
* gst/audioresample/gstaudioresample.c:
add room for extra overlap samples when asked to transform size
protect against possible mem corruption and check for discrepancies
between written size and outbuffer's size so we can warn for
potential problems
* gst/audioresample/resample.c: (resample_init),
(resample_get_output_size_for_input), (resample_get_output_size),
(resample_set_n_channels), (resample_set_format):
set debug level based on RESAMPLE_DEBUG env var
make sure that get_output_size* returns a whole number of
sample_size
set sample_size each time either channel or format is set
* gst/audioresample/resample_chunk.c: (resample_scale_chunk):
* gst/audioresample/resample_functable.c:
(resample_scale_functable):
* gst/audioresample/resample_ref.c: (resample_scale_ref):
remove r->sample_size, it's done in resample.c now
add some debugging to the ref implementation
make sure we only give back bytes that are wholes of the sample
size
2005-08-25 12:31:31 +00:00
Jan Schmidt
2a13ddfd65 gst/playback/gstplaybasebin.c: Revert unpopular change for GST_MESSAGE_SRC to GObject.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (fill_buffer):
Revert unpopular change for GST_MESSAGE_SRC to GObject.
2005-08-25 10:50:44 +00:00
Stefan Kost
be10c8f8ec gst/volume/gstvolume.c: made set_caps function static
Original commit message from CVS:
* gst/volume/gstvolume.c:
made set_caps function static
2005-08-24 21:32:59 +00:00
Wim Taymans
963941df57 ext/vorbis/vorbisenc.c: Stop leaking taglists.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
(gst_vorbisenc_change_state):
Stop leaking taglists.
2005-08-24 21:03:32 +00:00
Wim Taymans
7824216cef ext/ogg/gstoggdemux.c: Parse seeking events better.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
(gst_ogg_pad_event), (gst_ogg_demux_factory_filter),
(gst_ogg_pad_submit_packet), (gst_ogg_chain_new),
(gst_ogg_demux_init), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_collect_chain_info), (gst_ogg_demux_collect_info),
(gst_ogg_demux_chain), (gst_ogg_demux_loop), (gst_ogg_print):
Parse seeking events better.
Unref static caps.
Generate correct newsegment events, fixes seeking in live oggs.

* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_src_event), (theora_dec_src_getcaps),
(theora_dec_sink_event), (theora_dec_push), (theora_dec_chain):
Use newsegment values to report correct play time.

* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_src_event), (vorbis_dec_sink_event):
* ext/vorbis/vorbisdec.h:
Parse and use newsegment values to report correct play time.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
Clear ringbuffer on flush.
Use newsegment values to calculate playback time.

* sys/ximage/ximagesink.c: (gst_ximagesink_get_times):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times):
Basesink does newsegment calculations for us now.
2005-08-24 18:04:45 +00:00
Thomas Vander Stichele
886b43679d check/: add same test as to core, it bitches out on playbin atm.
Original commit message from CVS:
* check/Makefile.am:
* check/generic/states.c: (GST_START_TEST), (states_suite), (main):
add same test as to core, it bitches out on playbin atm.
2005-08-24 16:18:25 +00:00
Wim Taymans
f3ef56e841 configure.ac: Remove audioscale.
Original commit message from CVS:
* configure.ac:
Remove audioscale.
2005-08-24 15:15:57 +00:00
Wim Taymans
da25385ed2 gst/videoscale/gstvideoscale.*: Refactor, make use of BaseTranform really well.
Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
(gst_videoscale_prepare_size), (parse_caps),
(gst_videoscale_set_caps), (gst_videoscale_get_size),
(gst_videoscale_prepare_image), (gst_videoscale_transform_ip),
(gst_videoscale_transform):
* gst/videoscale/gstvideoscale.h:
Refactor, make use of BaseTranform really well.
2005-08-24 15:07:54 +00:00
Thomas Vander Stichele
752a59192c port audioresample to basetransform
Original commit message from CVS:
port audioresample to basetransform
2005-08-24 14:08:58 +00:00
Thomas Vander Stichele
41a43b86a8 port audioconvert to basetransform fix ffmpegcsp and videoscale for basetransform changes
Original commit message from CVS:
port audioconvert to basetransform
fix ffmpegcsp and videoscale for basetransform changes
2005-08-24 13:32:52 +00:00
Jan Schmidt
80ad4cff17 check/Makefile.am: Add CHECK_CFLAGS and LDFLAGS
Original commit message from CVS:
* check/Makefile.am:
Add CHECK_CFLAGS and LDFLAGS

* gst/playback/gstplaybasebin.c: (fill_buffer):
GST_MESSAGE_SRC became a GObject
2005-08-24 11:56:08 +00:00
Wim Taymans
5ac2327f05 gst-libs/gst/audio/gstringbuffer.*: Added function to clear the ringbuffer.
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_set_sample),
(gst_ring_buffer_clear_all):
* gst-libs/gst/audio/gstringbuffer.h:
Added function to clear the ringbuffer.
2005-08-24 11:29:10 +00:00
Andy Wingo
7b9a366d6e sys/v4l/gstv4lelement.c (gst_v4lelement_start)
Original commit message from CVS:
2005-08-24  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lelement.c (gst_v4lelement_start)
(gst_v4lelement_stop): Call _start and _stop for xoverlay instead
of _open and _close.

* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/gstv4lxoverlay.c (gst_v4l_xoverlay_set_xwindow_id): Open
an Xv connection here, instead of all the time. Make Xv only be
loaded if you axe for it. Kindof a workaround for buggy behaviour
of Xv when using remote xservers (XvQueryExtension would block).
(gst_v4l_xoverlay_stop, gst_v4l_xoverlay_start): New functions,
replace the _open and _close public API. Only start the xv
connection if necessary.
(gst_v4l_xoverlay_open, gst_v4l_xoverlay_close): Made static.
2005-08-24 11:07:51 +00:00
David Schleef
ae8f41b658 gst/audioresample/Makefile.am: Leet audioresampling code
Original commit message from CVS:
* gst/audioresample/Makefile.am: Leet audioresampling code
* gst/audioresample/buffer.c:
* gst/audioresample/buffer.h:
* gst/audioresample/debug.c:
* gst/audioresample/debug.h:
* gst/audioresample/functable.c:
* gst/audioresample/functable.h:
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
* gst/audioresample/resample.c:
* gst/audioresample/resample.h:
* gst/audioresample/resample_chunk.c:
* gst/audioresample/resample_functable.c:
* gst/audioresample/resample_ref.c:
2005-08-23 19:29:38 +00:00