platform/upstream/gstreamer.git
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.

17 years agoadd debug
Thomas Vander Stichele [Fri, 13 Apr 2007 22:10:58 +0000 (22:10 +0000)]
add debug

Original commit message from CVS:
add debug

17 years agotests/check/pipelines/streamheader.c (tag_event_probe_cb,
Thomas Vander Stichele [Fri, 13 Apr 2007 21:55:31 +0000 (21:55 +0000)]
tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, n_in_caps, buffer_probe_cb, GST_START_TEST,
streamheader_suite):
Add another test set up for failure

17 years agodebug changes
Thomas Vander Stichele [Fri, 13 Apr 2007 21:09:04 +0000 (21:09 +0000)]
debug changes

Original commit message from CVS:
debug changes

17 years agotests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_prob...
Thomas Vander Stichele [Fri, 13 Apr 2007 21:08:11 +0000 (21:08 +0000)]
tests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,
GST_START_TEST, streamheader_suite, main):
Add a test for the streamheader bug Wim fixed.

17 years agoext/theora/theoradec.c: Fix misleading comment.
Jan Schmidt [Fri, 13 Apr 2007 11:42:34 +0000 (11:42 +0000)]
ext/theora/theoradec.c: Fix misleading comment.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_sink_event):
Fix misleading comment.

17 years agogst-libs/gst/riff/riff-media.c: More sanity checks for the header fields.
Stefan Kost [Fri, 13 Apr 2007 06:17:45 +0000 (06:17 +0000)]
gst-libs/gst/riff/riff-media.c: More sanity checks for the header fields.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
More sanity checks for the header fields.

17 years agogst-libs/gst/tag/tags.c: Try encodings from all environment variables, not just those...
Tim-Philipp Müller [Thu, 12 Apr 2007 16:36:36 +0000 (16:36 +0000)]
gst-libs/gst/tag/tags.c: Try encodings from all environment variables, not just those in the first environment variab...

Original commit message from CVS:
* gst-libs/gst/tag/tags.c: (gst_tag_freeform_string_to_utf8):
Try encodings from all environment variables, not just those in the
first environment variable that is set.

17 years agogst/videorate/gstvideorate.c: Add some debug.
Wim Taymans [Thu, 12 Apr 2007 15:00:03 +0000 (15:00 +0000)]
gst/videorate/gstvideorate.c: Add some debug.

Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_video_rate_setcaps),
(gst_video_rate_chain):
Add some debug.
* tests/check/elements/videorate.c: (GST_START_TEST),
(videorate_suite):
Added check for videorate changing caps handling. Closes #421834.

17 years agoext/vorbis/vorbisdec.c: Use scale functions to avoid overflow when calculating durati...
Michael Smith [Thu, 12 Apr 2007 12:57:33 +0000 (12:57 +0000)]
ext/vorbis/vorbisdec.c: Use scale functions to avoid overflow when calculating duration of vorbis buffers.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
Use scale functions to avoid overflow when calculating duration of
vorbis buffers.

17 years agoAPI: add gst_tag_freeform_string_to_utf8() (#405072).
Tim-Philipp Müller [Thu, 12 Apr 2007 12:19:20 +0000 (12:19 +0000)]
API: add gst_tag_freeform_string_to_utf8() (#405072).

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (gst_tag_freeform_string_to_utf8):
API: add gst_tag_freeform_string_to_utf8() (#405072).
* gst-libs/gst/tag/gstid3tag.c: (gst_tag_extract_id3v1_string):
Use gst_tag_freeform_string_to_utf8() here.

17 years agolog tweaking
Thomas Vander Stichele [Thu, 12 Apr 2007 10:38:03 +0000 (10:38 +0000)]
log tweaking

Original commit message from CVS:
log tweaking

17 years agogst/gdp/gstgdppay.c: Make sure we set the IN_CAPS flag correctly.
Wim Taymans [Thu, 12 Apr 2007 10:03:22 +0000 (10:03 +0000)]
gst/gdp/gstgdppay.c: Make sure we set the IN_CAPS flag correctly.

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event):
Make sure we set the IN_CAPS flag correctly.
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
Get the IN_CAPS flag before we call functions that mess with the flags.

17 years agogst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader, gst_gdp_pay_chain, gst_gdp_pay_s...
Thomas Vander Stichele [Tue, 10 Apr 2007 20:37:05 +0000 (20:37 +0000)]
gst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader, gst_gdp_pay_chain, gst_gdp_pay_sink_event):

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader,
gst_gdp_pay_chain, gst_gdp_pay_sink_event):
Only stamp buffers with offset/offset_end right before they get
pushed.  This ensures offset continuity, which was not the case
before as shown by
gst-launch -v -m audiotestsrc num-buffers=10 ! audioconvert ! vorbisenc ! gdppay ! identity check-imperfect-offset=TRUE ! fakesink silent=TRUE

17 years agoadding debugging
Thomas Vander Stichele [Tue, 10 Apr 2007 20:25:06 +0000 (20:25 +0000)]
adding debugging

Original commit message from CVS:
adding debugging

17 years agoupdate spec file for RTP changes
Christian Schaller [Tue, 10 Apr 2007 11:23:18 +0000 (11:23 +0000)]
update spec file for RTP changes

Original commit message from CVS:
update spec file for RTP changes

17 years agogst/playback/gstplaybin.c: Activate sync in playbin, we are ready to handle it for...
Wim Taymans [Fri, 6 Apr 2007 12:58:06 +0000 (12:58 +0000)]
gst/playback/gstplaybin.c: Activate sync in playbin, we are ready to handle it for live streams.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (add_sink),
(gst_play_bin_change_state):
Activate sync in playbin, we are ready to handle it for live streams.

17 years agotests/check/elements/playbin.c: Add small test for stream-info-value-array code paths.
Tim-Philipp Müller [Fri, 6 Apr 2007 09:56:18 +0000 (09:56 +0000)]
tests/check/elements/playbin.c: Add small test for stream-info-value-array code paths.

Original commit message from CVS:
* tests/check/elements/playbin.c:
(test_sink_usage_video_only_stream), (playbin_suite):
Add small test for stream-info-value-array code paths.

17 years agogst-libs/gst/audio/gstbaseaudiosink.c: Don't try to create invalid calibration parame...
Wim Taymans [Thu, 5 Apr 2007 15:44:40 +0000 (15:44 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to create invalid calibration parameters by making the internal time...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_skew_slaving):
Don't try to create invalid calibration parameters by making the
internal time go backwards, instead make external time go forward.

17 years agogst/playback/gstplaybasebin.c: Fix leak in add_stream(), when g_value_set_object...
Tommi Myöhänen [Thu, 5 Apr 2007 10:27:06 +0000 (10:27 +0000)]
gst/playback/gstplaybasebin.c: Fix leak in add_stream(), when g_value_set_object() increases the refcount of streamin...

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* gst/playback/gstplaybasebin.c: (add_stream):
Fix leak in add_stream(), when g_value_set_object() increases the
refcount of streaminfo object. Fixes #426250.

17 years agogst/videotestsrc/: Add a test pattern called "circular", which has concentric rings...
David Schleef [Wed, 4 Apr 2007 02:45:03 +0000 (02:45 +0000)]
gst/videotestsrc/: Add a test pattern called "circular", which has concentric rings with varying radial frequency.  T...

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Add a test pattern called "circular", which has concentric
rings with varying radial frequency.  The main purpose of this
pattern is to test fidelity loss in a filter or scaler element.
Notably, this pattern is scale invariant, and is optimally viewed
with a width (and height) of 400.

17 years agogst/playback/gstdecodebin2.c: Decodebin2 doesn't unref pads it obtains in some occasions:
Tommi Myöhänen [Tue, 3 Apr 2007 11:10:52 +0000 (11:10 +0000)]
gst/playback/gstdecodebin2.c: Decodebin2 doesn't unref pads it obtains in some occasions:

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* gst/playback/gstdecodebin2.c: (connect_pad), (expose_pad),
(deactivate_free_recursive):
Decodebin2 doesn't unref pads it obtains in some occasions:
- multiqueue src pads, when either connecting further or exposing
- sink pads of new autoplugged elements
- peer pads when recursively freeing elements
Fixes #425455.

17 years agogst-libs/gst/riff/riff-media.c: Add audio/x-raw-float support, now that audioconvert...
Sebastian Dröge [Fri, 30 Mar 2007 17:05:23 +0000 (17:05 +0000)]
gst-libs/gst/riff/riff-media.c: Add audio/x-raw-float support, now that audioconvert support non-native endianness fl...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Add audio/x-raw-float support, now that audioconvert support
non-native endianness floats.