platform/upstream/gst-plugins-base.git
17 years agogst/playback/gstqueue2.c: Fix compilation.
Wim Taymans [Thu, 7 Jun 2007 09:11:27 +0000 (09:11 +0000)]
gst/playback/gstqueue2.c: Fix compilation.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_get_range):
Fix compilation.

17 years agogst/playback/gstqueue2.c: Add pull based scheduling and fix some deadlocks. Fixes...
Thiago Sousa Santos [Wed, 6 Jun 2007 13:36:26 +0000 (13:36 +0000)]
gst/playback/gstqueue2.c: Add pull based scheduling and fix some deadlocks. Fixes #444523.

Original commit message from CVS:
Patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>
* gst/playback/gstqueue2.c: (gst_queue_init),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_get_range), (gst_queue_src_checkgetrange_function),
(gst_queue_sink_activate_push), (gst_queue_src_activate_push),
(gst_queue_src_activate_pull):
Add pull based scheduling and fix some deadlocks. Fixes #444523.
Does not yet completely work because duration queries upstream won't
block yet.

17 years agoSome more fseeko checks.
Wim Taymans [Wed, 6 Jun 2007 09:08:50 +0000 (09:08 +0000)]
Some more fseeko checks.

Original commit message from CVS:
* configure.ac:
* gst/playback/gstqueue2.c: (gst_queue_create_read):
Some more fseeko checks.

17 years agoconfigure.ac: check for large file support.
Wim Taymans [Wed, 6 Jun 2007 08:01:42 +0000 (08:01 +0000)]
configure.ac: check for large file support.

Original commit message from CVS:
* configure.ac:
check for large file support.

17 years agogst/subparse/gstsubparse.*: Add support for SubViewer version 1 and 2 subtitles....
Sven Arvidsson [Tue, 5 Jun 2007 21:36:11 +0000 (21:36 +0000)]
gst/subparse/gstsubparse.*: Add support for SubViewer version 1 and 2 subtitles. Fixes #394061.

Original commit message from CVS:
Based on a patch by Sven Arvidsson <sa at whiz dot se>:
* gst/subparse/gstsubparse.c: (parse_subrip),
(subviewer_unescape_newlines), (parse_subviewer),
(gst_sub_parse_data_format_autodetect),
(gst_sub_parse_format_autodetect), (gst_subparse_type_find):
* gst/subparse/gstsubparse.h:
Add support for SubViewer version 1 and 2 subtitles. Fixes #394061.
* tests/check/elements/subparse.c: (GST_START_TEST),
(subparse_suite):
Add a unit test for both SubViewer formats.

17 years agogst/audiotestsrc/gstaudiotestsrc.c: Don't overflow intermediate values when seeking...
Michael Smith [Tue, 5 Jun 2007 17:08:04 +0000 (17:08 +0000)]
gst/audiotestsrc/gstaudiotestsrc.c: Don't overflow intermediate values when seeking to large time values in audiotest...

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_do_seek):
Don't overflow intermediate values when seeking to large time values
in audiotestsrc.

17 years agogst/playback/gstqueue2.c: Include stdio to define fseeko.
Wim Taymans [Tue, 5 Jun 2007 17:02:13 +0000 (17:02 +0000)]
gst/playback/gstqueue2.c: Include stdio to define fseeko.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_have_data),
(gst_queue_create_read), (gst_queue_read_item_from_file),
(gst_queue_open_temp_location_file), (gst_queue_locked_enqueue):
Include stdio to define fseeko.

17 years agosys/v4l/gstv4lsrc.c: Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553.
Edward Hervey [Tue, 5 Jun 2007 16:37:09 +0000 (16:37 +0000)]
sys/v4l/gstv4lsrc.c: Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553.

Original commit message from CVS:
Patch by: Edward Hervey  <edward@fluendo.com>
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_fixate),
(gst_v4lsrc_query):
Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553.

17 years agogst-libs/gst/riff/: Use gst_tag_utf8_from_freeform_string() from libgsttag instead...
Tim-Philipp Müller [Tue, 5 Jun 2007 16:20:44 +0000 (16:20 +0000)]
gst-libs/gst/riff/: Use gst_tag_utf8_from_freeform_string() from libgsttag instead of our own implementation.

Original commit message from CVS:
* gst-libs/gst/riff/Makefile.am:
* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_info):
Use gst_tag_utf8_from_freeform_string() from libgsttag instead of
our own implementation.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Handle timestamp wraparound.
Wim Taymans [Tue, 5 Jun 2007 16:19:30 +0000 (16:19 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Handle timestamp wraparound.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_change_state):
Handle timestamp wraparound.

17 years agogst/playback/gsturidecodebin.c: Make sure we name srcpads uniquely even when using...
Wim Taymans [Tue, 5 Jun 2007 16:17:30 +0000 (16:17 +0000)]
gst/playback/gsturidecodebin.c: Make sure we name srcpads uniquely even when using different internal decodebins.

Original commit message from CVS:
* gst/playback/gsturidecodebin.c: (no_more_pads_full),
(new_decoded_pad), (remove_pads), (make_decoder), (setup_source),
(gst_uri_decode_bin_change_state):
Make sure we name srcpads uniquely even when using different internal
decodebins.
Signal no-more-pads when no more dynamic elements exist.
Remove pads on cleanup.

17 years agogst/playback/gstqueue2.c: Add support for filebased buffering. Fixes #441264.
Thiago Sousa Santos [Tue, 5 Jun 2007 16:14:23 +0000 (16:14 +0000)]
gst/playback/gstqueue2.c: Add support for filebased buffering. Fixes #441264.

Original commit message from CVS:
Based on patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>
* gst/playback/gstqueue2.c: (gst_queue_class_init),
(gst_queue_init), (gst_queue_finalize),
(gst_queue_write_buffer_to_file), (gst_queue_have_data),
(gst_queue_create_read), (gst_queue_read_item_from_file),
(gst_queue_open_temp_location_file),
(gst_queue_close_temp_location_file), (gst_queue_locked_flush),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_is_empty), (gst_queue_is_filled),
(gst_queue_change_state), (gst_queue_set_temp_location),
(gst_queue_set_property):
Add support for filebased buffering. Fixes #441264.

17 years agogst/playback/gstdecodebin2.c: Add support for delayed caps fixation when autoplugging.
Wim Taymans [Tue, 5 Jun 2007 16:05:19 +0000 (16:05 +0000)]
gst/playback/gstdecodebin2.c: Add support for delayed caps fixation when autoplugging.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_factory_filter),
(analyze_new_pad), (connect_pad), (expose_pad), (caps_notify_cb),
(caps_notify_group_cb), (gst_decode_group_new),
(gst_decode_group_free):
Add support for delayed caps fixation when autoplugging.
Optimize cases where a multiqueue is not needed/wanted, like right after
anything that is not a demuxer.

17 years agoext/ogg/gstoggdemux.c: consideratly speedup ogg chain detection by not trying to...
Wim Taymans [Tue, 5 Jun 2007 16:02:57 +0000 (16:02 +0000)]
ext/ogg/gstoggdemux.c: consideratly speedup ogg chain detection by not trying to find a base timestamp for skeleton s...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_parse_skeleton_fisbone),
(gst_ogg_pad_submit_packet), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_read_chain), (gst_ogg_demux_collect_chain_info):
consideratly speedup ogg chain detection by not trying to find a base
timestamp for skeleton streams.

17 years agogst/tcp/gstmultifdsink.*: Add support for remuve_flush.
Wim Taymans [Tue, 5 Jun 2007 16:00:33 +0000 (16:00 +0000)]
gst/tcp/gstmultifdsink.*: Add support for remuve_flush.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_client_status_get_type),
(gst_multi_fd_sink_class_init), (gst_multi_fd_sink_add_full),
(gst_multi_fd_sink_remove_flush),
(gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_handle_client_write),
(gst_multi_fd_sink_handle_clients):
* gst/tcp/gstmultifdsink.h:
Add support for remuve_flush.

17 years agoAdd draft design for forcing keyframes in encoders and implement in theoraenc.
Wim Taymans [Tue, 5 Jun 2007 15:59:00 +0000 (15:59 +0000)]
Add draft design for forcing keyframes in encoders and implement in theoraenc.

Original commit message from CVS:
* docs/design/draft-keyframe-force.txt:
* ext/theora/theoraenc.c: (theora_enc_sink_event),
(theora_enc_chain):
Add draft design for forcing keyframes in encoders and implement in
theoraenc.

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Tue, 5 Jun 2007 13:22:18 +0000 (13:22 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

17 years agoRelease 0.10.13 "What's going on?" RELEASE-0_10_13
Jan Schmidt [Tue, 5 Jun 2007 12:50:24 +0000 (12:50 +0000)]
Release 0.10.13 "What's going on?"

Original commit message from CVS:
Release 0.10.13 "What's going on?"

17 years agoUpdate .po files
Jan Schmidt [Tue, 5 Jun 2007 12:32:03 +0000 (12:32 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agogst-libs/gst/riff/riff-media.c: In riff, the depth is stored in the size field but...
Wim Taymans [Thu, 31 May 2007 17:08:58 +0000 (17:08 +0000)]
gst-libs/gst/riff/riff-media.c: In riff, the depth is stored in the size field but it just means that the least signi...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
In riff, the depth is stored in the size field but it just means that
the least significant bits are cleared. We can therefore just play
the sample as if it had a depth == width. Fixes: #440997
Patch by: Wim Taymans <wim@fluendo.com>
Patch by: Sebastian Dröge  <slomo@circular-chaos.org>

17 years agogst-libs/gst/floatcast/floatcast.h: Define inline when needed on win32 builds. Fixes...
Jan Schmidt [Thu, 31 May 2007 16:36:22 +0000 (16:36 +0000)]
gst-libs/gst/floatcast/floatcast.h: Define inline when needed on win32 builds. Fixes: #441295

Original commit message from CVS:
* gst-libs/gst/floatcast/floatcast.h:
Define inline when needed on win32 builds. Fixes: #441295

17 years agogst/playback/gstplaybasebin.c: Stop buffering when the group is commited because...
Wim Taymans [Tue, 29 May 2007 13:38:35 +0000 (13:38 +0000)]
gst/playback/gstplaybasebin.c: Stop buffering when the group is commited because the queues filled up.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (queue_overrun),
(no_more_pads_full):
Stop buffering when the group is commited because the queues filled up.
Fixes #442024.

17 years agoRevert commits towards #152864 made so far. We'll pick it up again after the 0.10...
Jan Schmidt [Fri, 25 May 2007 10:07:26 +0000 (10:07 +0000)]
Revert commits towards #152864 made so far. We'll pick it up again after the 0.10.13 release.

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_ensure_track_list),
(gst_alsa_mixer_free), (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
* ext/alsa/gstalsamixer.h:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_interface_supported),
(gst_alsa_mixer_element_finalize), (gst_alsa_mixer_element_init),
(gst_alsa_mixer_element_set_property),
(gst_alsa_mixer_element_get_property),
(gst_alsa_mixer_element_change_state):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_update):
* gst-libs/gst/interfaces/mixer.c: (gst_mixer_volume_changed),
(gst_mixer_option_changed):
* gst-libs/gst/interfaces/mixer.h:
Revert commits towards #152864 made so far. We'll pick it up again
after the 0.10.13 release.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: After an interrupt (PAUSED/flush) assume that...
Wim Taymans [Thu, 24 May 2007 16:22:23 +0000 (16:22 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: After an interrupt (PAUSED/flush) assume that the next sample should not be al...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
After an interrupt (PAUSED/flush) assume that the next sample should not
be aligned to the previous sample. Fixes #417992.

17 years agogst-libs/gst/riff/riff-media.c: Don't add channels and rate fields to the template...
Tim-Philipp Müller [Thu, 24 May 2007 15:16:59 +0000 (15:16 +0000)]
gst-libs/gst/riff/riff-media.c: Don't add channels and rate fields to the template caps for audio/x-dts, as wavparse ...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Don't add channels and rate fields to the template caps for
audio/x-dts, as wavparse might not always be able to set them,
which would then lead to 'caps are not a real subset of the
template caps' warnings.

17 years agogst/playback/gstplaybasebin.c: Handle unknown or invalid pads without crashing, as...
Jan Schmidt [Thu, 24 May 2007 11:15:32 +0000 (11:15 +0000)]
gst/playback/gstplaybasebin.c: Handle unknown or invalid pads without crashing, as might occur if a media file like a...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (new_decoded_pad_full):
Handle unknown or invalid pads without crashing, as might occur if
a media file like an mp3 is specified as a subtitle file.
Fixes: #410039

17 years agogst/playback/gstplaybin.c: Block the subtitle bin output queue before ghosting it...
Jan Schmidt [Thu, 24 May 2007 10:19:54 +0000 (10:19 +0000)]
gst/playback/gstplaybin.c: Block the subtitle bin output queue before ghosting it and linking, then unblock after. Th...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink), (dummy_blocked_cb),
(setup_sinks):
Block the subtitle bin output queue before ghosting it and linking,
then unblock after. This avoids spurious not-linked errors caused
by the queue starting up (because it gets linked when it is ghosted).
Fixes: #350299

17 years agotests/check/elements/playbin.c: Use /dev/zero instead of /dev/urandom to produce...
Jan Schmidt [Wed, 23 May 2007 15:54:28 +0000 (15:54 +0000)]
tests/check/elements/playbin.c: Use /dev/zero instead of /dev/urandom to produce an invalid subtitle file. Avoids flu...

Original commit message from CVS:
* tests/check/elements/playbin.c: (test_suburi_error_unknowntype):
Use /dev/zero instead of /dev/urandom to produce an invalid subtitle
file. Avoids flukes where the input gets typefound to some valid but
useless type.

17 years agotests/check/: Add unit test for gnomevfssink seeking and position reporting for file...
Tim-Philipp Müller [Tue, 22 May 2007 15:45:19 +0000 (15:45 +0000)]
tests/check/: Add unit test for gnomevfssink seeking and position reporting for file:// URIs.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/gnomevfssink.c: (setup_gnomevfssink),
(cleanup_gnomevfssink), (GST_START_TEST), (gnomevfssink_suite):
Add unit test for gnomevfssink seeking and position reporting for
file:// URIs.

17 years agoext/gnomevfs/gstgnomevfssink.*: see #412648.
Mark Nauwelaerts [Tue, 22 May 2007 15:30:26 +0000 (15:30 +0000)]
ext/gnomevfs/gstgnomevfssink.*: see #412648.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_init),
(gst_gnome_vfs_sink_open_file), (gst_gnome_vfs_sink_handle_event),
(gst_gnome_vfs_sink_query), (gst_gnome_vfs_sink_render):
* ext/gnomevfs/gstgnomevfssink.h:
Fix position reporting, especially after a seek (from upstream),
see #412648.

17 years agoext/cdparanoia/gstcdparanoiasrc.c: Repair umlaut.
Tim-Philipp Müller [Tue, 22 May 2007 15:04:41 +0000 (15:04 +0000)]
ext/cdparanoia/gstcdparanoiasrc.c: Repair umlaut.

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoiasrc.c:
Repair umlaut.

17 years agogst-libs/gst/riff/riff-media.c: Specify the full valid range for MP3 samplerates...
Jan Schmidt [Tue, 22 May 2007 11:40:31 +0000 (11:40 +0000)]
gst-libs/gst/riff/riff-media.c: Specify the full valid range for MP3 samplerates. Fixes a regression caused by extra ...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Specify the full valid range for MP3 samplerates. Fixes a regression
caused by extra header checks since the last release.

17 years agosys/: Fix a locking-order bug I introduced with my changes the other day.
Mike Smith [Mon, 21 May 2007 15:32:42 +0000 (15:32 +0000)]
sys/: Fix a locking-order bug I introduced with my changes the other day.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Fix a locking-order bug I introduced with my changes the other day.
Patch by Mike Smith.

17 years agoext/theora/theoradec.c: Don't look inside 0-length packets (which indicate duplicated...
Michael Smith [Mon, 21 May 2007 15:24:21 +0000 (15:24 +0000)]
ext/theora/theoradec.c: Don't look inside 0-length packets (which indicate duplicated frames)

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_handle_data_packet):
Don't look inside 0-length packets (which indicate duplicated
frames)

17 years agoSmall cleanups.
Wim Taymans [Mon, 21 May 2007 10:25:44 +0000 (10:25 +0000)]
Small cleanups.

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_read_sector):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
Small cleanups.
* ext/theora/theoradec.c: (theora_dec_sink_event):
Fix typo.
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_set_gst_timestamp):
Add some FIXME
* gst/playback/gstdecodebin.c: (queue_underrun_cb):
And some debug info when a FIXME path is hit.

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Some cleanups, remove minptime property...
Wim Taymans [Mon, 21 May 2007 09:45:28 +0000 (09:45 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Some cleanups, remove minptime property as it is now in the parent class.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_class_init),
(gst_base_rtp_audio_payload_init),
(gst_base_rtp_audio_payload_finalize),
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer),
(gst_base_rtp_payload_audio_handle_event):
Some cleanups, remove minptime property as it is now in the parent
class.
Override parent class event function.
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_event), (gst_basertppayload_set_property),
(gst_basertppayload_get_property):
* gst-libs/gst/rtp/gstbasertppayload.h:
Add min-ptime property.
Add handle-event vmethod. Fixes #415001.

17 years agoupdate spec
Christian Schaller [Fri, 18 May 2007 17:10:03 +0000 (17:10 +0000)]
update spec

Original commit message from CVS:
update spec

17 years agogst-libs/gst/audio/gstbaseaudiosink.c
Stefan Kost [Fri, 18 May 2007 15:23:43 +0000 (15:23 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c
(gst_base_audio_sink_change_state):
Fix typo in comment.
* gst/playback/gstdecodebin.c (gst_decode_bin_class_init,
free_dynamics, pad_probe, close_pad_link, try_to_link_1,
get_our_ghost_pad, remove_element_chain, queue_underrun_cb,
close_link):
* gst/playback/gstplaybin.c (gst_play_bin_set_property,
gen_audio_element, remove_sinks, gst_play_bin_send_event_to_sink):
Remove trailing whitespaces in comments.
* gst/volume/Makefile.am:
Fix tabs.

17 years agogst-libs/gst/interfaces/mixer.h (mixer_type, option_changed, set_option, get_option...
Marc-Andre Lureau [Fri, 18 May 2007 15:10:08 +0000 (15:10 +0000)]
gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed, set_option, get_option, _gst_reserved):

Original commit message from CVS:
patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
* gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed,
set_option, get_option, _gst_reserved):
Revert reordering functions (keep ABI).

17 years agosys/: When we create our own window, indicate that we handle the
Jan Schmidt [Thu, 17 May 2007 17:35:46 +0000 (17:35 +0000)]
sys/: When we create our own window, indicate that we handle the

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put),
(gst_ximagesink_xwindow_new), (gst_ximagesink_handle_xevents),
(gst_ximagesink_show_frame):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_xwindow_new), (gst_xvimagesink_handle_xevents),
(gst_xvimagesink_show_frame):
When we create our own window, indicate that we handle the
WM_DELETE client message from the window manager, so that it won't
kill our window (and our app) along with it. Handle ClientMessage,
post an error on the bus, and close the window. Further buffers
arriving will result in a FlowError because the window has been
destroyed.
Fixes: #393975
Clean up the X event handling loop and make them the same for
both xvimagesink and ximagesink while I'm at it.

17 years agogst/playback/gstdecodebin2.c: Make decodebin2 autoplug depayloaders too.
Wim Taymans [Thu, 17 May 2007 16:27:32 +0000 (16:27 +0000)]
gst/playback/gstdecodebin2.c: Make decodebin2 autoplug depayloaders too.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_factory_filter):
Make decodebin2 autoplug depayloaders too.
* gst/playback/gsturidecodebin.c: (source_new_pad):
Set the newly created decoder in a usable state when autoplugging a
dynamic source such as RTSP.

17 years agogst/playback/gststreaminfo.c: Ignore video-codec tag for audio streams and ignore...
Tim-Philipp Müller [Thu, 17 May 2007 16:11:03 +0000 (16:11 +0000)]
gst/playback/gststreaminfo.c: Ignore video-codec tag for audio streams and ignore audio-codec tags for video streams....

Original commit message from CVS:
* gst/playback/gststreaminfo.c: (cb_probe):
Ignore video-codec tag for audio streams and ignore audio-codec tags
for video streams. Should make codec name collection a bit more
robust against sloppy demuxers that send tag events containing both
tags down each pad.

17 years agogst/playback/gstqueue2.c: Tweak the buffering thresholds a little.
Wim Taymans [Thu, 17 May 2007 15:22:44 +0000 (15:22 +0000)]
gst/playback/gstqueue2.c: Tweak the buffering thresholds a little.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (update_rates):
Tweak the buffering thresholds a little.
Update the buffer size with the previously calculate rate instead of
only when we calculate a new rate so that we get smoother buffering
updates.
* gst/playback/Makefile.am:
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_base_init),
(gst_uri_decode_bin_class_init), (gst_uri_decode_bin_init),
(gst_uri_decode_bin_finalize), (gst_uri_decode_bin_set_property),
(gst_uri_decode_bin_get_property), (unknown_type),
(add_element_stream), (no_more_pads_full), (no_more_pads),
(source_no_more_pads), (new_decoded_pad), (array_has_value),
(gen_source_element), (has_all_raw_caps), (analyse_source),
(remove_decoders), (make_decoder), (remove_source),
(source_new_pad), (setup_source), (decoder_query_init),
(decoder_query_duration_fold), (decoder_query_duration_done),
(decoder_query_position_fold), (decoder_query_position_done),
(decoder_query_latency_fold), (decoder_query_latency_done),
(decoder_query_seeking_fold), (decoder_query_seeking_done),
(decoder_query_generic_fold), (gst_uri_decode_bin_query),
(gst_uri_decode_bin_change_state), (plugin_init):
New element that intergrates a source, optional buffering element and
decodebin.

17 years agoconfigure.ac: Bump libtheora requirement to 1.0alpha5 for the pixformat check (also...
Tim-Philipp Müller [Thu, 17 May 2007 14:17:17 +0000 (14:17 +0000)]
configure.ac: Bump libtheora requirement to 1.0alpha5 for the pixformat check (also has a .pc file, so we don't need ...

Original commit message from CVS:
* configure.ac:
Bump libtheora requirement to 1.0alpha5 for the pixformat check
(also has a .pc file, so we don't need the fallback check any
longer). Fixes #438840.

17 years agogst/playback/gstqueue2.c: fix build.
Wim Taymans [Thu, 17 May 2007 13:36:11 +0000 (13:36 +0000)]
gst/playback/gstqueue2.c: fix build.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_get_type),
(gst_queue_class_init), (gst_queue_finalize), (update_time_level),
(apply_segment), (apply_buffer), (update_buffering),
(reset_rate_timer), (update_rates), (gst_queue_locked_flush),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_handle_sink_event), (gst_queue_is_filled),
(gst_queue_chain), (gst_queue_push_one), (gst_queue_loop),
(plugin_init):
fix build.

17 years agogst/playback/: On our way to playbin2 this is the new network queue that does bufferi...
Wim Taymans [Thu, 17 May 2007 11:57:44 +0000 (11:57 +0000)]
gst/playback/: On our way to playbin2 this is the new network queue that does buffering all by itself using high and ...

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstqueue2.c: (gst_queue_get_type),
(gst_queue_class_init), (gst_queue_init), (gst_queue_finalize),
(gst_queue_getcaps), (gst_queue_bufferalloc),
(gst_queue_acceptcaps), (update_time_level), (apply_segment),
(apply_buffer), (update_buffering), (reset_rate_timer),
(update_rates), (gst_queue_locked_flush),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_handle_sink_event), (gst_queue_is_empty),
(gst_queue_is_filled), (gst_queue_chain), (gst_queue_push_one),
(gst_queue_loop), (gst_queue_handle_src_event),
(gst_queue_handle_src_query), (gst_queue_sink_activate_push),
(gst_queue_src_activate_push), (gst_queue_change_state),
(gst_queue_set_property), (gst_queue_get_property), (plugin_init):
On our way to playbin2 this is the new network queue that does buffering
all by itself using high and low watermarks. It can also measure up and
downstream bandwidth to optimally size the queue.

17 years agogst/: Use the segment->last_stop value to calculate the next timestamp to generate...
Michael Smith [Thu, 17 May 2007 11:16:14 +0000 (11:16 +0000)]
gst/: Use the segment->last_stop value to calculate the next timestamp to generate after a seek; not the segment->sta...

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_do_seek):
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_do_seek):
Use the segment->last_stop value to calculate the next timestamp to
generate after a seek; not the segment->start value.

17 years agodocs/Makefile.am: Install docs even when --disable-gtk-doc is disabled. This matches...
David Schleef [Tue, 15 May 2007 20:14:06 +0000 (20:14 +0000)]
docs/Makefile.am: Install docs even when --disable-gtk-doc is disabled.  This matches the behavior of gtk+.  Fixes #3...

Original commit message from CVS:
* docs/Makefile.am: Install docs even when --disable-gtk-doc
is disabled.  This matches the behavior of gtk+.  Fixes #349099.

17 years agoext/ogg/gstoggdemux.c: Some more chained streaming ogg timestamp fixes.
Wim Taymans [Tue, 15 May 2007 17:11:09 +0000 (17:11 +0000)]
ext/ogg/gstoggdemux.c: Some more chained streaming ogg timestamp fixes.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_handle_page):
Some more chained streaming ogg timestamp fixes.

17 years agoext/ogg/gstoggdemux.c: Add some FIXMEs.
Wim Taymans [Tue, 15 May 2007 16:46:10 +0000 (16:46 +0000)]
ext/ogg/gstoggdemux.c: Add some FIXMEs.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_handle_page):
Add some FIXMEs.
Fix chain start/stop segment handling based on patch by
<ahalda at cs dot mcgill dot ca> see #320984.

17 years agoconfigure.ac: We don't require a C++ compiler. So don't require one.
Michael Smith [Tue, 15 May 2007 15:33:54 +0000 (15:33 +0000)]
configure.ac: We don't require a C++ compiler. So don't require one.

Original commit message from CVS:
* configure.ac:
We don't require a C++ compiler. So don't require one.

17 years agoext/alsa/gstalsamixer.c (source, n_poll_fds, poll_fds, gst_alsa_mixer_check, gst_alsa...
Stefan Kost [Tue, 15 May 2007 15:29:17 +0000 (15:29 +0000)]
ext/alsa/gstalsamixer.c (source, n_poll_fds, poll_fds, gst_alsa_mixer_check, gst_alsa_mixer_dispatch, gst_alsa_mixer_...

Original commit message from CVS:
* ext/alsa/gstalsamixer.c (source, n_poll_fds, poll_fds,
gst_alsa_mixer_check, gst_alsa_mixer_dispatch,
gst_alsa_mixer_finalize, gst_alsa_mixer_handle_source_callback,
gst_alsa_mixer_handle_callback, gst_alsa_mixer_elem_handle_callback,
gst_alsa_mixer_ensure_track_list, gst_alsa_mixer_update_option,
gst_alsa_mixer_update_track):
Apply some of the cleanup Tim suggested in #152864 afterwards.

17 years agoext/alsa/gstalsamixer.c (main_context, GstAlsaMixerWatch, _GstAlsaMixerWatch, source...
Marc-Andre Lureau [Tue, 15 May 2007 14:01:26 +0000 (14:01 +0000)]
ext/alsa/gstalsamixer.c (main_context, GstAlsaMixerWatch, _GstAlsaMixerWatch, source, n_poll_fds, poll_fds, gst_alsa_...

Original commit message from CVS:
patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
* ext/alsa/gstalsamixer.c (main_context, GstAlsaMixerWatch,
_GstAlsaMixerWatch, source, n_poll_fds, poll_fds,
gst_alsa_mixer_watch_funcs, gst_alsa_mixer_prepare,
gst_alsa_mixer_check, gst_alsa_mixer_dispatch,
gst_alsa_mixer_finalize, gst_alsa_mixer_find_master_mixer,
gst_alsa_mixer_handle_source_callback,
gst_alsa_mixer_handle_callback, gst_alsa_mixer_elem_handle_callback,
gst_alsa_mixer_ensure_track_list, gst_alsa_mixer_free,
gst_alsa_mixer_get_volume, gst_alsa_mixer_set_volume,
gst_alsa_mixer_set_mute, gst_alsa_mixer_set_record,
gst_alsa_mixer_get_option, gst_alsa_mixer_update_option,
gst_alsa_mixer_update_track, _gst_alsa_mixer_set_interface):
* ext/alsa/gstalsamixer.h (handle_source, interface, dir):
* ext/alsa/gstalsamixerelement.c (gst_alsa_mixer_element_details,
gst_alsa_mixer_element_interface_supported,
gst_alsa_mixer_element_finalize, gst_alsa_mixer_element_init,
gst_alsa_mixer_element_set_property,
gst_alsa_mixer_element_get_property,
gst_alsa_mixer_element_change_state):
* ext/alsa/gstalsamixertrack.c (gst_alsa_mixer_track_update):
* gst-libs/gst/interfaces/mixer.c (gst_mixer_volume_changed,
gst_mixer_option_changed):
* gst-libs/gst/interfaces/mixer.h (set_option, get_option,
volume_changed, option_changed, _gst_reserved):
Implement notification for alsamixer. Fixes #152864

17 years agogst/videotestsrc/videotestsrc.*: Add support for video/x-raw-bayer.
David Schleef [Tue, 15 May 2007 03:53:11 +0000 (03:53 +0000)]
gst/videotestsrc/videotestsrc.*: Add support for video/x-raw-bayer.

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Add support for video/x-raw-bayer.

17 years agosys/xvimage/xvimagesink.c: Add some sanity checking for the XVImage size returned...
David Schleef [Sun, 13 May 2007 01:06:19 +0000 (01:06 +0000)]
sys/xvimage/xvimagesink.c: Add some sanity checking for the XVImage size returned by X.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
Add some sanity checking for the XVImage size returned by X.
Related to #377400.

17 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Parse and use additional caps fields as descr...
Wim Taymans [Sat, 12 May 2007 16:18:39 +0000 (16:18 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Parse and use additional caps fields as described in updated application/x-rt...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_setcaps),
(gst_base_rtp_depayload_set_gst_timestamp):
Parse and use additional caps fields as described in updated
application/x-rtp caps spec.

17 years agoext/ogg/gstoggdemux.c: If there is a stream in a chain without any data packets,...
Wim Taymans [Sat, 12 May 2007 16:16:22 +0000 (16:16 +0000)]
ext/ogg/gstoggdemux.c: If there is a stream in a chain without any data packets, ignore the stream in the total lengt...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_collect_chain_info):
If there is a stream in a chain without any data packets, ignore the
stream in the total length calculations. Might be related to #436820.

17 years agogst/typefind/gsttypefindfunctions.c: Consolidate and re-work our mpeg system stream...
Jan Schmidt [Fri, 11 May 2007 17:33:43 +0000 (17:33 +0000)]
gst/typefind/gsttypefindfunctions.c: Consolidate and re-work our mpeg system stream detection to probe more packets a...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg_sys_is_valid_pack),
(mpeg_sys_is_valid_pes), (mpeg_sys_is_valid_sys),
(mpeg_sys_type_find), (mpeg_ts_type_find), (mpeg4_video_type_find),
(mpeg_video_type_find), (mpeg_video_stream_type_find),
(plugin_init):
Consolidate and re-work our mpeg system stream detection to probe
more packets and produce a higher confidence result. Fixes a
regression caused by lowering the typefind probability last year
- related to bug #397810. Remove the redundant MPEG-1 specific
typefind function, as the new one detects both MPEG-1 & MPEG-2
happily.
Also cleanup the MPEG elementary and MPEG-TS detection functions a
little.
Tested against my media test directory, with some improvements and
no regressions.

17 years agogst/playback/gstplaybasebin.c: Connect to the new queue "pushing" signal instead...
Wim Taymans [Thu, 10 May 2007 15:28:13 +0000 (15:28 +0000)]
gst/playback/gstplaybasebin.c: Connect to the new queue "pushing" signal instead of the broken "running" one.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (fill_buffer), (check_queue),
(queue_out_of_data):
Connect to the new queue "pushing" signal instead of the broken
"running" one.

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Move variable declaration before the first...
Sébastien Moutte [Wed, 9 May 2007 21:17:40 +0000 (21:17 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Move variable declaration before the first instruction.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_handle_frame_based_buffer):
Move variable declaration before the first instruction.
* gst/videotestsrc/videotestsrc.c:
Define M_PI if it's not defined yet.
* win32/common/libgstrtp.def:
Add new exported functions.

17 years agoext/theora/theoradec.c: gst_pad_push_event() does not return a GstFlowReturn!
Michael Smith [Wed, 9 May 2007 11:54:32 +0000 (11:54 +0000)]
ext/theora/theoradec.c: gst_pad_push_event() does not return a GstFlowReturn!

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_handle_type_packet):
gst_pad_push_event() does not return a GstFlowReturn!

17 years agotests/examples/seek/: Some small cosmetic changes.
Wim Taymans [Wed, 9 May 2007 11:25:34 +0000 (11:25 +0000)]
tests/examples/seek/: Some small cosmetic changes.

Original commit message from CVS:
* tests/examples/seek/scrubby.c: (stop_cb), (main):
* tests/examples/seek/seek.c: (do_seek):
Some small cosmetic changes.

17 years agogst/adder/gstadder.c (gst_adder_src_event, gst_adder_collected, gst_adder_change_stat...
Stefan Kost [Tue, 8 May 2007 19:24:01 +0000 (19:24 +0000)]
gst/adder/gstadder.c (gst_adder_src_event, gst_adder_collected, gst_adder_change_state): gst/adder/gstadder.h (bps, o...

Original commit message from CVS:
* gst/adder/gstadder.c (gst_adder_src_event, gst_adder_collected,
gst_adder_change_state):
* gst/adder/gstadder.h (bps, offset, collect_event, segment,
segment_pending, segment_position, segment_rate):
Handle playback-rate on adder.

17 years agoext/theora/: Don't push events (newsegment, tags) before initialising the decoder.
Michael Smith [Mon, 7 May 2007 11:43:31 +0000 (11:43 +0000)]
ext/theora/: Don't push events (newsegment, tags) before initialising the decoder.

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_reset),
(theora_dec_sink_event), (theora_handle_comment_packet),
(theora_handle_type_packet), (theora_dec_change_state):
Don't push events (newsegment, tags) before initialising the
decoder.
This is neccesary for seeking to work correctly in gnonlin.

17 years agogst/: gst/audiotestsrc/gstaudiotestsrc.c
Stefan Kost [Fri, 4 May 2007 13:10:07 +0000 (13:10 +0000)]
gst/: gst/audiotestsrc/gstaudiotestsrc.c

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst/adder/gstadder.c:
* gst/audiotestsrc/gstaudiotestsrc.c
(gst_audio_test_src_create_white_noise):
* gst/videotestsrc/gstvideotestsrc.c:
* gst/volume/gstvolume.c (VOLUME_UNITY_INT16,
VOLUME_UNITY_INT16_BIT_SHIFT, VOLUME_MAX_DOUBLE,
volume_sink_template, volume_src_template, gst_volume_init,
volume_process_double, volume_process_int16,
volume_process_int16_clamp):
Doc fixes and formatting.

17 years agotests/check/: Minimal check for volume's GstController usability; also another test...
Tim-Philipp Müller [Fri, 4 May 2007 12:41:21 +0000 (12:41 +0000)]
tests/check/: Minimal check for volume's GstController usability; also another test for #422295.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
Minimal check for volume's GstController usability; also another
test for #422295.

17 years agogst-libs/gst/cdda/gstcddabasesrc.c: Fix it so that it (a) makes sense and (b) doesn...
Tim-Philipp Müller [Fri, 4 May 2007 09:06:38 +0000 (09:06 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: Fix it so that it (a) makes sense and (b) doesn't break everything cdda-related i...

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_add_track):
Fix it so that it (a) makes sense and (b) doesn't break
everything cdda-related including the unit test.

17 years agogst-libs/gst/cdda/gstcddabasesrc.c: Fix build when disabling asserts.
Stefan Kost [Fri, 4 May 2007 08:46:59 +0000 (08:46 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: Fix build when disabling asserts.

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_add_track):
Fix build when disabling asserts.

17 years agosys/ximage/ximagesink.c: When XShm is not available, we might get row strides that...
Tim-Philipp Müller [Thu, 3 May 2007 16:29:10 +0000 (16:29 +0000)]
sys/ximage/ximagesink.c: When XShm is not available, we might get row strides that are not rounded up to multiples of...

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new):
When XShm is not available, we might get row strides that are not
rounded up to multiples of four; this is bad, because virtually
every RGB-processing element in GStreamer assumes rowstrides are
rounded up to multiples of four, so let's allocate at least enough
memory to avoid crashes in this case. The image will still be
displayed distorted though if this happens, so that still needs
fixing (maybe by allocating a bigger image with an 'even' width
and then clipping it appropriately when rendering - something for
Xlib aficionados in any case).

17 years agogst/audiorate/gstaudiorate.c: If a buffer doesn't have a timestamp, assume it's conti...
Michael Smith [Thu, 3 May 2007 13:16:21 +0000 (13:16 +0000)]
gst/audiorate/gstaudiorate.c: If a buffer doesn't have a timestamp, assume it's contiguous with the previous buffer, ...

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
If a buffer doesn't have a timestamp, assume it's contiguous with
the previous buffer, and synthesise timestamps appropriately.

17 years agotests/check/elements/videorate.c: Set buffer timestamp to a valid value in order...
Edward Hervey [Thu, 3 May 2007 11:24:00 +0000 (11:24 +0000)]
tests/check/elements/videorate.c: Set buffer timestamp to a valid value in order to test the buffer really does stay ...

Original commit message from CVS:
* tests/check/elements/videorate.c: (GST_START_TEST):
Set buffer timestamp to a valid value in order to test the buffer
really does stay in videorate.

17 years agogst/videorate/gstvideorate.c: There is no sensible way to handle incoming buffers...
Edward Hervey [Thu, 3 May 2007 10:47:22 +0000 (10:47 +0000)]
gst/videorate/gstvideorate.c: There is no sensible way to handle incoming buffers which don't have a valid timestamp....

Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_video_rate_chain):
There is no sensible way to handle incoming buffers which don't have a
valid timestamp. We therefore discard them and wait for the next one.

17 years agogst/playback/: Better error message for text files.
Tim-Philipp Müller [Tue, 1 May 2007 18:45:36 +0000 (18:45 +0000)]
gst/playback/: Better error message for text files.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (type_found), (plugin_init):
* gst/playback/gstdecodebin2.c: (plugin_init):
Better error message for text files.

17 years agogst-libs/gst/rtp/gstrtcpbuffer.c: Fix offset bug in generation RR packets.
Wim Taymans [Sun, 29 Apr 2007 14:38:05 +0000 (14:38 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.c: Fix offset bug in generation RR packets.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_add_rb):
Fix offset bug in generation RR packets.

17 years agoext/theora/theoradec.c: Calculate buffer duration correctly to generate a perfect...
Julien Moutte [Fri, 27 Apr 2007 15:33:46 +0000 (15:33 +0000)]
ext/theora/theoradec.c: Calculate buffer duration correctly to generate a perfect stream (#433888).

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

* ext/theora/theoradec.c: (_theora_granule_time),
(theora_dec_push_forward), (theora_handle_data_packet),
(theora_dec_decode_buffer): Calculate buffer duration correctly
to generate a perfect stream (#433888).
* gst/audioresample/gstaudioresample.c:
(audioresample_check_discont): Glib provides ABS.

17 years agogst-libs/gst/rtp/gstrtcpbuffer.*: Fix RB block parsing and writing.
Wim Taymans [Fri, 27 Apr 2007 15:01:40 +0000 (15:01 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.*: Fix RB block parsing and writing.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_get_rb),
(gst_rtcp_packet_add_rb), (gst_rtcp_packet_sdes_add_item),
(gst_rtcp_packet_sdes_add_entry), (gst_rtcp_packet_bye_add_ssrc),
(gst_rtcp_packet_bye_add_ssrcs), (get_reason_offset),
(gst_rtcp_packet_bye_set_reason):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Fix RB block parsing and writing.
Add support for constructing BYE packets.

17 years agoWhen posting a warning message because samples were dropped, post something more...
Tim-Philipp Müller [Wed, 25 Apr 2007 08:54:34 +0000 (08:54 +0000)]
When posting a warning message because samples were dropped, post something more intelligible than he default error m...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c: (_do_init),
(gst_base_audio_src_create):
* po/POTFILES.in:
When posting a warning message because samples were dropped, post
something more intelligible than he default error message for clock
errors which is just confusing in this context (#432984).

17 years agogst-libs/gst/rtp/gstrtcpbuffer.*: Implement code to write SR, RR and SDES packets.
Wim Taymans [Wed, 25 Apr 2007 08:10:26 +0000 (08:10 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.*: Implement code to write SR, RR and SDES packets.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_buffer_new),
(gst_rtcp_buffer_end), (gst_rtcp_buffer_get_packet_count),
(read_packet_header), (gst_rtcp_packet_move_to_next),
(gst_rtcp_buffer_add_packet), (gst_rtcp_packet_sr_set_sender_info),
(gst_rtcp_packet_rr_set_ssrc), (gst_rtcp_packet_add_rb),
(gst_rtcp_packet_sdes_get_item_count),
(gst_rtcp_packet_sdes_first_item),
(gst_rtcp_packet_sdes_next_item), (gst_rtcp_packet_sdes_get_ssrc),
(gst_rtcp_packet_sdes_first_entry),
(gst_rtcp_packet_sdes_next_entry),
(gst_rtcp_packet_sdes_get_entry), (gst_rtcp_packet_sdes_add_item),
(gst_rtcp_packet_sdes_add_entry):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Implement code to write SR, RR and SDES packets.

17 years agosys/ximage/ximagesink.c: Fix build if XShm is not available (#432362).
Christian Kirbach [Tue, 24 Apr 2007 20:45:24 +0000 (20:45 +0000)]
sys/ximage/ximagesink.c: Fix build if XShm is not available (#432362).

Original commit message from CVS:
Patch by: Christian Kirbach <Christian dot Kirbach at googlemail com>
* sys/ximage/ximagesink.c:
Fix build if XShm is not available (#432362).

17 years agogst/audioconvert/gstaudioconvert.c: Initalize the AudioConvertCtx with zeroes, otherw...
Sebastian Dröge [Tue, 24 Apr 2007 18:58:25 +0000 (18:58 +0000)]
gst/audioconvert/gstaudioconvert.c: Initalize the AudioConvertCtx with zeroes, otherwise it will contain pointers to ...

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init):
Initalize the AudioConvertCtx with zeroes, otherwise it will contain
pointers to random memory which are passed to g_free() when
audio_convert_prepare_context() is called the first time.

17 years agogst/videorate/gstvideorate.c: Don't leak incoming buffer if gst_pad_push() returns...
Dan Williams [Tue, 24 Apr 2007 15:00:07 +0000 (15:00 +0000)]
gst/videorate/gstvideorate.c: Don't leak incoming buffer if gst_pad_push() returns a non-OK flow. Fixes #432755.

Original commit message from CVS:
Patch by: Dan Williams <dcbw redhat com>
* gst/videorate/gstvideorate.c: (gst_video_rate_chain):
Don't leak incoming buffer if gst_pad_push() returns a
non-OK flow. Fixes #432755.
* tests/check/elements/videorate.c: (GST_START_TEST),
(videorate_suite):
Unit test for the above by Yours Truly.

17 years agogst/adder/gstadder.c: Fix non-flushing segmented seeks, Fixes #340060 for me
Stefan Kost [Mon, 23 Apr 2007 20:04:28 +0000 (20:04 +0000)]
gst/adder/gstadder.c: Fix non-flushing segmented seeks, Fixes #340060 for me

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_setcaps), (gst_adder_src_event),
(gst_adder_sink_event), (gst_adder_collected):
Fix non-flushing segmented seeks, Fixes #340060 for me

17 years agoChangeLog surgery: add API keyword
Tim-Philipp Müller [Sat, 21 Apr 2007 15:29:27 +0000 (15:29 +0000)]
ChangeLog surgery: add API keyword

Original commit message from CVS:
ChangeLog surgery: add API keyword

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Chain up to parent class in dispose functi...
Olivier Crete [Sat, 21 Apr 2007 15:25:22 +0000 (15:25 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Chain up to parent class in dispose function; get rid of unnecessary 'dipo...

Original commit message from CVS:
Patch by: Olivier Crete  <tester at tester ca>
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_class_init),
(gst_base_rtp_audio_payload_init),
(gst_base_rtp_audio_payload_dispose):
Chain up to parent class in dispose function; get rid of
unnecessary 'diposed' flag in private structure (#415001).

17 years agoSome minor docs fixes and additions; also add missing 'Since' bits.
Tim-Philipp Müller [Sat, 21 Apr 2007 15:10:25 +0000 (15:10 +0000)]
Some minor docs fixes and additions; also add missing 'Since' bits.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs.types:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_class_init):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
* gst-libs/gst/rtp/gstbasertppayload.c:
Some minor docs fixes and additions; also add missing 'Since' bits.

17 years agogst-libs/gst/rtp/gstbasertpaudiopayload.*: The recently-added gst_base_rtp_audio_payl...
Zeeshan Ali [Sat, 21 Apr 2007 14:40:45 +0000 (14:40 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.*: The recently-added gst_base_rtp_audio_payload_push() should take an object...

Original commit message from CVS:
Patch by: Zeeshan Ali  <zeenix gmail com>
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer),
(gst_base_rtp_audio_payload_push):
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
The recently-added gst_base_rtp_audio_payload_push() should take an
object of type GstBaseRTPAudioPayload as first argument (#431672).

17 years agogst/audioresample/gstaudioresample.c: Make more functions static, just because we...
Tim-Philipp Müller [Sat, 21 Apr 2007 14:14:24 +0000 (14:14 +0000)]
gst/audioresample/gstaudioresample.c: Make more functions static, just because we can.

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
Make more functions static, just because we can.

17 years agotests/check/elements/audioresample.c: Add unit test for audioresample shutdown crashe...
Tim-Philipp Müller [Sat, 21 Apr 2007 13:54:39 +0000 (13:54 +0000)]
tests/check/elements/audioresample.c: Add unit test for audioresample shutdown crasher (#420106).

Original commit message from CVS:
* tests/check/elements/audioresample.c:
Add unit test for audioresample shutdown crasher (#420106).

17 years agogst/subparse/: Use GST_DISABLE_XML here
Stefan Kost [Fri, 20 Apr 2007 10:42:24 +0000 (10:42 +0000)]
gst/subparse/: Use GST_DISABLE_XML here

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
* gst/subparse/samiparse.c:
Use GST_DISABLE_XML here
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_xwindow_new), (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_navigation_send_event):
* sys/xvimage/xvimagesink.h:
Include stdlib.h when using atoi.
* tests/check/elements/playbin.c: (playbin_suite):
Use GST_DISABLE_REGISTRY here

17 years agoext/theora/: Track initialisation state; don't try to use encoder state if we're...
Michael Smith [Thu, 19 Apr 2007 16:58:53 +0000 (16:58 +0000)]
ext/theora/: Track initialisation state; don't try to use encoder state if we're not initialised (it'll segfault).

Original commit message from CVS:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: (theora_enc_sink_setcaps),
(theora_enc_sink_event), (theora_enc_change_state):
Track initialisation state; don't try to use encoder state if we're
not initialised (it'll segfault).

17 years agotests/check/pipelines/.cvsignore: Fix build.
Stefan Kost [Wed, 18 Apr 2007 11:06:42 +0000 (11:06 +0000)]
tests/check/pipelines/.cvsignore: Fix build.

Original commit message from CVS:
* tests/check/pipelines/.cvsignore:
Fix build.

17 years agogst/app/Makefile.am: Fix CFLAGS and hopefully #430594.
Tim-Philipp Müller [Tue, 17 Apr 2007 10:56:37 +0000 (10:56 +0000)]
gst/app/Makefile.am: Fix CFLAGS and hopefully #430594.

Original commit message from CVS:
* gst/app/Makefile.am:
Fix CFLAGS and hopefully #430594.

17 years agogst-libs/gst/riff/riff-media.c: Allow random depths between 1 and 32 instead of only...
Sebastian Dröge [Tue, 17 Apr 2007 02:53:16 +0000 (02:53 +0000)]
gst-libs/gst/riff/riff-media.c: Allow random depths between 1 and 32 instead of only multiplies of 8.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Allow random depths between 1 and 32 instead of only multiplies of 8.

17 years agogst-libs/gst/riff/riff-media.c: Set the maximum number of channels for PCM and float...
Sebastian Dröge [Tue, 17 Apr 2007 02:04:21 +0000 (02:04 +0000)]
gst-libs/gst/riff/riff-media.c: Set the maximum number of channels for PCM and float in the correct place to have it ...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Set the maximum number of channels for PCM and float in the correct
place to have it also used when creating the template caps.

17 years agogst-libs/gst/riff/riff-media.c: Correctly support 4, 6 and 8 channels with normal...
Sebastian Dröge [Tue, 17 Apr 2007 01:56:07 +0000 (01:56 +0000)]
gst-libs/gst/riff/riff-media.c: Correctly support 4, 6 and 8 channels with normal PCM and float wav files.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Correctly support 4, 6 and 8 channels with normal PCM and float
wav files.
Fix the depth and signedness calculation in extensible wav files and
also handle 1, 2, 4, 6, 8 channels here when a file without channel
mask is found.
Add support for float, alaw and mulaw in extensible wav files.
This allows correct playback of all but 5 files from
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html
(gst_riff_create_audio_template_caps):
Add voxware and float formats to the template caps.

17 years agoext/pango/gstclockoverlay.c: Fix unused variable warning if HAVE_LOCALTIME_R is undef...
Vincent Torri [Mon, 16 Apr 2007 22:20:03 +0000 (22:20 +0000)]
ext/pango/gstclockoverlay.c: Fix unused variable warning if HAVE_LOCALTIME_R is undefinied

Original commit message from CVS:
Patch by: Vincent Torri <vtorri at univ-evry dot fr>
* ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time):
Fix unused variable warning if HAVE_LOCALTIME_R is undefinied
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
* gst/audioresample/gstaudioresample.c: (audioresample_do_output):
Use the correct format strings for integer formats.

17 years agofix release date
Thomas Vander Stichele [Mon, 16 Apr 2007 21:44:34 +0000 (21:44 +0000)]
fix release date

Original commit message from CVS:
fix release date

17 years agofix release date
Thomas Vander Stichele [Mon, 16 Apr 2007 21:42:13 +0000 (21:42 +0000)]
fix release date

Original commit message from CVS:
fix release date

17 years agoext/theora/theoraenc.c (theora_buffer_from_packet, theora_enc_chain): Don't use pad_a...
Thomas Vander Stichele [Sun, 15 Apr 2007 14:35:53 +0000 (14:35 +0000)]
ext/theora/theoraenc.c (theora_buffer_from_packet, theora_enc_chain): Don't use pad_alloc_buffer_and_set_caps to crea...

Original commit message from CVS:
* ext/theora/theoraenc.c (theora_buffer_from_packet, theora_enc_chain):
Don't use pad_alloc_buffer_and_set_caps to create a small header
packet, or, worse, to create a big temporary video buffer using the
src pad.

17 years agogst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_ev...
Thomas Vander Stichele [Sat, 14 Apr 2007 12:34:55 +0000 (12:34 +0000)]
gst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_chain):
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, buffer_probe_cb, GST_START_TEST):
Fix a bug where serialized IN_CAPS buffers needed to be set IN_CAPS.