platform/upstream/gst-plugins-base.git
16 years agotests/check/libs/video.c: Add unit test that makes sure that the strides, offsets...
Tim-Philipp Müller [Sun, 2 Mar 2008 18:24:37 +0000 (18:24 +0000)]
tests/check/libs/video.c: Add unit test that makes sure that the strides, offsets and sizes returned for the various ...

Original commit message from CVS:
* tests/check/libs/video.c: (paintinfo), (paintinfo_struct),
(fourcc_list_struct), (fourcc_list), (fourcc_get_size),
(paint_setup_I420), (paint_setup_YV12), (paint_setup_AYUV),
(paint_setup_YUY2), (paint_setup_UYVY), (paint_setup_YVYU),
(paint_setup_IYU2), (paint_setup_Y41B), (paint_setup_Y42B),
(paint_setup_Y800), (paint_setup_YVU9), (paint_setup_YUV9),
(gst_video_format_is_packed), (video_format_is_packed):
Add unit test that makes sure that the strides, offsets and
sizes returned for the various YUV formats by the new video API
match the old reference implementation in videotestsrc.

16 years agogst-libs/gst/video/video.*: API: add GST_VIDEO_FORMAT_Y41B and GST_VIDEO_FORMAT_Y42B.
Tim-Philipp Müller [Sun, 2 Mar 2008 18:20:44 +0000 (18:20 +0000)]
gst-libs/gst/video/video.*: API: add GST_VIDEO_FORMAT_Y41B and GST_VIDEO_FORMAT_Y42B.

Original commit message from CVS:
* gst-libs/gst/video/video.c: (gst_video_calculate_display_ratio),
(gst_video_format_from_fourcc), (gst_video_format_to_fourcc),
(gst_video_format_is_rgb), (gst_video_format_is_yuv),
(gst_video_format_has_alpha), (gst_video_format_get_row_stride),
(gst_video_format_get_pixel_stride),
(gst_video_format_get_component_width),
(gst_video_format_get_component_height),
(gst_video_format_get_component_offset), (gst_video_format_get_size):
* gst-libs/gst/video/video.h: (GST_VIDEO_FORMAT_Y41B),
(GST_VIDEO_FORMAT_Y42B):
API: add GST_VIDEO_FORMAT_Y41B and GST_VIDEO_FORMAT_Y42B.

16 years agogst-libs/gst/video/video.c: YV12 is I420 with swapped components 1 and 2, so the...
Tim-Philipp Müller [Sun, 2 Mar 2008 18:07:10 +0000 (18:07 +0000)]
gst-libs/gst/video/video.c: YV12 is I420 with swapped components 1 and 2, so the offset of component 1 for I420 shoul...

Original commit message from CVS:
* gst-libs/gst/video/video.c: (gst_video_format_get_component_offset):
YV12 is I420 with swapped components 1 and 2, so the offset of
component 1 for I420 should be the offset for component 2 for YV12
and vice versa.

16 years agosys/v4l/gstv4lelement.c: Add missing semicolon to fix indentation.
Rene Stadler [Fri, 29 Feb 2008 21:48:00 +0000 (21:48 +0000)]
sys/v4l/gstv4lelement.c: Add missing semicolon to fix indentation.

Original commit message from CVS:
* sys/v4l/gstv4lelement.c:
Add missing semicolon to fix indentation.

16 years agoext/alsa/gstalsa.c: Probe for IEC958 pcm to detect if we can do SPDIF output.
Julien Moutte [Fri, 29 Feb 2008 18:44:36 +0000 (18:44 +0000)]
ext/alsa/gstalsa.c: Probe for IEC958 pcm to detect if we can do SPDIF output.

Original commit message from CVS:
2008-02-29  Julien Moutte  <julien@fluendo.com>

* ext/alsa/gstalsa.c: (gst_alsa_open_iec958_pcm),
(gst_alsa_probe_supported_formats): Probe for IEC958 pcm to
detect
if we can do SPDIF output.
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (set_hwparams), (alsasink_parse_spec),
(gst_alsasink_prepare), (gst_alsasink_close),
(gst_alsasink_write):
* ext/alsa/gstalsasink.h: Initial support for SPDIF.
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_parse_caps):
* gst-libs/gst/audio/gstringbuffer.h: Add non linear buffer
types
to support AC3, EC3 and IEC958 buffers.

16 years agogst-libs/gst/interfaces/mixer.c: De-cruft and fix message type assertions (NULL is...
Tim-Philipp Müller [Fri, 29 Feb 2008 17:59:16 +0000 (17:59 +0000)]
gst-libs/gst/interfaces/mixer.c: De-cruft and fix message type assertions (NULL is not a really valid mixer message t...

Original commit message from CVS:
* gst-libs/gst/interfaces/mixer.c: (GST_MIXER_MESSAGE_HAS_TYPE),
(gst_mixer_message_parse_mute_toggled),
(gst_mixer_message_parse_record_toggled),
(gst_mixer_message_parse_volume_changed),
(gst_mixer_message_parse_option_changed):
De-cruft and fix message type assertions (NULL is not a really
valid mixer message type string).

16 years agoext/libvisual/visual.c: When negotiating, actually start from a format that we can...
Wim Taymans [Fri, 29 Feb 2008 14:52:02 +0000 (14:52 +0000)]
ext/libvisual/visual.c: When negotiating, actually start from a format that we can support instead of from the too ge...

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_vis_src_negotiate):
When negotiating, actually start from a format that we can support
instead of from the too generic template.

16 years agogst/playback/gstplaybin2.c: Enable vis setting.
Wim Taymans [Fri, 29 Feb 2008 12:26:48 +0000 (12:26 +0000)]
gst/playback/gstplaybin2.c: Enable vis setting.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_set_property):
Enable vis setting.
* gst/playback/gstplaysink.c: (gst_play_sink_init),
(gst_play_sink_dispose), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_vis_plugin),
(gen_vis_chain):
Implement vis switching while playing.

16 years agogst-libs/gst/riff/riff-media.c: Add Dirac mapping
David Schleef [Fri, 29 Feb 2008 00:04:57 +0000 (00:04 +0000)]
gst-libs/gst/riff/riff-media.c: Add Dirac mapping

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: Add Dirac mapping

16 years agogst/tcp/: Removed fdset and stress test, they are now known as GstPoll in core.
Peter Kjellerstedt [Thu, 28 Feb 2008 10:54:14 +0000 (10:54 +0000)]
gst/tcp/: Removed fdset and stress test, they are now known as GstPoll in core.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/tcp/Makefile.am:
* gst/tcp/fdsetstress.c:
* gst/tcp/gstfdset.c:
* gst/tcp/gstfdset.h:
Removed fdset and stress test, they are now known as GstPoll in
core.
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init),
(gst_multi_fd_sink_add_full), (gst_multi_fd_sink_remove),
(gst_multi_fd_sink_clear), (gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_handle_client_write),
(gst_multi_fd_sink_queue_buffer),
(gst_multi_fd_sink_handle_clients), (gst_multi_fd_sink_start),
(gst_multi_fd_sink_stop):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c: (gst_tcp_socket_read), (gst_tcp_socket_close),
(gst_tcp_read_buffer), (gst_tcp_gdp_read_buffer),
(gst_tcp_gdp_read_caps):
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_init),
(gst_tcp_client_sink_setcaps), (gst_tcp_client_sink_render),
(gst_tcp_client_sink_start), (gst_tcp_client_sink_stop):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_init),
(gst_tcp_client_src_create), (gst_tcp_client_src_start),
(gst_tcp_client_src_stop), (gst_tcp_client_src_unlock):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_handle_wait),
(gst_tcp_server_sink_init_send), (gst_tcp_server_sink_close):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_init),
(gst_tcp_server_src_create), (gst_tcp_server_src_start),
(gst_tcp_server_src_stop), (gst_tcp_server_src_unlock):
* gst/tcp/gsttcpserversrc.h:
Port to GstPoll. See #505417.

16 years agoPatch Changelog a bit to give credit and refer to the relevant bug.
Wim Taymans [Thu, 28 Feb 2008 09:54:14 +0000 (09:54 +0000)]
Patch Changelog a bit to give credit and refer to the relevant bug.

Original commit message from CVS:
Patch Changelog a bit to give credit and refer to the
relevant bug.

16 years agogst-libs/gst/rtsp/gstrtspconnection.*: Use GstPoll for the rtsp connection.
Wim Taymans [Thu, 28 Feb 2008 09:50:52 +0000 (09:50 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.*: Use GstPoll for the rtsp connection.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_create), (gst_rtsp_connection_connect),
(gst_rtsp_connection_write), (gst_rtsp_connection_read_internal),
(gst_rtsp_connection_receive), (gst_rtsp_connection_close),
(gst_rtsp_connection_free), (gst_rtsp_connection_poll),
(gst_rtsp_connection_flush):
* gst-libs/gst/rtsp/gstrtspconnection.h:
Use GstPoll for the rtsp connection.

16 years agotests/examples/seek/seek.c: Add combo box for visualisations, populate it with a...
Wim Taymans [Wed, 27 Feb 2008 12:19:31 +0000 (12:19 +0000)]
tests/examples/seek/seek.c: Add combo box for visualisations, populate it with a factory list of all visualisation pl...

Original commit message from CVS:
* tests/examples/seek/seek.c: (vis_toggle_cb), (filter_features),
(init_visualization_features), (vis_combo_cb), (shot_cb), (main):
Add combo box for visualisations, populate it with a factory list
of all visualisation plugins, configure vis plugin instance in
playbin2.

16 years agotests/check/libs/rtp.c: Add check for RTP buffer defaults, padding and marker bit...
Wim Taymans [Wed, 27 Feb 2008 10:55:03 +0000 (10:55 +0000)]
tests/check/libs/rtp.c: Add check for RTP buffer defaults, padding and marker bit API.

Original commit message from CVS:
* tests/check/libs/rtp.c: (GST_START_TEST):
Add check for RTP buffer defaults, padding and marker bit API.

16 years agogst-libs/gst/cdda/sha1.c: Use memcpy() instead of upcasting a byte array to long...
Sebastian Dröge [Wed, 27 Feb 2008 10:42:08 +0000 (10:42 +0000)]
gst-libs/gst/cdda/sha1.c: Use memcpy() instead of upcasting a byte array to long *. This fixes an unaligned memory ac...

Original commit message from CVS:
* gst-libs/gst/cdda/sha1.c: (sha_transform):
Use memcpy() instead of upcasting a byte array to long *. This
fixes an unaligned memory access, resulting in SIGBUS on IA64.
This should be ported to GCheckSum once we can use GLib 2.16.
Partially fixes bug #500833.

16 years agogst-libs/gst/tag/gsttagdemux.c: Push tag event after the newsegment event. Log the...
Tim-Philipp Müller [Wed, 27 Feb 2008 10:23:27 +0000 (10:23 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Push tag event after the newsegment event. Log the pointer of the buffer we're actual...

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_chain):
Push tag event after the newsegment event. Log the pointer of
the buffer we're actually going to push rather than the buffer
we're feeding to _make_metadata_writable().

16 years agogst/typefind/gsttypefindfunctions.c: Comment smoke typefinder for now. The smokedec...
Sebastian Dröge [Mon, 25 Feb 2008 07:21:33 +0000 (07:21 +0000)]
gst/typefind/gsttypefindfunctions.c: Comment smoke typefinder for now. The smokedec plugin needs one frame per buffer...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Comment smoke typefinder for now. The smokedec plugin needs one
frame per buffer but we have no parser yet, thus it simply crashes
in most situations.

16 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for the smoke video codec. Copied...
Sebastian Dröge [Mon, 25 Feb 2008 06:48:14 +0000 (06:48 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for the smoke video codec. Copied from the jpeg plugin.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add typefinder for the smoke video codec. Copied from the jpeg plugin.

16 years agogst/typefind/gsttypefindfunctions.c: Add midi typefinder, copied from the timidity...
Sebastian Dröge [Mon, 25 Feb 2008 06:29:09 +0000 (06:29 +0000)]
gst/typefind/gsttypefindfunctions.c: Add midi typefinder, copied from the timidity plugin.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mid_type_find),
(plugin_init):
Add midi typefinder, copied from the timidity plugin.

16 years agoForward slashes at the beginning and end of a line also signify italics (Fixes: ...
Tomasz Sałaciński [Sat, 23 Feb 2008 09:51:26 +0000 (09:51 +0000)]
Forward slashes at the beginning and end of a line also signify italics (Fixes: #518162).

Original commit message from CVS:
Based on patch by: Tomasz Sałaciński <tsalacinski gmail com>
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* tests/check/elements/subparse.c: (test_microdvd_with_italics),
(subparse_suite):
Forward slashes at the beginning and end of a line also signify
italics (Fixes: #518162).

16 years agotests/check/gst-plugins-base.supp: Add a suppression for a cached value in GIO that...
Sebastian Dröge [Fri, 22 Feb 2008 06:38:08 +0000 (06:38 +0000)]
tests/check/gst-plugins-base.supp: Add a suppression for a cached value in GIO that wasn't moved while moving gio fro...

Original commit message from CVS:
* tests/check/gst-plugins-base.supp:
Add a suppression for a cached value in GIO that wasn't moved
while moving gio from -bad to -base.

16 years agoconfigure.ac: Don't hardcode -Wall and -Werror for configure checks, this fails with...
Brian Cameron [Fri, 22 Feb 2008 05:27:24 +0000 (05:27 +0000)]
configure.ac: Don't hardcode -Wall and -Werror for configure checks, this fails with non-GCC compilers. Fixes bug #51...

Original commit message from CVS:
Patch by: Brian Cameron <brian dot cameron at sun dot com>
* configure.ac:
Don't hardcode -Wall and -Werror for configure checks, this fails
with non-GCC compilers. Fixes bug #517991.

16 years agogst/audiotestsrc/gstaudiotestsrc.c: Mark buffers as GAP,if volume is 0.0 and fix...
Stefan Kost [Thu, 21 Feb 2008 08:05:10 +0000 (08:05 +0000)]
gst/audiotestsrc/gstaudiotestsrc.c: Mark buffers as GAP,if volume is 0.0 and fix the previous logic.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
Mark buffers as GAP,if volume is 0.0 and fix the previous logic.

16 years agoext/gnomevfs/gstgnomevfssink.c: Return FALSE when seeking for a new segment fails...
Sebastian Dröge [Wed, 20 Feb 2008 15:37:36 +0000 (15:37 +0000)]
ext/gnomevfs/gstgnomevfssink.c: Return FALSE when seeking for a new segment fails instead of silently ignoring the fa...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(gst_gnome_vfs_sink_handle_event):
Return FALSE when seeking for a new segment fails instead
of silently ignoring the failure and appending every buffer
that comes for the new segment.

16 years agogst/playback/gstplaysink.c: Recursively search the sink element for a last-frame...
Wim Taymans [Wed, 20 Feb 2008 11:52:28 +0000 (11:52 +0000)]
gst/playback/gstplaysink.c: Recursively search the sink element for a last-frame property so that we can also find th...

Original commit message from CVS:
* gst/playback/gstplaysink.c: (find_property),
(gst_play_sink_find_property), (gen_video_chain),
(gst_play_sink_reconfigure), (gst_play_sink_get_last_frame):
Recursively search the sink element for a last-frame property so that we
can also find the property in autovideosink and friends that don't
always proxy the internal sink properties.

16 years agogst-libs/gst/audio/multichannel.c: Fix confusing terminology in docs and code: struct...
Tim-Philipp Müller [Tue, 19 Feb 2008 20:42:09 +0000 (20:42 +0000)]
gst-libs/gst/audio/multichannel.c: Fix confusing terminology in docs and code: structure fields are 'fields' and not ...

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(GST_AUDIO_CHANNEL_POSITIONS_FIELD_NAME),
(gst_audio_get_channel_positions), (gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
Fix confusing terminology in docs and code: structure fields are
'fields' and not 'properties'.

16 years agogst-libs/gst/audio/multichannel.c: Give more useful warning messages if one of the...
Tim-Philipp Müller [Tue, 19 Feb 2008 20:36:58 +0000 (20:36 +0000)]
gst-libs/gst/audio/multichannel.c: Give more useful warning messages if one of the channel layout enums passed to us ...

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions), (add_list_to_struct):
Give more useful warning messages if one of the channel
layout enums passed to us is invalid and if the "channels"
field in the caps has a GType we don't expect.

16 years agogst-libs/gst/audio/multichannel.c: Fix typo in docs blurb.
Tim-Philipp Müller [Tue, 19 Feb 2008 20:22:09 +0000 (20:22 +0000)]
gst-libs/gst/audio/multichannel.c: Fix typo in docs blurb.

Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
Fix typo in docs blurb.

16 years agogst/typefind/gsttypefindfunctions.c: Increase the MPEG PS typefind lookup to fix...
Josep Torra Valles [Tue, 19 Feb 2008 16:16:55 +0000 (16:16 +0000)]
gst/typefind/gsttypefindfunctions.c: Increase the MPEG PS typefind lookup to fix typefinding on HD clips.

Original commit message from CVS:
2008-02-19  Julien Moutte  <julien@fluendo.com>

Patch by: Josep Torra Valles <josep@fluendo.com>

* gst/typefind/gsttypefindfunctions.c: Increase the MPEG PS
typefind lookup to fix typefinding on HD clips.

16 years agogst/playback/gstscreenshot.*: Fix up copyright (I rewrote the GStreamer-0.10 code...
Tim-Philipp Müller [Tue, 19 Feb 2008 15:50:37 +0000 (15:50 +0000)]
gst/playback/gstscreenshot.*: Fix up copyright (I rewrote the GStreamer-0.10 code for this from scratch back in the d...

Original commit message from CVS:
* gst/playback/gstscreenshot.c:
* gst/playback/gstscreenshot.h:
Fix up copyright (I rewrote the GStreamer-0.10 code for
this from scratch back in the days).

16 years agogst/playback/: Add screenshot conversion code from totem.
Wim Taymans [Tue, 19 Feb 2008 15:02:33 +0000 (15:02 +0000)]
gst/playback/: Add screenshot conversion code from totem.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstscreenshot.c: (feed_fakesrc), (save_result),
(create_element), (gst_play_frame_conv_convert):
* gst/playback/gstscreenshot.h:
Add screenshot conversion code from totem.
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybin2.c: (gst_play_marshal_BUFFER__BOXED),
(gst_play_bin_class_init), (gst_play_bin_convert_frame),
(gst_play_bin_get_property), (no_more_pads_cb), (activate_group):
Implement frame property to get a color-unconverted snapshot.
Implement convert-frame action signal to get a converted snapshot image.
Configure connection speed in uridecodebin.
Document some more properties.
* gst/playback/gstplaysink.c: (gst_play_sink_class_init),
(gen_video_chain), (gen_audio_chain), (gst_play_sink_reconfigure),
(gst_play_sink_get_last_frame):
* gst/playback/gstplaysink.h:
Use last-buffer property of the video sink to get a video snapshot.
* tests/examples/seek/seek.c: (shot_cb), (main):
Add snapshot button for playbin2 and use the frame property to save the
frame as a png in the current directory.

16 years agogst/typefind/gsttypefindfunctions.c: Add typefinding support for h264 elementary...
Josep Torra Valles [Tue, 19 Feb 2008 11:45:56 +0000 (11:45 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinding support for h264 elementary streams.

Original commit message from CVS:
Patch by: Josep Torra Valles <josep at fluendo dot com>
* gst/typefind/gsttypefindfunctions.c: (h264_video_type_find),
(plugin_init):
Add typefinding support for h264 elementary streams.
Fixes bug #517420.

16 years agoconfigure.ac: Require CVS of core for new API in collectpads.
Stefan Kost [Mon, 18 Feb 2008 13:51:34 +0000 (13:51 +0000)]
configure.ac: Require CVS of core for new API in collectpads.

Original commit message from CVS:
* configure.ac:
Require CVS of core for new API in collectpads.
* gst/adder/gstadder.c:
Use new API to make adder sparse stream aware.

16 years agogst/playback/gstplaybin2.c: Get the object data correct so that we can remove our...
Wim Taymans [Mon, 18 Feb 2008 11:54:15 +0000 (11:54 +0000)]
gst/playback/gstplaybin2.c: Get the object data correct so that we can remove our channels correctly.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (pad_added_cb), (pad_removed_cb),
(no_more_pads_cb):
Get the object data correct so that we can remove our channels
correctly.
* gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_request_pad):
Add option to disable async behaviour in the sinks when possible. This
makes it possible to avoid an audio queue when dealing with
visualisations.
Add option to add a queue for the audio path.
* tests/examples/seek/seek.c: (clear_streams), (update_streams),
(main):
Disable the vis checkbox to match the defaults of playbin2.
Only get the stream info when we need to.

16 years agoext/gio/: Don't use async operations as they require a running main loop.
Sebastian Dröge [Sun, 17 Feb 2008 05:15:45 +0000 (05:15 +0000)]
ext/gio/: Don't use async operations as they require a running main loop.

Original commit message from CVS:
* ext/gio/gstgiobasesink.c: (gst_gio_base_sink_stop),
(gst_gio_base_sink_set_stream):
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_stop),
(gst_gio_base_src_set_stream):
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
* ext/gio/gstgiosrc.c: (gst_gio_src_start):
Don't use async operations as they require a running main loop.
This makes us block again when closing streams and unable
to mount the enclosing volume of an URI if it isn't yet.

16 years agogst/playback/gstplaysink.c: Move tee in front of the audio and vis pipelines.
Wim Taymans [Fri, 15 Feb 2008 18:38:52 +0000 (18:38 +0000)]
gst/playback/gstplaysink.c: Move tee in front of the audio and vis pipelines.

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gst_play_sink_set_mute),
(gst_play_sink_get_mute), (gen_video_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_request_pad):
Move tee in front of the audio and vis pipelines.
Add queue for audio for now.
Add visualisation support.
* tests/examples/seek/seek.c: (main):
Visualisation is by default disabled.

16 years agoext/gio/: Improve debugging a bit.
Sebastian Dröge [Fri, 15 Feb 2008 11:58:06 +0000 (11:58 +0000)]
ext/gio/: Improve debugging a bit.

Original commit message from CVS:
* ext/gio/gstgiobasesink.c: (close_stream_cb):
* ext/gio/gstgiobasesrc.c: (close_stream_cb):
Improve debugging a bit.
* ext/gio/gstgiosink.c: (mount_cb), (gst_gio_sink_start):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.c: (mount_cb), (gst_gio_src_start):
* ext/gio/gstgiosrc.h:
Try to mount the enclosing volume of a GFile if it isn't mounted
yet. This requires us to wait for an async operation to finish, done
with an nested GMainLoop. Authentication is not supported yet, will
come later.

16 years agogst/playback/: Add mute property.
Wim Taymans [Thu, 14 Feb 2008 18:24:42 +0000 (18:24 +0000)]
gst/playback/: Add mute property.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(pad_added_cb), (pad_removed_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_set_mute),
(gst_play_sink_get_mute), (gen_audio_chain):
* gst/playback/gstplaysink.h:
Add mute property.
* gst/playback/gststreamselector.c: (gst_selector_pad_event),
(gst_selector_pad_chain):
* gst/playback/gststreamselector.h:
Make sure we forward the event only once.
* tests/examples/seek/seek.c: (stop_cb), (mute_toggle_cb), (main):
Add and implement the mute button for playbin2.

16 years agoext/alsa/gstalsasink.c: Add some more debug info.
Tommi Myöhänen [Wed, 13 Feb 2008 14:34:55 +0000 (14:34 +0000)]
ext/alsa/gstalsasink.c: Add some more debug info.

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_delay):
Add some more debug info.
Make sure we never return a negative delay. Fixes #516246.

16 years agoext/alsa/gstalsasink.c: Revert patch that makes the sink hold the object lock when...
Tim-Philipp Müller [Tue, 12 Feb 2008 20:09:07 +0000 (20:09 +0000)]
ext/alsa/gstalsasink.c: Revert patch that makes the sink hold the object lock when calling snd_pcm_delay(), since it ...

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_delay):
Revert patch that makes the sink hold the object lock when
calling snd_pcm_delay(), since it breaks playback for me.

16 years agotests/examples/seek/seek.c: Add some seek flags when changing rate.
Julien Moutte [Tue, 12 Feb 2008 19:50:36 +0000 (19:50 +0000)]
tests/examples/seek/seek.c: Add some seek flags when changing rate.

Original commit message from CVS:
2008-02-12  Julien Moutte  <julien@fluendo.com>

* tests/examples/seek/seek.c: (rate_spinbutton_changed_cb): Add
some seek flags when changing rate.

16 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Fix potential leaks.
Wim Taymans [Tue, 12 Feb 2008 14:51:26 +0000 (14:51 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Fix potential leaks.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer):
Fix potential leaks.
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_chain):
Fix leak when there is no function configured.

16 years agosys/v4l/v4lsrc_calls.c: Correctly chain up the finalize method.
Sebastian Dröge [Tue, 12 Feb 2008 11:36:27 +0000 (11:36 +0000)]
sys/v4l/v4lsrc_calls.c: Correctly chain up the finalize method.

Original commit message from CVS:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_buffer_class_init),
(gst_v4lsrc_buffer_finalize):
Correctly chain up the finalize method.

16 years agoext/gio/: Add documentation and example code for giostreamsink/giostreamsrc.
Sebastian Dröge [Tue, 12 Feb 2008 09:24:11 +0000 (09:24 +0000)]
ext/gio/: Add documentation and example code for giostreamsink/giostreamsrc.

Original commit message from CVS:
* ext/gio/gstgiostreamsink.c:
* ext/gio/gstgiostreamsrc.c:
Add documentation and example code for giostreamsink/giostreamsrc.
* tests/check/pipelines/gio.c: (GST_START_TEST):
Ask the GMemoryOutputStream for the data instead of assuming that
the pointer to the data stayed the same. It could've been realloc'ed.

16 years agoext/gio/: Make the documentation of giosink/giosrc complete, large parts are based...
Sebastian Dröge [Tue, 12 Feb 2008 08:55:57 +0000 (08:55 +0000)]
ext/gio/: Make the documentation of giosink/giosrc complete, large parts are based on the gnomevfssink/gnomevfssrc docs.

Original commit message from CVS:
* ext/gio/gstgiosink.c:
* ext/gio/gstgiosrc.c:
Make the documentation of giosink/giosrc complete, large parts
are based on the gnomevfssink/gnomevfssrc docs.

16 years agodocs/plugins/: Add the GIO documentation again and while at that run make update.
Sebastian Dröge [Tue, 12 Feb 2008 08:13:59 +0000 (08:13 +0000)]
docs/plugins/: Add the GIO documentation again and while at that run make update.

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
Add the GIO documentation again and while at that run make update.

16 years agoext/alsa/: Don't use snd_pcm_sw_params_set_xfer_align() if we're compiling against...
Tim-Philipp Müller [Mon, 11 Feb 2008 20:23:44 +0000 (20:23 +0000)]
ext/alsa/: Don't use snd_pcm_sw_params_set_xfer_align() if we're compiling against libasound >= 1.0.16, since it's be...

Original commit message from CVS:
* ext/alsa/gstalsa.h: (GST_CHECK_ALSA_VERSION):
* ext/alsa/gstalsasink.c: (set_swparams):
* ext/alsa/gstalsasrc.c: (set_swparams), (gst_alsasrc_open):
Don't use snd_pcm_sw_params_set_xfer_align() if we're compiling
against libasound >= 1.0.16, since it's been deprecated in
0.10.16, and alignment is always 1 then, apparently. (#512899)

16 years agogst/playback/: Handle case where we can't create the volume element a bit better...
Tim-Philipp Müller [Mon, 11 Feb 2008 18:31:43 +0000 (18:31 +0000)]
gst/playback/: Handle case where we can't create the volume element a bit better (#514307).

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_audio_element):
* gst/playback/gstplaysink.c: (gen_audio_chain):
Handle case where we can't create the volume element a bit
better (#514307).

16 years agoext/gnomevfs/: Add support for https protocol. Fixes #510229.
Tim-Philipp Müller [Mon, 11 Feb 2008 18:02:13 +0000 (18:02 +0000)]
ext/gnomevfs/: Add support for https protocol. Fixes #510229.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_check_get_range):
* ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris):
Add support for https protocol. Fixes #510229.

16 years agoext/alsa/gstalsasink.c: Take appropriate lock when calling alsa methods.
Alan Peevers [Mon, 11 Feb 2008 17:03:18 +0000 (17:03 +0000)]
ext/alsa/gstalsasink.c: Take appropriate lock when calling alsa methods.

Original commit message from CVS:
2008-02-11  Julien Moutte  <julien@fluendo.com>

Patch by: Alan Peevers <peeves@pacbell.net>

* ext/alsa/gstalsasink.c: (gst_alsasink_delay): Take appropriate
lock when calling alsa methods.

16 years agogst/typefind/gsttypefindfunctions.c: Bump rank of jpeg and png typefinders, which...
Tim-Philipp Müller [Mon, 11 Feb 2008 13:03:13 +0000 (13:03 +0000)]
gst/typefind/gsttypefindfunctions.c: Bump rank of jpeg and png typefinders, which will return maximum probability in ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c:
Bump rank of jpeg and png typefinders, which will return maximum
probability in the most common cases (thus short-circuiting more
expensive typefinders like the mp3 one for these two quite common
image types).

16 years agoext/theora/theoraparse.c: Fix long description of the theora parser to be more verbos...
Sebastian Dröge [Mon, 11 Feb 2008 09:48:03 +0000 (09:48 +0000)]
ext/theora/theoraparse.c: Fix long description of the theora parser to be more verbose than just the type name.

Original commit message from CVS:
* ext/theora/theoraparse.c:
Fix long description of the theora parser to be more verbose than just
the type name.

16 years agosys/xvimage/xvimagesink.c: Fix build of xvimagesink if we don't have XShm, e.g. on...
Branko Čibej [Mon, 11 Feb 2008 06:47:50 +0000 (06:47 +0000)]
sys/xvimage/xvimagesink.c: Fix build of xvimagesink if we don't have XShm, e.g. on Mac OS X.

Original commit message from CVS:
Patch by: Branko Čibej <brane at xbc dot nu>
* sys/xvimage/xvimagesink.c:
Fix build of xvimagesink if we don't have XShm, e.g. on Mac OS X.
Fixes bug #515654.

16 years agogst/playback/gstplaybasebin.c: Set is_dynamic as True if there are elements with...
Zaheer Abbas Merali [Sat, 9 Feb 2008 10:41:36 +0000 (10:41 +0000)]
gst/playback/gstplaybasebin.c: Set is_dynamic as True if there are elements with both request and sometimes src pad t...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
Set is_dynamic as True if there are elements with both request
and sometimes src pad templates instead of breaking out when it
finds the first pad template that is a src.

16 years agotests/examples/seek/seek.c: Add some stream switching and volume gui for playbin2.
Wim Taymans [Fri, 8 Feb 2008 18:17:51 +0000 (18:17 +0000)]
tests/examples/seek/seek.c: Add some stream switching and volume gui for playbin2.

Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb), (clear_streams),
(update_streams), (video_combo_cb), (audio_combo_cb),
(text_combo_cb), (volume_spinbutton_changed_cb), (main):
Add some stream switching and volume gui for playbin2.

16 years agogst/playback/gstplay-marshal.list: Added marshal for streamselector Tags.
Wim Taymans [Fri, 8 Feb 2008 17:47:37 +0000 (17:47 +0000)]
gst/playback/gstplay-marshal.list: Added marshal for streamselector Tags.

Original commit message from CVS:
* gst/playback/gstplay-marshal.list:
Added marshal for streamselector Tags.
* gst/playback/gstplaybasebin.c: (set_active_source):
Streamselector now selects pads based on the pad object instead of its
name.
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(init_group), (gst_play_bin_init), (get_group), (get_tags),
(gst_play_bin_get_video_tags), (gst_play_bin_get_audio_tags),
(gst_play_bin_get_text_tags),
(gst_play_bin_set_current_video_stream),
(gst_play_bin_set_current_audio_stream),
(gst_play_bin_set_current_text_stream),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(pad_added_cb), (pad_removed_cb), (autoplug_select_cb):
Remove option to mute streams with the current-a/v/t property, we have
this functionality in the flags.
Add signals to notify when the number of A/V/T channels changed.
Add action signals to get tags for the A/V/T streams.
Implement setting the current A/V/T stream.
Rearrange some things to simplify stream selection.
Implement volume.
* gst/playback/gstplaysink.c: (gst_play_sink_set_volume),
(gst_play_sink_get_volume), (gst_play_sink_set_property),
(gst_play_sink_get_property), (gen_video_chain), (gen_audio_chain),
(activate_vis), (gst_play_sink_reconfigure):
* gst/playback/gstplaysink.h:
Add and implement volume setting methods.
* gst/playback/gststreamselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_finalize), (gst_selector_pad_get_property),
(gst_selector_pad_event), (gst_stream_selector_class_init),
(gst_stream_selector_init), (gst_stream_selector_finalize),
(gst_stream_selector_set_property),
(gst_stream_selector_get_property),
(gst_stream_selector_get_linked_pad),
(gst_stream_selector_request_new_pad):
* gst/playback/gststreamselector.h:
Add pad properties for tags and status of pads.
Keep tags on pads.
Make active pad selection based on pad object instead of name.

16 years agoconfigure.ac: Revert last change as we now check in gtk-doc.m4 for sed.
Stefan Kost [Fri, 8 Feb 2008 16:10:25 +0000 (16:10 +0000)]
configure.ac: Revert last change as we now check in gtk-doc.m4 for sed.

Original commit message from CVS:
* configure.ac:
Revert last change as we now check in gtk-doc.m4 for sed.

16 years agoconfigure.ac: Find and subst SED when building the docs.
Jan Schmidt [Fri, 8 Feb 2008 14:54:30 +0000 (14:54 +0000)]
configure.ac: Find and subst SED when building the docs.

Original commit message from CVS:
* configure.ac:
Find and subst SED when building the docs.

16 years agotests/examples/seek/seek.c: Make sure bus signals are reconnected when pressing STOP...
Julien Moutte [Fri, 8 Feb 2008 14:34:41 +0000 (14:34 +0000)]
tests/examples/seek/seek.c: Make sure bus signals are reconnected when pressing STOP and then PLAY again for a parse ...

Original commit message from CVS:
2008-02-08  Julien Moutte  <julien@fluendo.com>

* tests/examples/seek/seek.c: (stop_cb), (connect_bus_signals),
(main): Make sure bus signals are reconnected when pressing STOP
and then PLAY again for a parse launch pipeline. Fix a ref leak
on the bus.
* win32/common/config.h: Updated.

16 years agoconfigure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-relea...
Jan Schmidt [Fri, 8 Feb 2008 00:57:21 +0000 (00:57 +0000)]
configure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-releases or releases.

Original commit message from CVS:
* configure.ac:
Make DISABLE_DEPRECATED defined *only* during CVS, not during
pre-releases or releases.

16 years agoSubst GIO_LDFLAGS to avoid undefined Makefile var error Zaheer is reporting
Jan Schmidt [Fri, 8 Feb 2008 00:45:56 +0000 (00:45 +0000)]
Subst GIO_LDFLAGS to avoid undefined Makefile var error Zaheer is reporting

Original commit message from CVS:
* configure.ac:
* ext/gio/Makefile.am:
Subst GIO_LDFLAGS to avoid undefined Makefile var error Zaheer is
reporting

16 years agodocs/plugins/Makefile.am: Add the headers which need scanning for the GIO plugin...
Jan Schmidt [Thu, 7 Feb 2008 23:40:30 +0000 (23:40 +0000)]
docs/plugins/Makefile.am: Add the headers which need scanning for the GIO plugin. The rest of the docs still need mig...

Original commit message from CVS:
* docs/plugins/Makefile.am:
Add the headers which need scanning for the GIO plugin. The rest of
the docs still need migrating.

16 years agoAdd gio in a few more places.
Jan Schmidt [Thu, 7 Feb 2008 23:22:23 +0000 (23:22 +0000)]
Add gio in a few more places.

Original commit message from CVS:
* ext/Makefile.am:
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
Add gio in a few more places.

16 years agoMove gio plugin from -bad and mark as experimental.
Jan Schmidt [Thu, 7 Feb 2008 23:18:43 +0000 (23:18 +0000)]
Move gio plugin from -bad and mark as experimental.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* tests/check/Makefile.am:
Move gio plugin from -bad and mark as experimental.

16 years agogst-libs/gst/interfaces/: Comment out a couple of other things which break the build...
Jan Schmidt [Thu, 7 Feb 2008 22:39:00 +0000 (22:39 +0000)]
gst-libs/gst/interfaces/: Comment out a couple of other things which break the build when

Original commit message from CVS:
* gst-libs/gst/interfaces/mixeroptions.c:
* gst-libs/gst/interfaces/mixertrack.c:
Comment out a couple of other things which break the build when
GST_DISABLE_DEPRECATED isn't on but -Werror is.

16 years agodocs/libs/gst-plugins-base-libs-sections.txt: Fix pbutils header.
Tim-Philipp Müller [Thu, 7 Feb 2008 18:28:29 +0000 (18:28 +0000)]
docs/libs/gst-plugins-base-libs-sections.txt: Fix pbutils header.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
Fix pbutils header.

16 years agocommit spec file update which includes all the split .pc files
Christian Schaller [Thu, 7 Feb 2008 18:07:41 +0000 (18:07 +0000)]
commit spec file update which includes all the split .pc files

Original commit message from CVS:
commit spec file update which includes all the split .pc files

16 years agogst-libs/gst/rtsp/gstrtspmessage.c: Fix compiler warning.
Wim Taymans [Thu, 7 Feb 2008 12:17:49 +0000 (12:17 +0000)]
gst-libs/gst/rtsp/gstrtspmessage.c: Fix compiler warning.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_unset):
Fix compiler warning.

16 years agogst-libs/gst/sdp/gstsdpmessage.c: Clear the addrinfo struct using memset. Fixes ...
Peter Kjellerstedt [Thu, 7 Feb 2008 11:00:45 +0000 (11:00 +0000)]
gst-libs/gst/sdp/gstsdpmessage.c: Clear the addrinfo struct using memset. Fixes #514937.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address):
Clear the addrinfo struct using memset. Fixes #514937.

16 years agogst/tcp/gstfdset.h: Remove unused field to same some memory.
Wim Taymans [Wed, 6 Feb 2008 15:07:30 +0000 (15:07 +0000)]
gst/tcp/gstfdset.h: Remove unused field to same some memory.

Original commit message from CVS:
* gst/tcp/gstfdset.h:
Remove unused field to same some memory.
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
Mark action signals as such.

16 years agoext/theora/theoradec.c: Increment granulepos for new-bitstream versions appropriately.
Michael Smith [Wed, 6 Feb 2008 13:35:58 +0000 (13:35 +0000)]
ext/theora/theoradec.c: Increment granulepos for new-bitstream versions appropriately.

Original commit message from CVS:
* ext/theora/theoradec.c: (_theora_granule_frame),
(_inc_granulepos):
Increment granulepos for new-bitstream versions appropriately.
Fixes #514623.

16 years agotests/examples/seek/seek.c: Remove obsolete stream_time reset after flushing seek...
Wim Taymans [Mon, 4 Feb 2008 11:51:31 +0000 (11:51 +0000)]
tests/examples/seek/seek.c: Remove obsolete stream_time reset after flushing seek, core does that automatically now.

Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek),
(rate_spinbutton_changed_cb), (update_streams), (main):
Remove obsolete stream_time reset after flushing seek, core does that
automatically now.
Improve accuracy of speed spinbutton.
Only do playbin2 stuff when we actually use it.

16 years agotests/check/Makefile.am: Revert previous change of the test environment's GST_PLUGIN_...
Tim-Philipp Müller [Sat, 2 Feb 2008 17:29:32 +0000 (17:29 +0000)]
tests/check/Makefile.am: Revert previous change of the test environment's GST_PLUGIN_PATH.

Original commit message from CVS:
* tests/check/Makefile.am:
Revert previous change of the test environment's GST_PLUGIN_PATH.
The problem is not with the plugins, but with element factories
and only occurs if elements are split out from existing plugins
or if plugins change name (see #512740).

16 years agotests/check/Makefile.am: Fix the tests environment's GST_PLUGIN_PATH: we want the...
Tim-Philipp Müller [Sat, 2 Feb 2008 15:32:23 +0000 (15:32 +0000)]
tests/check/Makefile.am: Fix the tests environment's GST_PLUGIN_PATH: we want the directory with the core's plugins f...

Original commit message from CVS:
* tests/check/Makefile.am:
Fix the tests environment's GST_PLUGIN_PATH: we want the directory
with the core's plugins first and our local build directories last,
since we might be building against an installed core, and that
core's plugin directory may contain older or other versions of
our own -base plugins, but we really do want to test our local
ones (if there are multiple plugins or element factories with the
same name, those inspected last will trump those read in earlier).
Fixes #512740 for the most part.

16 years agoUse gmtime_r if available as gmtime is not MT-safe.
Sebastian Dröge [Sat, 2 Feb 2008 07:13:15 +0000 (07:13 +0000)]
Use gmtime_r if available as gmtime is not MT-safe.

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/rtsp/gstrtspconnection.c: (add_date_header):
Use gmtime_r if available as gmtime is not MT-safe.
Fixes bug #511810.

16 years agogst-libs/gst/rtsp/gstrtspconnection.c: Cast glong to time_t as time_t might have...
Sebastian Dröge [Sat, 2 Feb 2008 06:52:41 +0000 (06:52 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Cast glong to time_t as time_t might have a different type on other platforms,...

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c: (add_date_header):
Cast glong to time_t as time_t might have a different type on
other platforms, like FreeBSD, and we get a compiler warning
otherwise. Fixes bug #511825.

16 years agogst/playback/gstplaybin2.c: Remove stream-info, we going for something easier.
Wim Taymans [Fri, 1 Feb 2008 16:44:21 +0000 (16:44 +0000)]
gst/playback/gstplaybin2.c: Remove stream-info, we going for something easier.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(get_group), (get_n_pads), (gst_play_bin_get_property),
(pad_added_cb), (no_more_pads_cb), (perform_eos),
(autoplug_select_cb), (deactivate_group):
Remove stream-info, we going for something easier.
Refactor getting the current group.
Implement getting the number of audio/video/text streams.
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init), (gst_stream_selector_init),
(gst_stream_selector_get_property),
(gst_stream_selector_request_new_pad),
(gst_stream_selector_release_pad):
* gst/playback/gststreamselector.h:
Add property for number of pads.
* tests/examples/seek/seek.c: (set_scale), (update_flag),
(vis_toggle_cb), (audio_toggle_cb), (video_toggle_cb),
(text_toggle_cb), (update_streams), (msg_async_done),
(msg_state_changed), (main):
Block slider callback when updating the slider position.
Add gui elements for controlling playbin2.
Add callback for async_done that updates position/duration.

16 years agodocs/plugins/: First round of plugin docs cleansups.
Stefan Kost [Fri, 1 Feb 2008 12:56:59 +0000 (12:56 +0000)]
docs/plugins/: First round of plugin docs cleansups.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
First round of plugin docs cleansups.
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
Regenerate.
* ext/ogg/Makefile.am:
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggmux.h:
Add header for oggmux. the c-file needs a doc blob still.

16 years agoAdd gst_rtp_buffer_set_extension_data()
Thijs Vermeir [Fri, 1 Feb 2008 11:09:16 +0000 (11:09 +0000)]
Add gst_rtp_buffer_set_extension_data()

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_set_extension_data):
* gst-libs/gst/rtp/gstrtpbuffer.h:
* tests/check/libs/rtp.c: (GST_START_TEST), (rtp_suite):
Add gst_rtp_buffer_set_extension_data()
Add a unit test for this addition. Fixes #511478.
API: GstRTPBuffer:gst_rtp_buffer_set_extension_data()

16 years agogst-libs/gst/app/gstappsink.c: Really clean up the queue instead of just unreffing...
Wim Taymans [Thu, 31 Jan 2008 17:18:46 +0000 (17:18 +0000)]
gst-libs/gst/app/gstappsink.c: Really clean up the queue instead of just unreffing all buffers in it.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_dispose):
Really clean up the queue instead of just unreffing all buffers
in it.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_base_init),
(gst_app_src_class_init), (gst_app_src_init),
(gst_app_src_dispose), (gst_app_src_finalize):
Fix dispose/finalize.

16 years agoext/gio/: Use async variants of the close stream functions to prevent blocking for...
Sebastian Dröge [Wed, 30 Jan 2008 15:34:25 +0000 (15:34 +0000)]
ext/gio/: Use async variants of the close stream functions to prevent blocking for a long time there and add some mor...

Original commit message from CVS:
* ext/gio/gstgiobasesink.c: (close_stream_cb),
(gst_gio_base_sink_stop), (gst_gio_base_sink_event),
(gst_gio_base_sink_render), (gst_gio_base_sink_set_stream):
* ext/gio/gstgiobasesrc.c: (close_stream_cb),
(gst_gio_base_src_stop), (gst_gio_base_src_create),
(gst_gio_base_src_set_stream):
Use async variants of the close stream functions to prevent blocking
for a long time there and add some more sanity checks for a correct
stream.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Wed, 30 Jan 2008 14:42:14 +0000 (14:42 +0000)]
configure.ac: Back to CVS

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

16 years agoRelease 0.10.17 RELEASE-0_10_17
Jan Schmidt [Wed, 30 Jan 2008 14:19:05 +0000 (14:19 +0000)]
Release 0.10.17

Original commit message from CVS:
Release 0.10.17

16 years agogst-libs/gst/interfaces/: Also remove the conditional registration of the signals...
Jan Schmidt [Wed, 30 Jan 2008 13:45:27 +0000 (13:45 +0000)]
gst-libs/gst/interfaces/: Also remove the conditional registration of the signals that disappeared with the ABI chang...

Original commit message from CVS:
* gst-libs/gst/interfaces/mixeroptions.c:
* gst-libs/gst/interfaces/mixertrack.c:
Also remove the conditional registration of the signals
that disappeared with the ABI change in 0.10.14

16 years agogst-libs/gst/rtsp/gstrtspconnection.c: Revert patch to gstrtspconnection.c for brown...
Jan Schmidt [Wed, 30 Jan 2008 12:28:59 +0000 (12:28 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Revert patch to gstrtspconnection.c for brown paper bag release of -base. Re-o...

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c:
Revert patch to gstrtspconnection.c for brown paper bag
release of -base. Re-opens: #511825

16 years agogst-libs/gst/interfaces/: Change the way these deprecated function pointers are remov...
Jan Schmidt [Wed, 30 Jan 2008 12:20:42 +0000 (12:20 +0000)]
gst-libs/gst/interfaces/: Change the way these deprecated function pointers are removed so that the compiled ABI is u...

Original commit message from CVS:
* gst-libs/gst/interfaces/mixeroptions.h:
* gst-libs/gst/interfaces/mixertrack.h:
Change the way these deprecated function pointers are removed
so that the compiled ABI is unconditionally smaller. This
sets in stone an ABI break that actually occurred when the
things were deprecated in 0.10.14, which seems to be the best
fix as the only known users are oss-mixer and sunaudio-mixer in
gst-plugins-good.
Fixes: #513018

16 years agogst-libs/gst/interfaces/: Change the way these deprecated function pointers are remov...
Jan Schmidt [Wed, 30 Jan 2008 12:19:02 +0000 (12:19 +0000)]
gst-libs/gst/interfaces/: Change the way these deprecated function pointers are removed so that the compiled ABI is u...

Original commit message from CVS:
* gst-libs/gst/interfaces/mixeroptions.h:
* gst-libs/gst/interfaces/mixertrack.h:
Change the way these deprecated function pointers are removed
so that the compiled ABI is unconditionally smaller. This
sets in stone an ABI break that actually occurred when the
things were deprecated in 0.10.14, which seems to be the best
fix as the only known users are oss-mixer and sunaudio-mixer in
gst-plugins-good.

16 years agowin32/common/libgstpbutils.def: Export the two new _get_type() functions which are...
Tim-Philipp Müller [Wed, 30 Jan 2008 11:43:53 +0000 (11:43 +0000)]
win32/common/libgstpbutils.def: Export the two new _get_type() functions which are needed by the python bindings.

Original commit message from CVS:
* win32/common/libgstpbutils.def:
Export the two new _get_type() functions which are needed
by the python bindings.

16 years agogst-libs/gst/rtsp/gstrtspconnection.c: Cast glong to time_t as time_t might have...
Sebastian Dröge [Tue, 29 Jan 2008 09:59:03 +0000 (09:59 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Cast glong to time_t as time_t might have a different type on other platforms,...

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspconnection.c: (add_date_header):
Cast glong to time_t as time_t might have a different type on
other platforms, like FreeBSD, and we get a compiler warning
otherwise. Fixes bug #511825.

16 years agogst-libs/gst/audio/gstaudiofilter.c: Initialize the GstRingerBuffer class to get...
Sebastian Dröge [Tue, 29 Jan 2008 09:47:12 +0000 (09:47 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Initialize the GstRingerBuffer class to get it's debug category initialized. gst...

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init):
Initialize the GstRingerBuffer class to get it's debug category
initialized. gst_ring_buffer_parse_caps() uses the ringbuffer debug
category and otherwise we get some g_critical(). Fixes bug #512334.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Mon, 28 Jan 2008 23:35:21 +0000 (23:35 +0000)]
configure.ac: Back to CVS

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

16 years agoRelease 0.10.16 RELEASE-0_10_16
Jan Schmidt [Mon, 28 Jan 2008 23:31:26 +0000 (23:31 +0000)]
Release 0.10.16

Original commit message from CVS:
Release 0.10.16

16 years agoUpdate .po files
Jan Schmidt [Mon, 28 Jan 2008 22:15:47 +0000 (22:15 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agogst-libs/gst/rtp/gstrtpbuffer.c: Fix typos and wrong extension check. Fixes #511274.
Thijs Vermeir [Tue, 22 Jan 2008 15:37:49 +0000 (15:37 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Fix typos and wrong extension check. Fixes #511274.

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_get_extension_data):
Fix typos and wrong extension check. Fixes #511274.

16 years agopo/sk.po: Oops - add new sk.po mentioned in the LINGUAS I just committed
Jan Schmidt [Fri, 18 Jan 2008 00:03:18 +0000 (00:03 +0000)]
po/sk.po: Oops - add new sk.po mentioned in the LINGUAS I just committed

Original commit message from CVS:
* po/sk.po:
Oops - add new sk.po mentioned in the LINGUAS I just committed

16 years agopo/LINGUAS: Add ca translation to the disted list.
Jan Schmidt [Thu, 17 Jan 2008 22:31:25 +0000 (22:31 +0000)]
po/LINGUAS: Add ca translation to the disted list.

Original commit message from CVS:
* po/LINGUAS:
Add ca translation to the disted list.
* win32/vs6/libgstsdp.dsp:
Convert line endings to CRLF

16 years agowin32/MANIFEST: Add win32/vs6/libgstrtsp.dsp to MANIFEST
Sébastien Moutte [Thu, 17 Jan 2008 21:58:53 +0000 (21:58 +0000)]
win32/MANIFEST: Add win32/vs6/libgstrtsp.dsp to MANIFEST

Original commit message from CVS:
* win32/MANIFEST:
Add win32/vs6/libgstrtsp.dsp to MANIFEST

16 years agoUpdate for API changes in GIO and require GIO 2.15.2 for this.
Sebastian Dröge [Wed, 16 Jan 2008 05:40:48 +0000 (05:40 +0000)]
Update for API changes in GIO and require GIO 2.15.2 for this.

Original commit message from CVS:
* configure.ac:
* tests/check/pipelines/gio.c: (GST_START_TEST):
Update for API changes in GIO and require GIO 2.15.2 for this.

16 years agowin32/common/: Add new API declarations
Jan Schmidt [Mon, 14 Jan 2008 22:20:12 +0000 (22:20 +0000)]
win32/common/: Add new API declarations

Original commit message from CVS:
* win32/common/libgstsdp.def:
* win32/common/libgstvideo.def:
Add new API declarations

16 years agoext/theora/: Take a 2nd stab at handling libtheora granulepos changes in the decoder...
Jan Schmidt [Mon, 14 Jan 2008 17:00:03 +0000 (17:00 +0000)]
ext/theora/: Take a 2nd stab at handling libtheora granulepos changes in the decoder and parser by inspecting the bit...

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/gsttheoraparse.h:
* ext/theora/theoradec.c:
* ext/theora/theoraparse.c:
Take a 2nd stab at handling libtheora granulepos changes in the decoder
and parser by inspecting the bitstream version of the incoming data.