platform/upstream/gstreamer.git
17 years agoAdd replaygain playback elements (#412710).
René Stadler [Sat, 19 May 2007 10:01:45 +0000 (10:01 +0000)]
Add replaygain playback elements (#412710).

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler de>
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-replaygain.xml:
* gst/replaygain/Makefile.am:
* gst/replaygain/gstrganalysis.c: (gst_rg_analysis_class_init),
(gst_rg_analysis_start), (gst_rg_analysis_set_caps),
(gst_rg_analysis_transform_ip), (gst_rg_analysis_event),
(gst_rg_analysis_stop), (gst_rg_analysis_handle_tags),
(gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result),
(gst_rg_analysis_album_result):
* gst/replaygain/gstrganalysis.h:
* gst/replaygain/gstrglimiter.c: (gst_rg_limiter_base_init),
(gst_rg_limiter_class_init), (gst_rg_limiter_init),
(gst_rg_limiter_set_property), (gst_rg_limiter_get_property),
(gst_rg_limiter_transform_ip):
* gst/replaygain/gstrglimiter.h:
* gst/replaygain/gstrgvolume.c: (gst_rg_volume_base_init),
(gst_rg_volume_class_init), (gst_rg_volume_init),
(gst_rg_volume_set_property), (gst_rg_volume_get_property),
(gst_rg_volume_dispose), (gst_rg_volume_change_state),
(gst_rg_volume_sink_event), (gst_rg_volume_tag_event),
(gst_rg_volume_reset), (gst_rg_volume_update_gain),
(gst_rg_volume_determine_gain):
* gst/replaygain/gstrgvolume.h:
* gst/replaygain/replaygain.c: (plugin_init):
* gst/replaygain/replaygain.h:
* gst/replaygain/rganalysis.h:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rganalysis.c: (send_eos_event),
(GST_START_TEST):
* tests/check/elements/rglimiter.c: (setup_rglimiter),
(cleanup_rglimiter), (set_playing_state), (create_test_buffer),
(verify_test_buffer), (GST_START_TEST), (rglimiter_suite), (main):
* tests/check/elements/rgvolume.c: (event_func), (setup_rgvolume),
(cleanup_rgvolume), (set_playing_state), (set_null_state),
(send_eos_event), (send_tag_event), (test_buffer_new),
(fail_unless_target_gain), (fail_unless_result_gain),
(fail_unless_gain), (GST_START_TEST), (rgvolume_suite), (main):
Add replaygain playback elements (#412710).

17 years agogst/rtsp/gstrtspsrc.c: Don't crash when an unsupported transport error was returned...
Wim Taymans [Fri, 18 May 2007 13:27:39 +0000 (13:27 +0000)]
gst/rtsp/gstrtspsrc.c: Don't crash when an unsupported transport error was returned by the server, just try to config...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams):
Don't crash when an unsupported transport error was returned by the
server, just try to configure the next stream. Fixes #439255.

17 years agogst/rtsp/gstrtspsrc.*: Add TCP timeout property and use it for all TCP connection.
Wim Taymans [Fri, 18 May 2007 11:39:12 +0000 (11:39 +0000)]
gst/rtsp/gstrtspsrc.*: Add TCP timeout property and use it for all TCP connection.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
(gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
(gst_rtspsrc_stream_configure_udp), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send),
(gst_rtspsrc_setup_streams), (gst_rtspsrc_open):
* gst/rtsp/gstrtspsrc.h:
Add TCP timeout property and use it for all TCP connection.
* gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
(rtsp_connection_write), (rtsp_connection_next_timeout),
(rtsp_connection_reset_timeout):
Make connect and writes cancelable and make them use the timeout.

17 years agogst/rtsp/gstrtspsrc.c: Refactor timeout handling.
Wim Taymans [Fri, 18 May 2007 10:36:12 +0000 (10:36 +0000)]
gst/rtsp/gstrtspsrc.c: Refactor timeout handling.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive),
(gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp),
(gst_rtspsrc_try_send), (gst_rtspsrc_send),
(gst_rtspsrc_setup_streams):
Refactor timeout handling.
Also send keep-alive when dealing with TCP transport.
* gst/rtsp/rtspconnection.c: (rtsp_connection_create),
(rtsp_connection_free), (rtsp_connection_next_timeout),
(rtsp_connection_reset_timeout):
* gst/rtsp/rtspconnection.h:
Use a timer to handle the session timeouts, add some methods to deal
with timeouts.

17 years agogst/rtsp/gstrtspsrc.c: Ignore streams that fail the setup command, we will retry...
Wim Taymans [Thu, 17 May 2007 14:56:39 +0000 (14:56 +0000)]
gst/rtsp/gstrtspsrc.c: Ignore streams that fail the setup command, we will retry with a different transport later on.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send),
(gst_rtspsrc_setup_streams):
Ignore streams that fail the setup command, we will retry with a
different transport later on.
* gst/rtsp/rtspextwms.c: (rtsp_ext_wms_parse_sdp),
(rtsp_ext_wms_configure_stream):
Fix encoding name case.

17 years agosys/osxvideo/osxvideosink.*: Remove the event-loop-in-separate-thread modifications...
Edward Hervey [Thu, 17 May 2007 10:59:00 +0000 (10:59 +0000)]
sys/osxvideo/osxvideosink.*: Remove the event-loop-in-separate-thread modifications, because MacOSX is $#@(*%$# ! For...

Original commit message from CVS:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Remove the event-loop-in-separate-thread modifications, because MacOSX
is $#@(*%$# ! For those wondering, the event handling needs to be done
in the main thread after all..

17 years agosys/osxvideo/osxvideosink.*: Fix a stupid #if vs #ifdef bug. Should use the proper...
Edward Hervey [Thu, 17 May 2007 09:41:48 +0000 (09:41 +0000)]
sys/osxvideo/osxvideosink.*: Fix a stupid #if vs #ifdef bug. Should use the proper colorspace now.

Original commit message from CVS:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Fix a stupid #if vs #ifdef bug. Should use the proper colorspace now.
Use a separate thread/task for the cocoa event_loop, else it wouldn't
stop.

17 years agoext/libpng/gstpngdec.c: Fix build on macosx.
Edward Hervey [Wed, 16 May 2007 16:50:23 +0000 (16:50 +0000)]
ext/libpng/gstpngdec.c: Fix build on macosx.

Original commit message from CVS:
* ext/libpng/gstpngdec.c: (user_endrow_callback), (user_read_data):
Fix build on macosx.

17 years agoext/raw1394/gstdv1394src.c: Replace direct comparison of a string with the string...
Sebastian Dröge [Wed, 16 May 2007 16:30:03 +0000 (16:30 +0000)]
ext/raw1394/gstdv1394src.c: Replace direct comparison of a string with the string literal "" with a comparison of the...

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_uri_set_uri):
Replace direct comparison of a string with the string literal "" with
a comparison of the first character with '\0'. Fixes #438926.

17 years agoAdd DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the...
Tim-Philipp Müller [Tue, 15 May 2007 17:22:58 +0000 (17:22 +0000)]
Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/dir...

Original commit message from CVS:
* configure.ac:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save
and restore the various flags in the directdraw/directsound
detection section. Apparently improves cross-compiling for win32
with mingw32 under some circumstances (#437539).

17 years agogst/debug/breakmydata.c (gst_break_my_data_init): One more try. This should be the...
Stefan Kost [Tue, 15 May 2007 11:18:33 +0000 (11:18 +0000)]
gst/debug/breakmydata.c (gst_break_my_data_init): One more try. This should be the proper fix now.

Original commit message from CVS:
* gst/debug/breakmydata.c (gst_break_my_data_init):
One more try. This should be the proper fix now.

17 years agogst/debug/breakmydata.c: Ooops, no // comments please.
Stefan Kost [Tue, 15 May 2007 06:41:58 +0000 (06:41 +0000)]
gst/debug/breakmydata.c: Ooops, no // comments please.

Original commit message from CVS:
* gst/debug/breakmydata.c:
Ooops, no // comments please.

17 years agogst/debug/breakmydata.c: Fix gst_buffer_is_writable() assertion.
Stefan Kost [Tue, 15 May 2007 06:34:48 +0000 (06:34 +0000)]
gst/debug/breakmydata.c: Fix gst_buffer_is_writable() assertion.

Original commit message from CVS:
* gst/debug/breakmydata.c: (gst_break_my_data_class_init),
(gst_break_my_data_init):
Fix gst_buffer_is_writable() assertion.

17 years agosys/v4l2/gstv4l2src.c: Add support for Bayer images as video/x-raw-bayer. Fixes...
David Schleef [Tue, 15 May 2007 02:56:23 +0000 (02:56 +0000)]
sys/v4l2/gstv4l2src.c: Add support for Bayer images as video/x-raw-bayer.  Fixes #314160.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: Add support for Bayer images as
video/x-raw-bayer.  Fixes #314160.

17 years agogst/rtp/: Update theora pay/depayloader in a similar to vorbis.
Wim Taymans [Mon, 14 May 2007 17:10:12 +0000 (17:10 +0000)]
gst/rtp/: Update theora pay/depayloader in a similar to vorbis.

Original commit message from CVS:
* gst/rtp/gstrtptheoradepay.c: (decode_base64),
(gst_rtp_theora_depay_parse_configuration):
* gst/rtp/gstrtptheorapay.c: (encode_base64),
(gst_rtp_theora_pay_finish_headers),
(gst_rtp_theora_pay_handle_buffer):
Update theora pay/depayloader in a similar to vorbis.
* gst/rtp/gstrtpvorbisdepay.c:
(gst_rtp_vorbis_depay_parse_configuration):
Update docs.

17 years agogst/rtsp/gstrtspsrc.c: When we try to execute a method that is not supported by the...
Wim Taymans [Mon, 14 May 2007 16:19:58 +0000 (16:19 +0000)]
gst/rtsp/gstrtspsrc.c: When we try to execute a method that is not supported by the server, don't error out but remov...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send):
When we try to execute a method that is not supported by the server,
don't error out but remove the method from the accepted methods so that
we never try to perform this method again.

17 years agogst/rtp/gstrtpvorbisdepay.c: Remove annoying _dump_mem.
Wim Taymans [Mon, 14 May 2007 14:47:26 +0000 (14:47 +0000)]
gst/rtp/gstrtpvorbisdepay.c: Remove annoying _dump_mem.

Original commit message from CVS:
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_process):
Remove annoying _dump_mem.

17 years agogst/rtsp/gstrtspsrc.c: Parse range correctly.
Wim Taymans [Mon, 14 May 2007 11:11:42 +0000 (11:11 +0000)]
gst/rtsp/gstrtspsrc.c: Parse range correctly.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_range):
Parse range correctly.
* gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri):
The baseurl now always has a '/' at the start.

17 years agogst/rtsp/gstrtspsrc.c: Factor out caps configuration and configure more stuff such...
Wim Taymans [Mon, 14 May 2007 09:01:05 +0000 (09:01 +0000)]
gst/rtsp/gstrtspsrc.c: Factor out caps configuration and configure more stuff such as the time ranges and speed/scale...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_configure_caps),
(gst_rtspsrc_parse_range), (gst_rtspsrc_open),
(gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play):
Factor out caps configuration and configure more stuff such as the time
ranges and speed/scale values.
* gst/rtsp/rtsptransport.c:
Add Copyright after non-trival fixes.

17 years agogst/replaygain/rganalysis.c: Fix wrong ifdef for visual C++. Fixes: #437403.
David Schleef [Sun, 13 May 2007 19:57:45 +0000 (19:57 +0000)]
gst/replaygain/rganalysis.c: Fix wrong ifdef for visual C++.  Fixes: #437403.

Original commit message from CVS:
* gst/replaygain/rganalysis.c:
Fix wrong ifdef for visual C++.  Fixes: #437403.
By Ali Sabil <ali.sabil@gmail.com>.

17 years agogst/level/gstlevel.c: Use guint8 * instead of gpointer then vs6 can build in_data...
Sébastien Moutte [Sun, 13 May 2007 15:47:13 +0000 (15:47 +0000)]
gst/level/gstlevel.c: Use guint8 * instead of gpointer then vs6 can build in_data += (filter->width / 8).

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_transform_ip):
Use guint8 * instead of gpointer then vs6 can build
in_data += (filter->width / 8).

17 years agogst/rtsp/: Make channel guint8 where possible.
Peter Kjellerstedt [Sat, 12 May 2007 16:37:50 +0000 (16:37 +0000)]
gst/rtsp/: Make channel guint8 where possible.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtspconnection.c: (rtsp_connection_receive):
* gst/rtsp/rtspmessage.c: (rtsp_message_init_data),
(rtsp_message_get_header):
* gst/rtsp/rtspmessage.h:
Make channel guint8 where possible.
Make rtsp_message_init_data() take the channel as a guint8.
* gst/rtsp/rtspdefs.c:
Fixed a typo: Timout -> Timeout
* gst/rtsp/rtspdefs.h:
Make RTSP_CHECK() behave as a statement.
* gst/rtsp/sdpmessage.c:
Avoid a compiler warning in INIT_ARRAY().
Fixes #437692.

17 years agogst/rtsp/rtspurl.*: Add support for query parameters to RTSP URLs.
Peter Kjellerstedt [Sat, 12 May 2007 16:27:51 +0000 (16:27 +0000)]
gst/rtsp/rtspurl.*: Add support for query parameters to RTSP URLs.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/rtsp/rtspurl.c: (rtsp_url_parse), (rtsp_url_free),
(rtsp_url_get_request_uri):
* gst/rtsp/rtspurl.h:
Add support for query parameters to RTSP URLs.

17 years agogst/rtsp/rtsptransport.*: Add validation to rtsp_transport_parse().
Peter Kjellerstedt [Sat, 12 May 2007 16:26:06 +0000 (16:26 +0000)]
gst/rtsp/rtsptransport.*: Add validation to rtsp_transport_parse().

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/rtsp/rtsptransport.c: (rtsp_transport_init), (parse_mode),
(parse_range), (range_as_text), (rtsp_transport_mode_as_text),
(rtsp_transport_profile_as_text), (rtsp_transport_ltrans_as_text),
(rtsp_transport_parse), (rtsp_transport_as_text):
* gst/rtsp/rtsptransport.h:
Add validation to rtsp_transport_parse().
Add rtsp_transport_as_text() to generate an RTSP header from an
RTSPTransport.
Change ssrc to guint (was a string) since that is what it is, even
though it is sent as a hex string.
Correctly identify PLAY|RECORD mode parameters (the syntax in the RFC is
incorrect, which can be seen when looking at the examples in the RFC).
Fixes #437670.

17 years agosys/ximage/gstximagesrc.c (gst_ximage_src_open_display, gst_ximage_src_ximage_get):
Eric Anholt [Fri, 11 May 2007 16:11:04 +0000 (16:11 +0000)]
sys/ximage/gstximagesrc.c (gst_ximage_src_open_display, gst_ximage_src_ximage_get):

Original commit message from CVS:
Patch by: Eric Anholt
* sys/ximage/gstximagesrc.c (gst_ximage_src_open_display,
gst_ximage_src_ximage_get):
Use union of all damage between frames to make it faster.
Fixes bug #342463.
Also fix crasher when cursor is at bottom right of window.

17 years agogst/wavparse/gstwavparse.c: Skip LIST chunks before the fmt chunk (fixes #437499...
Tim-Philipp Müller [Fri, 11 May 2007 16:01:45 +0000 (16:01 +0000)]
gst/wavparse/gstwavparse.c: Skip LIST chunks before the fmt chunk (fixes #437499). Also fix streaming mode regression...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
Skip LIST chunks before the fmt chunk (fixes #437499). Also fix
streaming mode regression for file from #343837 with 'bext' chunk
before the 'fmt' chunk.

17 years agogst/rtsp/: Preliminary seek support.
Wim Taymans [Fri, 11 May 2007 15:09:39 +0000 (15:09 +0000)]
gst/rtsp/: Preliminary seek support.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush),
(gst_rtspsrc_do_seek), (gst_rtspsrc_perform_seek),
(gst_rtspsrc_handle_src_event),
(gst_rtspsrc_stream_configure_manager),
(gst_rtspsrc_stream_configure_tcp), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_send_keep_alive), (gst_rtspsrc_open),
(gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play):
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtspdefs.h:
Preliminary seek support.
Activate internal pads so that we can receive events on them.
Don't try to parse a range string when it's NULL.

17 years agogst/rtp/README: Update README with new RTP variables that will be used for synchronis...
Wim Taymans [Fri, 11 May 2007 15:04:38 +0000 (15:04 +0000)]
gst/rtp/README: Update README with new RTP variables that will be used for synchronisation.

Original commit message from CVS:
* gst/rtp/README:
Update README with new RTP variables that will be used for
synchronisation.
* gst/rtp/gstrtpvorbisdepay.c: (decode_base64),
(gst_rtp_vorbis_depay_parse_configuration),
(gst_rtp_vorbis_depay_process):
* gst/rtp/gstrtpvorbispay.c: (encode_base64),
(gst_rtp_vorbis_pay_finish_headers),
(gst_rtp_vorbis_pay_handle_buffer):
Update vorbis pay and depayloader to draft-04.

17 years agogst/rtsp/rtsptransport.c: UDP MCAST is actually the default for RTP/AVP.
Wim Taymans [Fri, 11 May 2007 11:24:13 +0000 (11:24 +0000)]
gst/rtsp/rtsptransport.c: UDP MCAST is actually the default for RTP/AVP.

Original commit message from CVS:
* gst/rtsp/rtsptransport.c:
UDP MCAST is actually the default for RTP/AVP.

17 years agosys/ximage/gstximagesrc.c (gst_ximage_src_start, gst_ximage_src_ximage_get):
Zaheer Abbas Merali [Fri, 11 May 2007 10:31:27 +0000 (10:31 +0000)]
sys/ximage/gstximagesrc.c (gst_ximage_src_start, gst_ximage_src_ximage_get):

Original commit message from CVS:
* sys/ximage/gstximagesrc.c (gst_ximage_src_start,
gst_ximage_src_ximage_get):
* sys/ximage/gstximagesrc.h (last_ximage):
When using Damage actually keep the last frame, and not assume
that the buffer we get already has the last frame on it.
Copy the cursor over if we specify a non-zero start x and
start y.

17 years agogst/rtsp/rtsptransport.c: Make UDP the default transport when not specified.
Wim Taymans [Fri, 11 May 2007 09:12:55 +0000 (09:12 +0000)]
gst/rtsp/rtsptransport.c: Make UDP the default transport when not specified.

Original commit message from CVS:
* gst/rtsp/rtsptransport.c:
Make UDP the default transport when not specified.

17 years agogst/qtdemux/qtdemux.c (gst_qtdemux_move_stream, gst_qtdemux_loop_state_header, gst_qt...
Stefan Kost [Thu, 10 May 2007 14:02:07 +0000 (14:02 +0000)]
gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream, gst_qtdemux_loop_state_header, gst_qtdemux_activate_segment, gst_qtde...

Original commit message from CVS:
* gst/qtdemux/qtdemux.c (gst_qtdemux_move_stream,
gst_qtdemux_loop_state_header, gst_qtdemux_activate_segment,
gst_qtdemux_prepare_current_sample, gst_qtdemux_combine_flows,
gst_qtdemux_loop_state_movie, gst_qtdemux_loop,
qtdemux_parse_segments, qtdemux_parse_trak):
* gst/rtpmanager/rtpsession.c (rtp_session_get_bandwidth,
rtp_session_get_rtcp_bandwidth, rtp_session_get_cname,
rtp_session_get_name, rtp_session_get_email, rtp_session_get_phone,
rtp_session_get_location, rtp_session_get_tool,
rtp_session_process_bye, session_report_blocks):
* gst/rtpmanager/rtpsource.c (rtp_source_process_rtp,
rtp_source_send_rtp, rtp_source_process_sr, rtp_source_process_rb):
More format arg fixing (spotted by Ali Sabil <ali.sabil@gmail.com>).
* gst/switch/Makefile.am:
Add require libraries(spotted by Ali Sabil <ali.sabil@gmail.com>).

17 years agogst/level/gstlevel.c: Revert last change.
David Schleef [Thu, 10 May 2007 01:21:19 +0000 (01:21 +0000)]
gst/level/gstlevel.c: Revert last change.

Original commit message from CVS:
* gst/level/gstlevel.c:
Revert last change.

17 years agogst/level/gstlevel.c: Use guint8 * instead of gpointer then vs6 know the size of...
Sébastien Moutte [Wed, 9 May 2007 21:30:53 +0000 (21:30 +0000)]
gst/level/gstlevel.c: Use guint8 * instead of gpointer then vs6 know the size of data pointed when moving the pointer.

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_calculate_##TYPE),
(gst_level_transform_ip):
Use guint8 * instead of gpointer then vs6 know the size of data
pointed when moving the pointer.
* gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_handle_buffer):
Move instructions after variables declaration.
* win32/vs6/autogen.dsp:
* win32/vs6/libgstrtp.dsp:
* win32/vs6/libgstrtsp.dsp:
Update vs6 project files.

17 years agogst/rtsp/: Add code to parse time ranges.
Wim Taymans [Wed, 9 May 2007 11:23:39 +0000 (11:23 +0000)]
gst/rtsp/: Add code to parse time ranges.

Original commit message from CVS:
* gst/rtsp/Makefile.am:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_query),
(gst_rtspsrc_send_keep_alive), (gst_rtspsrc_open):
* gst/rtsp/rtsprange.c: (parse_npt_time), (parse_npt_range),
(parse_clock_range), (parse_smpte_range), (rtsp_range_parse),
(rtsp_range_free):
* gst/rtsp/rtsprange.h:
Add code to parse time ranges.
Report DURATION on the stream when possible.

17 years agogst/videomixer/videomixer.c: Fix strides calculation for AYUV (it's just width*4...
Tim-Philipp Müller [Tue, 8 May 2007 15:49:01 +0000 (15:49 +0000)]
gst/videomixer/videomixer.c: Fix strides calculation for AYUV (it's just width*4) (#436910).

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_blend_ayuv_ayuv),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_collected):
Fix strides calculation for AYUV (it's just width*4) (#436910).

17 years agogst/audiofx/: Sync the GObject properties before each processing step to properly...
Sebastian Dröge [Sun, 6 May 2007 21:32:40 +0000 (21:32 +0000)]
gst/audiofx/: Sync the GObject properties before each processing step to properly work with the controller.

Original commit message from CVS:
* gst/audiofx/audioamplify.c: (gst_audio_amplify_transform_ip):
* gst/audiofx/audiodynamic.c: (gst_audio_dynamic_transform_ip):
* gst/audiofx/audioinvert.c: (gst_audio_invert_transform_ip):
Sync the GObject properties before each processing step to properly
work with the controller.

17 years agogst/rtsp/gstrtspsrc.c: Let more error state trickle down so that we can catch more...
Wim Taymans [Fri, 4 May 2007 15:17:14 +0000 (15:17 +0000)]
gst/rtsp/gstrtspsrc.c: Let more error state trickle down so that we can catch more error cases.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_try_send), (gst_rtspsrc_send),
(gst_rtspsrc_setup_streams), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
(gst_rtspsrc_change_state):
Let more error state trickle down so that we can catch more error
cases.
Handle keep-alive a little smarter by selecting a method the server
actually supports.
Fix a race in UDP streaming shutdown.

17 years agogst/rtsp/gstrtspsrc.c: Ignore errors when trying to use the keep-alive messages.
Wim Taymans [Fri, 4 May 2007 13:04:31 +0000 (13:04 +0000)]
gst/rtsp/gstrtspsrc.c: Ignore errors when trying to use the keep-alive messages.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive):
Ignore errors when trying to use the keep-alive messages.

17 years agogst/rtsp/gstrtspsrc.c: Send RTCP messages back to the server over the TCP connection.
Wim Taymans [Fri, 4 May 2007 12:31:32 +0000 (12:31 +0000)]
gst/rtsp/gstrtspsrc.c: Send RTCP messages back to the server over the TCP connection.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_handle_src_event),
(gst_rtspsrc_handle_src_query), (gst_rtspsrc_sink_chain),
(gst_rtspsrc_stream_configure_manager),
(gst_rtspsrc_stream_free_udp), (gst_rtspsrc_stream_configure_tcp),
(gst_rtspsrc_stream_configure_mcast),
(gst_rtspsrc_stream_configure_udp),
(gst_rtspsrc_stream_configure_udp_sink),
(gst_rtspsrc_stream_configure_transport):
Send RTCP messages back to the server over the TCP connection.
* gst/rtsp/rtspconnection.c: (rtsp_connection_write),
(rtsp_connection_send), (rtsp_connection_read), (read_body),
(rtsp_connection_receive):
* gst/rtsp/rtspconnection.h:
Factor out and expose lowlevel _write and _read methods.
Implement sending data messages to the server.

17 years agogst/multipart/multipartmux.c: Fix timestamps on outgoing buffers.
Wim Taymans [Thu, 3 May 2007 15:55:06 +0000 (15:55 +0000)]
gst/multipart/multipartmux.c: Fix timestamps on outgoing buffers.

Original commit message from CVS:
* gst/multipart/multipartmux.c: (gst_multipart_mux_queue_pads),
(gst_multipart_mux_collected):
Fix timestamps on outgoing buffers.

17 years agogst/multipart/multipartmux.c: Emit NEWSEGMENT events before pushing the first buffer.
Wim Taymans [Thu, 3 May 2007 14:39:09 +0000 (14:39 +0000)]
gst/multipart/multipartmux.c: Emit NEWSEGMENT events before pushing the first buffer.

Original commit message from CVS:
* gst/multipart/multipartmux.c:
(gst_multipart_mux_request_new_pad), (gst_multipart_mux_collected),
(gst_multipart_mux_change_state):
Emit NEWSEGMENT events before pushing the first buffer.

17 years agogst/rtsp/gstrtspsrc.c: Refactor transport configuration code.
Wim Taymans [Thu, 3 May 2007 13:48:54 +0000 (13:48 +0000)]
gst/rtsp/gstrtspsrc.c: Refactor transport configuration code.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
(gst_rtspsrc_alloc_udp_ports), (gst_rtspsrc_handle_src_event),
(gst_rtspsrc_handle_src_query),
(gst_rtspsrc_stream_configure_manager),
(gst_rtspsrc_stream_free_udp), (gst_rtspsrc_stream_configure_tcp),
(gst_rtspsrc_stream_configure_mcast),
(gst_rtspsrc_stream_configure_udp),
(gst_rtspsrc_stream_configure_udp_sink),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_push_event),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_open),
(gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play),
(gst_rtspsrc_pause):
Refactor transport configuration code.
Create internal pads for TCP transport so that we can implement events
and queries.
Handle events and queries.
Parse range from the SDP.
Fix race in pause handler where the connection could still be flushing.

17 years agogst/rtsp/gstrtspsrc.*: Fix race when multiple udp sources post timeouts, just act...
Wim Taymans [Wed, 2 May 2007 19:32:58 +0000 (19:32 +0000)]
gst/rtsp/gstrtspsrc.*: Fix race when multiple udp sources post timeouts, just act on the first received timeout.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (new_session_pad), (request_pt_map),
(gst_rtspsrc_loop_send_cmd), (gst_rtspsrc_try_send),
(gst_rtspsrc_send), (gst_rtspsrc_async_open), (gst_rtspsrc_close),
(gst_rtspsrc_play), (gst_rtspsrc_handle_message),
(gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Fix race when multiple udp sources post timeouts, just act on the first
received timeout.
Protect stream list with a recursive lock to fix some races.
Flush connection when we need to do a reconnect or stop.
Make state lock recursive.
* gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
(rtsp_connection_close):
Some small cleanups.

17 years agoext/wavpack/gstwavpack.c: Call bindtextdomain() to get localized strings.
Sebastian Dröge [Wed, 2 May 2007 18:31:16 +0000 (18:31 +0000)]
ext/wavpack/gstwavpack.c: Call bindtextdomain() to get localized strings.

Original commit message from CVS:
* ext/wavpack/gstwavpack.c: (plugin_init):
Call bindtextdomain() to get localized strings.
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_push_buffer), (gst_wavpack_parse_chain):
* ext/wavpack/gstwavpackparse.h:
Handle DISCONT buffers by correctly setting the DISCONT flag
on outgoing buffers when necessary.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_handle_seek_event)
Send newsegment from the streaming thread.

17 years agogst/wavparse/gstwavparse.c: Only set DISCONT when there actually is a discont or...
Wim Taymans [Wed, 2 May 2007 18:25:09 +0000 (18:25 +0000)]
gst/wavparse/gstwavparse.c: Only set DISCONT when there actually is a discont or when we just started.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data):
Only set DISCONT when there actually is a discont or when we just
started.

17 years agoext/flac/gstflac.c: Call bindtextdomain() to get localized strings.
Sebastian Dröge [Wed, 2 May 2007 18:01:52 +0000 (18:01 +0000)]
ext/flac/gstflac.c: Call bindtextdomain() to get localized strings.

Original commit message from CVS:
* ext/flac/gstflac.c: (plugin_init):
Call bindtextdomain() to get localized strings.

17 years agogst/wavparse/gstwavparse.*: Be a bit more clever when dealing with VBR files with...
Wim Taymans [Wed, 2 May 2007 17:19:36 +0000 (17:19 +0000)]
gst/wavparse/gstwavparse.*: Be a bit more clever when dealing with VBR files with FACT tags, we don't want to timesta...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),
(gst_wavparse_stream_headers), (gst_wavparse_add_src_pad),
(gst_wavparse_stream_data):
* gst/wavparse/gstwavparse.h:
Be a bit more clever when dealing with VBR files with FACT tags, we
don't want to timestamp buffers in that case but the estimated BPS can
be used for seeking.
Only send close segment in the streaming thread.

17 years agoext/flac/gstflacdec.c: Correctly post an error on the bus if something went wrong...
Sebastian Dröge [Wed, 2 May 2007 17:08:09 +0000 (17:08 +0000)]
ext/flac/gstflacdec.c: Correctly post an error on the bus if something went wrong in the loop function. This fixes a ...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_loop):
Correctly post an error on the bus if something went wrong in the loop
function. This fixes a few cases where the task was paused and nothing
happened anymore.

17 years agoext/wavpack/gstwavpackparse.c: Remove old workaround that was needed when seeking...
Sebastian Dröge [Wed, 2 May 2007 16:58:06 +0000 (16:58 +0000)]
ext/wavpack/gstwavpackparse.c: Remove old workaround that was needed when seeking after the last sample. With the fix...

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_handle_seek_event):
Remove old workaround that was needed when seeking after the last
sample. With the fixed error handling this works now as expected
without pushing the last sample although it wasn't requested.

17 years agoext/wavpack/gstwavpackparse.c: Handle segment seeks in the seek event handler, correc...
Sebastian Dröge [Wed, 2 May 2007 16:45:43 +0000 (16:45 +0000)]
ext/wavpack/gstwavpackparse.c: Handle segment seeks in the seek event handler, correctly work with stop position == -...

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_handle_seek_event):
Handle segment seeks in the seek event handler, correctly work with
stop position == -1 and instead of stopping the task on seek just
pause it.

17 years agoext/wavpack/gstwavpackparse.c: Add handling for segment seeks.
Sebastian Dröge [Wed, 2 May 2007 16:19:58 +0000 (16:19 +0000)]
ext/wavpack/gstwavpackparse.c: Add handling for segment seeks.

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_loop):
Add handling for segment seeks.

17 years agoext/wavpack/gstwavpackparse.c: Correctly handle errors, especially in the loop functi...
Sebastian Dröge [Wed, 2 May 2007 15:13:04 +0000 (15:13 +0000)]
ext/wavpack/gstwavpackparse.c: Correctly handle errors, especially in the loop function. Before it was easy to get th...

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_pull_buffer),
(gst_wavpack_parse_create_src_pad),
(gst_wavpack_parse_resync_loop), (gst_wavpack_parse_loop),
(gst_wavpack_parse_chain):
Correctly handle errors, especially in the loop function. Before it
was easy to get the task paused but no error being posted on the bus.

17 years agogst/rtsp/test.c: Fix compilation of deprecated test just because I'm too lazy to...
Wim Taymans [Wed, 2 May 2007 14:27:28 +0000 (14:27 +0000)]
gst/rtsp/test.c: Fix compilation of deprecated test just because I'm too lazy to delete it.

Original commit message from CVS:
* gst/rtsp/test.c: (main):
Fix compilation of deprecated test just because I'm too lazy to delete
it.

17 years agogst/rtsp/gstrtspsrc.*: Fix sending RTCP to the right place.
Wim Taymans [Wed, 2 May 2007 13:32:57 +0000 (13:32 +0000)]
gst/rtsp/gstrtspsrc.*: Fix sending RTCP to the right place.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_handle_request), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_send_keep_alive), (gst_rtspsrc_loop_udp),
(gst_rtspsrc_loop_send_cmd), (gst_rtspsrc_try_send),
(gst_rtspsrc_open), (gst_rtspsrc_handle_message):
* gst/rtsp/gstrtspsrc.h:
Fix sending RTCP to the right place.
Fix bug in reffing the wrong UDP element.
Use new pad names for the session manager.
Implement handling server requests in interleaved and UDP modes.
Handle session keep-alive in UDP modes.
Remove GCond for handling UDP timeouts.
* gst/rtsp/rtspconnection.c: (rtsp_connection_connect),
(rtsp_connection_send), (rtsp_connection_read), (read_body),
(rtsp_connection_receive), (rtsp_connection_close):
* gst/rtsp/rtspconnection.h:
Store connection IP address for later.
Add timeout args to all operations that might block forever.
Parse session timeout.
Only close sockets when not already closed.
* gst/rtsp/rtspdefs.c:
* gst/rtsp/rtspdefs.h:
Add timeout return value and error string.
* gst/rtsp/rtspmessage.c: (rtsp_message_init_response):
Add small comment.

17 years agogst/rtp/gstrtpmp4vpay.*: Handle NEWSEGMENT and FLUSH events. Fixes #434824.
Sjoerd Simons [Tue, 1 May 2007 16:13:58 +0000 (16:13 +0000)]
gst/rtp/gstrtpmp4vpay.*: Handle NEWSEGMENT and FLUSH events. Fixes #434824.

Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_init),
(gst_rtp_mp4v_pay_empty), (gst_rtp_mp4v_pay_event):
* gst/rtp/gstrtpmp4vpay.h:
Handle NEWSEGMENT and FLUSH events. Fixes #434824.

17 years agodocs/plugins/gst-plugins-good-plugins-docs.sgml: Remove v4l2src from docs, since...
Tim-Philipp Müller [Mon, 30 Apr 2007 11:15:58 +0000 (11:15 +0000)]
docs/plugins/gst-plugins-good-plugins-docs.sgml: Remove v4l2src from docs, since it breaks the docs build, and the pl...

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
Remove v4l2src from docs, since it breaks the docs build, and the
plugin is only built if --enable-experimental is used anyway.
* docs/plugins/Makefile.am:
Spaces => tab.

17 years agogst/udp/gstmultiudpsink.c: Add code to drop membership of a multicast group.
Wim Taymans [Sun, 29 Apr 2007 14:43:37 +0000 (14:43 +0000)]
gst/udp/gstmultiudpsink.c: Add code to drop membership of a multicast group.

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (leave_multicast),
(gst_multiudpsink_add), (gst_multiudpsink_remove):
Add code to drop membership of a multicast group.
* gst/udp/gstudpsink.c: (gst_udpsink_update_uri),
(gst_udpsink_set_uri):
Implement URI handler.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_parse_rtpinfo):
Use URI handler to make udpsink instace.
Improve code to configure port and destination.

17 years ago80 char police
Thomas Vander Stichele [Sun, 29 Apr 2007 13:56:18 +0000 (13:56 +0000)]
80 char police

Original commit message from CVS:
80 char police

17 years agoautogen.sh: Require automake 1.7
Thomas Vander Stichele [Sun, 29 Apr 2007 13:53:16 +0000 (13:53 +0000)]
autogen.sh: Require automake 1.7

Original commit message from CVS:
* autogen.sh:
Require automake 1.7
* ext/alsaspdif/Makefile.am:
* ext/divx/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/neon/Makefile.am:
* ext/sdl/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/theora/Makefile.am:
* ext/wavpack/Makefile.am:
* ext/xvid/Makefile.am:
* gst/modplug/Makefile.am:
Fix up Makefile.am accordingly.

17 years agodocs/plugins/inspect/: Add jack and update.
Thomas Vander Stichele [Sun, 29 Apr 2007 13:49:02 +0000 (13:49 +0000)]
docs/plugins/inspect/: Add jack and update.

Original commit message from CVS:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dfbvideosink.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-glimagesink.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-jack.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
* docs/plugins/inspect/plugin-xingheader.xml:
* docs/plugins/inspect/plugin-xvid.xml:
Add jack and update.

17 years agogst/udp/gstmultiudpsink.c: Fix multicast detection.
Wim Taymans [Sun, 29 Apr 2007 12:19:21 +0000 (12:19 +0000)]
gst/udp/gstmultiudpsink.c: Fix multicast detection.

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_add):
Fix multicast detection.
Don't try to join a multicast group if the address is not multicast.
* gst/udp/gstudpsrc.c: (gst_udpsrc_update_uri):
Small debug improvement.

17 years agogst/rtsp/gstrtspsrc.c: Ignore ASYNC state messages from the udpsink, it's irrelevant...
Wim Taymans [Fri, 27 Apr 2007 16:44:17 +0000 (16:44 +0000)]
gst/rtsp/gstrtspsrc.c: Ignore ASYNC state messages from the udpsink, it's irrelevant for the parent.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play),
(gst_rtspsrc_handle_message):
Ignore ASYNC state messages from the udpsink, it's irrelevant for the
parent.

17 years agogst/rtp/gstrtpilbcdepay.h: Fix mode property when specified as an arg.
Wim Taymans [Fri, 27 Apr 2007 15:30:39 +0000 (15:30 +0000)]
gst/rtp/gstrtpilbcdepay.h: Fix mode property when specified as an arg.

Original commit message from CVS:
* gst/rtp/gstrtpilbcdepay.h:
Fix mode property when specified as an arg.

17 years agodocs/plugins/: Add documentation for osxaudio plugin.
Edward Hervey [Thu, 26 Apr 2007 15:08:20 +0000 (15:08 +0000)]
docs/plugins/: Add documentation for osxaudio plugin.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-osxaudio.xml:
Add documentation for osxaudio plugin.

17 years agodocs/plugins/: Add documentation for osxvideo
Edward Hervey [Thu, 26 Apr 2007 14:31:32 +0000 (14:31 +0000)]
docs/plugins/: Add documentation for osxvideo

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/inspect/plugin-osxvideo.xml:
Add documentation for osxvideo

17 years agogst/rtsp/gstrtspsrc.*: Protect state changes with a lock.
Wim Taymans [Thu, 26 Apr 2007 10:08:27 +0000 (10:08 +0000)]
gst/rtsp/gstrtspsrc.*: Protect state changes with a lock.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_open), (gst_rtspsrc_close),
(gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play),
(gst_rtspsrc_pause):
* gst/rtsp/gstrtspsrc.h:
Protect state changes with a lock.
* gst/rtsp/rtspconnection.c: (rtsp_connection_create),
(parse_line):
* gst/rtsp/rtspconnection.h:
Remove some unused stuff.

17 years agogst/udp/gstudpsrc.c: Handle the case where there are exactly 0 bytes to read and...
Wim Taymans [Thu, 26 Apr 2007 08:48:30 +0000 (08:48 +0000)]
gst/udp/gstudpsrc.c: Handle the case where there are exactly 0 bytes to read and the ioctl did not report an error. F...

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_create):
Handle the case where there are exactly 0 bytes to read and the ioctl
did not report an error. Fixes #433530.

17 years agogst/wavparse/gstwavparse.*: Apply DISCONT to buffers.
Wim Taymans [Thu, 26 Apr 2007 08:39:49 +0000 (08:39 +0000)]
gst/wavparse/gstwavparse.*: Apply DISCONT to buffers.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),
(gst_wavparse_stream_headers), (gst_wavparse_stream_data):
* gst/wavparse/gstwavparse.h:
Apply DISCONT to buffers.
Only apply timestamp to the first sample after a DISCONT, too many VBR
files cause random jitter in the timestamps. Fixes #433119.

17 years agogst/rtsp/gstrtpdec.*: Add dummy latency property to be backwards compat with rtpbin.
Wim Taymans [Wed, 25 Apr 2007 15:55:32 +0000 (15:55 +0000)]
gst/rtsp/gstrtpdec.*: Add dummy latency property to be backwards compat with rtpbin.

Original commit message from CVS:
* gst/rtsp/gstrtpdec.c: (gst_rtp_dec_class_init),
(gst_rtp_dec_init), (gst_rtp_dec_set_property),
(gst_rtp_dec_get_property):
* gst/rtsp/gstrtpdec.h:
Add dummy latency property to be backwards compat with rtpbin.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
(gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
(gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_parse_rtpinfo):
* gst/rtsp/gstrtspsrc.h:
Add latency property and configure in the session manager.
Don't set invalid clock-base and seqnum-base on caps, some servers
sometimes don't send them.

17 years agogst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA caps...
Tim-Philipp Müller [Wed, 25 Apr 2007 15:31:53 +0000 (15:31 +0000)]
gst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always ...

Original commit message from CVS:
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps):
Double-check that RGB input caps are really RGBA caps (apparently
the core doesn't always catch it if those caps aren't a subset of
our template caps, also see #421543). Fixes #429319 in a way.
Also, don't leak the pad template in the transform_caps function.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/alphacolor.c: (setup_alphacolor),
(cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32),
(create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4),
(GST_START_TEST), (alphacolor_suite):
Add some basic unit tests for alphacolor.

17 years agoext/libpng/gstpngdec.c: If we get a fatal flow return in the loop function, first...
Tim-Philipp Müller [Wed, 25 Apr 2007 15:08:22 +0000 (15:08 +0000)]
ext/libpng/gstpngdec.c: If we get a fatal flow return in the loop function, first post the error message and only the...

Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_task):
If we get a fatal flow return in the loop function, first post the
error message and only then send the EOS event downstream, otherwise
applications might get an eos message before the error message and
think everything was ok (related to #429319).

17 years agogst/rtsp/rtspconnection.c: Read the channel byte as an unsigned byte.
Wim Taymans [Wed, 25 Apr 2007 10:07:12 +0000 (10:07 +0000)]
gst/rtsp/rtspconnection.c: Read the channel byte as an unsigned byte.

Original commit message from CVS:
* gst/rtsp/rtspconnection.c: (rtsp_connection_receive):
Read the channel byte as an unsigned byte.

17 years agogst/rtp/: Make sure we configure the clock_rate in the baseclass in the setcaps funct...
Wim Taymans [Wed, 25 Apr 2007 09:47:48 +0000 (09:47 +0000)]
gst/rtp/: Make sure we configure the clock_rate in the baseclass in the setcaps function. Fixes #431282.

Original commit message from CVS:
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16_depay_set_property):
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_init),
(gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process):
* gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_init),
(gst_rtp_gsm_depay_setcaps):
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps):
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps):
* gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_class_init),
(gst_rtp_ilbc_depay_init), (gst_rtp_ilbc_depay_setcaps),
(gst_rtp_ilbc_depay_process), (gst_ilbc_depay_set_property),
(gst_ilbc_depay_get_property):
* gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_setcaps):
* gst/rtp/gstrtpmp4adepay.c:
* gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_init),
(gst_rtp_pcma_depay_setcaps):
* gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_init),
(gst_rtp_pcmu_depay_setcaps):
Make sure we configure the clock_rate in the baseclass in the setcaps
function. Fixes #431282.

17 years agogst/rtsp/gstrtspsrc.*: Parse server address from SDP.
Wim Taymans [Wed, 25 Apr 2007 08:36:46 +0000 (08:36 +0000)]
gst/rtsp/gstrtspsrc.*: Parse server address from SDP.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize),
(gst_rtspsrc_stream_free), (request_pt_map),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_open):
* gst/rtsp/gstrtspsrc.h:
Parse server address from SDP.
Hook up a udpsink to send RTCP back to the server.
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/rtsp/rtsptransport.h:
Add some docs.

17 years agogst/wavparse/gstwavparse.c: Make header field check conditional. Fixes #433135
Stefan Kost [Wed, 25 Apr 2007 06:52:09 +0000 (06:52 +0000)]
gst/wavparse/gstwavparse.c: Make header field check conditional. Fixes #433135

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
Make header field check conditional. Fixes #433135

17 years agoAdd minimal docs blurb to alphacolor; split out headers into separate header file...
Tim-Philipp Müller [Tue, 24 Apr 2007 09:12:42 +0000 (09:12 +0000)]
Add minimal docs blurb to alphacolor; split out headers into separate header file for gtk-doc.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-alphacolor.xml:
* gst/alpha/Makefile.am:
* gst/alpha/gstalphacolor.c:
* gst/alpha/gstalphacolor.h:
Add minimal docs blurb to alphacolor; split out headers into
separate header file for gtk-doc.

17 years agogst/debug/progressreport.c: Don't try to post NULL message (in case we can't query...
Tim-Philipp Müller [Fri, 20 Apr 2007 17:25:50 +0000 (17:25 +0000)]
gst/debug/progressreport.c: Don't try to post NULL message (in case we can't query upstream position or duration).

Original commit message from CVS:
* gst/debug/progressreport.c: (gst_progress_report_report):
Don't try to post NULL message (in case we can't query upstream
position or duration).

17 years agogst/cutter/gstcutter.*: Fix some of the most obvious bugs in cutter. Now doesn't...
Michael Smith [Wed, 18 Apr 2007 12:36:37 +0000 (12:36 +0000)]
gst/cutter/gstcutter.*: Fix some of the most obvious bugs in cutter. Now doesn't leak everything if input is silent.

Original commit message from CVS:
* gst/cutter/gstcutter.c: (gst_cutter_init), (gst_cutter_chain),
(gst_cutter_get_caps):
* gst/cutter/gstcutter.h:
Fix some of the most obvious bugs in cutter. Now doesn't leak
everything if input is silent.

17 years agogst/wavenc/gstwavenc.*: everything else results in a invalid block align and invalid...
Sebastian Dröge [Wed, 18 Apr 2007 09:48:25 +0000 (09:48 +0000)]
gst/wavenc/gstwavenc.*: everything else results in a invalid block align and invalid files.

Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf),
(gst_wavenc_sink_setcaps), (gst_wavenc_change_state):
* gst/wavenc/gstwavenc.h:
Wav apparently only supports width==GST_ROUND_UP(depth), everything
else results in a invalid block align and invalid files.

17 years agogst/smpte/barboxwipes.c: Add missing break statement for BOX_HORIZONTAL case.
Snaik [Tue, 17 Apr 2007 16:39:02 +0000 (16:39 +0000)]
gst/smpte/barboxwipes.c: Add missing break statement for BOX_HORIZONTAL case.

Original commit message from CVS:
Patch by: Snaik <snaik32 gmail com>
* gst/smpte/barboxwipes.c: (gst_wipe_boxes_draw):
Add missing break statement for BOX_HORIZONTAL case.

17 years agogst/wavparse/gstwavparse.c: Use correct format strings for integer types.
Vincent Torri [Tue, 17 Apr 2007 10:14:43 +0000 (10:14 +0000)]
gst/wavparse/gstwavparse.c: Use correct format strings for integer types.

Original commit message from CVS:
Patch by: Vincent Torri <vtorri at univ-evry dot fr>
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
Use correct format strings for integer types.

17 years agogst/wavparse/gstwavparse.c: Use gst_riff_create_audio_template_caps () instead of...
Sebastian Dröge [Tue, 17 Apr 2007 02:51:02 +0000 (02:51 +0000)]
gst/wavparse/gstwavparse.c: Use gst_riff_create_audio_template_caps () instead of the local caps.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_base_init),
(gst_wavparse_create_sourcepad):
Use gst_riff_create_audio_template_caps () instead of the local caps.
This makes updates of the local caps unecessary whenever libgstriff
gets support for new formats.

17 years agosys/sunaudio/: Fix and/or update copyright attributions (#430228).
Brian Cameron [Mon, 16 Apr 2007 21:29:40 +0000 (21:29 +0000)]
sys/sunaudio/: Fix and/or update copyright attributions (#430228).

Original commit message from CVS:
Patch by: Brian Cameron  <brian.cameron at sun dot com>
* sys/sunaudio/gstsunaudio.c:
* sys/sunaudio/gstsunaudiomixer.c:
* sys/sunaudio/gstsunaudiomixer.h:
* sys/sunaudio/gstsunaudiomixerctrl.c:
* sys/sunaudio/gstsunaudiomixerctrl.h:
* sys/sunaudio/gstsunaudiomixertrack.h:
* sys/sunaudio/gstsunaudiosink.c:
* sys/sunaudio/gstsunaudiosink.h:
* sys/sunaudio/gstsunaudiosrc.c:
* sys/sunaudio/gstsunaudiosrc.h:
Fix and/or update copyright attributions (#430228).

17 years agodocs/plugins/inspect/: Add xml doc files for Windows sinks
Sébastien Moutte [Sat, 14 Apr 2007 17:18:14 +0000 (17:18 +0000)]
docs/plugins/inspect/: Add xml doc files for Windows sinks

Original commit message from CVS:
* docs/plugins/inspect/plugin-directdraw.xml:
* docs/plugins/inspect/plugin-directsound.xml:
* docs/plugins/inspect/plugin-waveform.xml:
Add xml doc files for Windows sinks
* win32/vs6/libgstqtdemux.dsp:
* win32/vs6/libgstmpegvideoparse.dsp:
* win32/vs6/gst_plugins_bad.dsw:
Update projects files.

17 years agodocs/plugins/gst-plugins-good-plugins-sections.txt: Fix docs.
Wim Taymans [Fri, 13 Apr 2007 09:32:21 +0000 (09:32 +0000)]
docs/plugins/gst-plugins-good-plugins-sections.txt: Fix docs.

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
Fix docs.
* gst/rtsp/URLS:
Add some more example urls.
* gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_BOXED__UINT_UINT),
(gst_rtp_dec_chain_rtp):
Better debugging.
* gst/rtsp/gstrtspsrc.c: (request_pt_map),
(gst_rtspsrc_activate_streams), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_parse_rtpinfo):
Remove unused code.

17 years agogst/wavparse/gstwavparse.c: Relax the audio/mpeg caps again and add FIXME: comment.
Stefan Kost [Fri, 13 Apr 2007 08:19:35 +0000 (08:19 +0000)]
gst/wavparse/gstwavparse.c: Relax the audio/mpeg caps again and add FIXME: comment.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int),
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers),
(gst_wavparse_stream_data):
Relax the audio/mpeg caps again and add FIXME: comment.

17 years agogst/wavparse/gstwavparse.*: More sanity check for the header fields. Fix type for...
Stefan Kost [Fri, 13 Apr 2007 06:20:28 +0000 (06:20 +0000)]
gst/wavparse/gstwavparse.*: More sanity check for the header fields. Fix type for 'rate' header field.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int),
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers),
(gst_wavparse_stream_data):
* gst/wavparse/gstwavparse.h:
More sanity check for the header fields. Fix type for 'rate' header
field.

17 years agogst/icydemux/gsticydemux.c: If the metadata strings we get in the stream are not...
Tim-Philipp Müller [Thu, 12 Apr 2007 16:06:31 +0000 (16:06 +0000)]
gst/icydemux/gsticydemux.c: If the metadata strings we get in the stream are not UTF-8, try to interpret them accordi...

Original commit message from CVS:
* gst/icydemux/gsticydemux.c: (notgst_tag_freeform_string_to_utf8),
(gst_icydemux_unicodify):
If the metadata strings we get in the stream are not UTF-8, try to
interpret them according to the character encodings specified in the
GST_ICY_TAG_ENCODING and GST_TAG_ENCODING environment variables, and
only fall back to locale/ISO-8859-1 if those aren't set or don't
work. Should fix #428901.

17 years agogst/rtp/gstrtph264depay.c: Use the proper sync word for SPS and PPS.
Wim Taymans [Thu, 12 Apr 2007 14:20:56 +0000 (14:20 +0000)]
gst/rtp/gstrtph264depay.c: Use the proper sync word for SPS and PPS.

Original commit message from CVS:
* gst/rtp/gstrtph264depay.c:
Use the proper sync word for SPS and PPS.

17 years agogst/rtp/Makefile.am: gst/rtp/fnv1hash.c (MASK_24, FNV1_HASH_32_INIT, FNV1_HASH_32_PRI...
Thomas Vander Stichele [Thu, 12 Apr 2007 11:41:11 +0000 (11:41 +0000)]
gst/rtp/Makefile.am: gst/rtp/fnv1hash.c (MASK_24, FNV1_HASH_32_INIT, FNV1_HASH_32_PRIME, fnv1_hash_32_new, fnv1_hash_...

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/fnv1hash.c (MASK_24, FNV1_HASH_32_INIT, FNV1_HASH_32_PRIME,
fnv1_hash_32_new, fnv1_hash_32_update, fnv1_hash_32_to_24):
* gst/rtp/fnv1hash.h (__GST_FNV1_HASH_H__):
Add a simple hashing implementation that we can use to generate
a 24-bit ident value based on the codebooks for vorbis and theora.
* gst/rtp/gstrtptheorapay.c (gst_rtp_theora_pay_finish_headers,
gst_rtp_theora_pay_handle_buffer):
* gst/rtp/gstrtpvorbisdepay.c
(gst_rtp_vorbis_depay_parse_configuration,
gst_rtp_vorbis_depay_switch_codebook, gst_rtp_vorbis_depay_process):
* gst/rtp/gstrtpvorbispay.c (gst_rtp_vorbis_pay_reset_packet,
gst_rtp_vorbis_pay_init_packet, gst_rtp_vorbis_pay_flush_packet,
gst_rtp_vorbis_pay_finish_headers, gst_rtp_vorbis_pay_handle_buffer):
Use the hashing function, ensuring that the same codebooks result
in the same ident and thus the same SDP description.
Various log fixes/changes.

17 years agosys/sunaudio/gstsunaudiosrc.c: it is the application's responsibility to make sure...
jerry tan [Thu, 12 Apr 2007 11:37:50 +0000 (11:37 +0000)]
sys/sunaudio/gstsunaudiosrc.c: it is the application's responsibility to make sure it open the device once.

Original commit message from CVS:
Patch by: jerry tan <jerry dot tan at sun dot com>
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open):
remove the call of  ioctl (fd, AUDIO_MIXER_MULTIPLE_OPEN), it is the
application's responsibility to make sure it open the device once.
Remove a careless error if AUDIODEV is set. Fixes #392620.

17 years agogst/qtdemux/qtdemux.c: Make timescale 32 bits again so we don't screw up the pts_offs...
Wim Taymans [Thu, 12 Apr 2007 10:52:02 +0000 (10:52 +0000)]
gst/qtdemux/qtdemux.c: Make timescale 32 bits again so we don't screw up the pts_offset calculations.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
Make timescale 32 bits again so we don't screw up the pts_offset
calculations.

17 years agogst/rtsp/gstrtpdec.*: Make backward compat with rtpbin by adding the request-pt-map...
Wim Taymans [Thu, 12 Apr 2007 08:21:28 +0000 (08:21 +0000)]
gst/rtsp/gstrtpdec.*: Make backward compat with rtpbin by adding the request-pt-map signals.

Original commit message from CVS:
* gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_BOXED__UINT_UINT),
(gst_rtp_dec_class_init), (gst_rtp_dec_chain_rtp):
* gst/rtsp/gstrtpdec.h:
Make backward compat with rtpbin by adding the request-pt-map signals.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
(new_session_pad), (request_pt_map),
(gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_stream_configure_caps),
(gst_rtspsrc_activate_streams):
* gst/rtsp/gstrtspsrc.h:
Implement request-pt-map signals instead of setting caps on the buffers
for the session manager.

17 years agogst/udp/gstudp.c: Register GstNetBuffer in plugin_init so that the type can be used...
Wim Taymans [Wed, 11 Apr 2007 10:25:25 +0000 (10:25 +0000)]
gst/udp/gstudp.c: Register GstNetBuffer in plugin_init so that the type can be used from multiple threads without races.

Original commit message from CVS:
* gst/udp/gstudp.c: (plugin_init):
Register GstNetBuffer in plugin_init so that the type can be used from
multiple threads without races.

17 years agoupdate to spec file
Christian Schaller [Wed, 11 Apr 2007 10:19:06 +0000 (10:19 +0000)]
update to spec file

Original commit message from CVS:
update to spec file

17 years agogst/qtdemux/: Handle version 1 mdhd atoms to get extended precision durations.
Wim Taymans [Wed, 11 Apr 2007 09:53:38 +0000 (09:53 +0000)]
gst/qtdemux/: Handle version 1 mdhd atoms to get extended precision durations.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration),
(qtdemux_parse_samples), (qtdemux_parse_segments),
(qtdemux_parse_trak), (qtdemux_parse_tree):
* gst/qtdemux/qtdemux_dump.c: (qtdemux_dump_mdhd):
Handle version 1 mdhd atoms to get extended precision durations.
Fixes #426972.

17 years agogst/rtp/gstrtpamrdepay.c: Fix depayloader clock_rate and some cleanups.
Wim Taymans [Tue, 10 Apr 2007 17:06:05 +0000 (17:06 +0000)]
gst/rtp/gstrtpamrdepay.c: Fix depayloader clock_rate and some cleanups.

Original commit message from CVS:
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_setcaps),
(gst_rtp_amr_depay_process):
Fix depayloader clock_rate and some cleanups.
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_finalize),
(gst_rtp_h264_depay_setcaps), (gst_rtp_h264_depay_process):
* gst/rtp/gstrtph264depay.h:
Don't push codec_data in the adapter because it might get flushed when
we get a discont.
* gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process):
Handle multiple AU per packet.
* gst/rtp/gstrtpsv3vdepay.c: (gst_rtp_sv3v_depay_process),
(gst_rtp_sv3v_depay_plugin_init):
Disable rank, this one does not work.
Remove timestamping, base class does that.

17 years agogst/auparse/gstauparse.c: limit caps to the formats we announce in the template
Stefan Kost [Tue, 10 Apr 2007 12:01:33 +0000 (12:01 +0000)]
gst/auparse/gstauparse.c: limit caps to the formats we announce in the template

Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_au_parse_parse_header):
limit caps to the formats we announce in the template
* gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int),
(gst_wavparse_perform_seek), (gst_wavparse_stream_headers),
(gst_wavparse_add_src_pad), (gst_wavparse_stream_data):
fix some crashers/asserts when dealing with broken files

17 years agogst/: Fix some compiler warnings. Fixes #428182.
Peter Kjellerstedt [Tue, 10 Apr 2007 10:01:14 +0000 (10:01 +0000)]
gst/: Fix some compiler warnings. Fixes #428182.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
* gst/rtp/gstrtpL16depay.c:
* gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process):
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode),
(gst_rtp_speex_depay_setcaps):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp):
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send):
Fix some compiler warnings. Fixes #428182.