platform/upstream/gstreamer.git
16 years agogst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use a sine...
Sebastian Dröge [Tue, 6 Nov 2007 12:23:35 +0000 (12:23 +0000)]
gst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use a sine wave.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c: (main):
Use autoaudiosink instead of alsasink and use a sine wave.
* gst/spectrum/gstspectrum.c:
Fix the magnitude calculation.

16 years agogst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.
Sebastian Dröge [Sat, 3 Nov 2007 19:50:11 +0000 (19:50 +0000)]
gst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.

Original commit message from CVS:
* gst/equalizer/demo.c: (main):
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_class_init), (setup_filter):
Allow setting 0 as bandwidth and handle this correctly.
Also handle a bandwidth of rate/2 properly.
* gst/equalizer/gstiirequalizernbands.c:
(gst_iir_equalizer_nbands_class_init):
Make it possible to generate a N-band equalizer with 1 bands. The
previous limit of 2 was caused by a nowadays replaced calculation
doing a division by zero if number of bands was 1.

16 years agoFix includes for MSVC and GLib-2.14.0 (#492388).
Ole André Vadla Ravnås [Fri, 2 Nov 2007 21:16:09 +0000 (21:16 +0000)]
Fix includes for MSVC and GLib-2.14.0 (#492388).

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* configure.ac:
* gst/udp/gstdynudpsink.c:
* gst/udp/gstdynudpsink.h:
* gst/udp/gstmultiudpsink.c:
* gst/udp/gstmultiudpsink.h:
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsink.h:
Fix includes for MSVC and GLib-2.14.0 (#492388).
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
No more pipe define since GLib-2.14.0, need to use _pipe() directly.

16 years agogst/law/mulaw-decode.*: Calculate outgoing buffer duration if incoming buffer didn...
Edward Hervey [Fri, 2 Nov 2007 17:23:43 +0000 (17:23 +0000)]
gst/law/mulaw-decode.*: Calculate outgoing buffer duration if incoming buffer didn't have a valid duration.

Original commit message from CVS:
* gst/law/mulaw-decode.c: (mulawdec_sink_setcaps),
(gst_mulawdec_chain):
* gst/law/mulaw-decode.h:
Calculate outgoing buffer duration if incoming buffer didn't have a
valid duration.

16 years agogst/equalizer/: Add small demo application based on the spectrum demo applications...
Sebastian Dröge [Tue, 30 Oct 2007 21:37:49 +0000 (21:37 +0000)]
gst/equalizer/: Add small demo application based on the spectrum demo applications that gets white noise as input, pu...

Original commit message from CVS:
* gst/equalizer/Makefile.am:
* gst/equalizer/demo.c: (on_window_destroy), (on_configure_event),
(on_gain_changed), (on_bandwidth_changed), (on_freq_changed),
(draw_spectrum), (message_handler), (main):
Add small demo application based on the spectrum demo applications
that gets white noise as input, pushes it through an equalizer and
paints the spectrum. For every equalizer band it's possible to set
gain, bandwidth and frequency.
* gst/equalizer/gstiirequalizer.c: (setup_filter):
Add some guarding against too large or too small frequencies and
bandwidths. Also improve debugging a bit.

16 years agogst/equalizer/gstiirequalizer.c: Replace filters with a bit better filters for which...
Sebastian Dröge [Tue, 30 Oct 2007 21:18:45 +0000 (21:18 +0000)]
gst/equalizer/gstiirequalizer.c: Replace filters with a bit better filters for which we can actually find documentati...

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_set_property),
(gst_iir_equalizer_band_get_property),
(gst_iir_equalizer_band_class_init), (arg_to_scale),
(setup_filter), (gst_iir_equalizer_compute_frequencies):
Replace filters with a bit better filters for which we can actually
find documentation, which don't change anything on zero gain, etc.
Make the frequency property of the bands writable, rename the
band-width property to bandwidth and change the meaning to the
frequency difference between bandedges, change the meaning of the
gain property to dB instead of a weird scale between -1 and 1 that
has no real meaning.

16 years agogst/qtdemux/qtdemux.c: Smarter combine_flow code that also deals with downstream...
Wim Taymans [Tue, 30 Oct 2007 12:29:46 +0000 (12:29 +0000)]
gst/qtdemux/qtdemux.c: Smarter combine_flow code that also deals with downstream elements returning UNEXPECTED when t...

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment),
(gst_qtdemux_combine_flows), (gst_qtdemux_loop_state_movie):
Smarter combine_flow code that also deals with downstream elements
returning UNEXPECTED when they receive data out of the segment
boundaries. Fixes #491305.

16 years agogst/interleave/interleave.c: Let's not call every request pad we create "sink%d"...
Tim-Philipp Müller [Sat, 27 Oct 2007 16:04:48 +0000 (16:04 +0000)]
gst/interleave/interleave.c: Let's not call every request pad we create "sink%d", that'll create problems if there's ...

Original commit message from CVS:
* gst/interleave/interleave.c: (gst_interleave_request_new_pad):
Let's not call every request pad we create "sink%d", that'll
create problems if there's to be more than one pad. Fixes #490682.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/interleave.c:
Add unit test for the above.

16 years agosys/v4l2/v4l2src_calls.c: Fix 'unused variable' compiler warning when compiling again...
Tim-Philipp Müller [Fri, 26 Oct 2007 15:03:06 +0000 (15:03 +0000)]
sys/v4l2/v4l2src_calls.c: Fix 'unused variable' compiler warning when compiling against older kernel headers.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
Fix 'unused variable' compiler warning when compiling against
older kernel headers.

16 years agoupdate spec file
Christian Schaller [Fri, 26 Oct 2007 12:10:43 +0000 (12:10 +0000)]
update spec file

Original commit message from CVS:
update spec file

16 years agoImprove documentation, write some tests for multifilesrc/sink for upcoming ->good...
David Schleef [Thu, 25 Oct 2007 23:42:52 +0000 (23:42 +0000)]
Improve documentation, write some tests for multifilesrc/sink for upcoming ->good review.

Original commit message from CVS:
* gst/multifile/Makefile.am:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
* tests/check/Makefile.am:
* tests/check/elements/multifile.c:
Improve documentation, write some tests for multifilesrc/sink
for upcoming ->good review.

16 years agoext/taglib/gstid3v2mux.cc (add_funcs): Map new SORTNAME tags to ID3v2 TSOP, TSOA...
Tim-Philipp Müller [Thu, 25 Oct 2007 15:00:15 +0000 (15:00 +0000)]
ext/taglib/gstid3v2mux.cc (add_funcs): Map new SORTNAME tags to ID3v2 TSOP, TSOA and TSOT frames (#414539).

Original commit message from CVS:
* ext/taglib/gstid3v2mux.cc (add_funcs):
Map new SORTNAME tags to ID3v2 TSOP, TSOA and TSOT frames (#414539).

16 years agotests/check/pipelines/simple-launch-lines.c: Improve the tests a little more.
Stefan Kost [Wed, 24 Oct 2007 07:01:47 +0000 (07:01 +0000)]
tests/check/pipelines/simple-launch-lines.c: Improve the tests a little more.

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Improve the tests a little more.

16 years agosys/osxaudio/gstosxaudiosrc.c: Use default input device instead of default output...
Yun Zheng Hu [Tue, 23 Oct 2007 08:38:50 +0000 (08:38 +0000)]
sys/osxaudio/gstosxaudiosrc.c: Use default input device instead of default output device and only memcpy actual avail...

Original commit message from CVS:
patch by: Yun Zheng Hu
* sys/osxaudio/gstosxaudiosrc.c:
Use default input device instead of default output device and
only memcpy actual available bytes.

16 years agosys/v4l2/v4l2src_calls.c: Fixes "v4l2src ! queue ! xvimagesink". The queue ask for...
Edgard Lima [Mon, 22 Oct 2007 19:14:08 +0000 (19:14 +0000)]
sys/v4l2/v4l2src_calls.c: Fixes "v4l2src ! queue ! xvimagesink". The queue ask for buffer too early. It is temporary ...

Original commit message from CVS:

* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_grab_frame):
Fixes "v4l2src ! queue ! xvimagesink". The queue ask for buffer too
early. It is temporary until we find something better.

16 years agogst/rtsp/gstrtspsrc.c: Fix race when pausing a RTSP stream in interleaved.
Tommi Myöhänen [Mon, 22 Oct 2007 16:44:48 +0000 (16:44 +0000)]
gst/rtsp/gstrtspsrc.c: Fix race when pausing a RTSP stream in interleaved.

Original commit message from CVS:
Patch by: Tommi Myöhänen  <ext-tommi dot myohanen at nokia dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop_interleaved):
Fix race when pausing a RTSP stream in interleaved.
Fixes #475784.

16 years agogst/rtp/gstrtpmp4vpay.c: Use correct unref function for buffers. #488844.
Peter Kjellerstedt [Mon, 22 Oct 2007 09:53:16 +0000 (09:53 +0000)]
gst/rtp/gstrtpmp4vpay.c: Use correct unref function for buffers. #488844.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_finalize):
Use correct unref function for buffers. #488844.

16 years agoAdd some debug and sync tests with the fix.
Stefan Kost [Fri, 19 Oct 2007 19:33:16 +0000 (19:33 +0000)]
Add some debug and sync tests with the fix.

Original commit message from CVS:
* gst/avi/gstavimux.c:
* tests/check/elements/avimux.c:
Add some debug and sync tests with the fix.

16 years agogst/udp/gstudpsrc.c: When the socket is used by the app for other purposes, don't...
Laurent Glayal [Thu, 18 Oct 2007 17:04:14 +0000 (17:04 +0000)]
gst/udp/gstudpsrc.c: When the socket is used by the app for other purposes, don't generate an error if there is activ...

Original commit message from CVS:
Based on patch by: Laurent Glayal  <spglegle yahoo fr>
* gst/udp/gstudpsrc.c: (gst_udpsrc_create):
When the socket is used by the app for other purposes, don't generate an
error if there is activaty on the socket that is not data related.
Fixes #487488.

16 years agosys/v4l2/v4l2src_calls.c: Add some more debug info. Generate an error when we run...
Wim Taymans [Thu, 18 Oct 2007 14:55:38 +0000 (14:55 +0000)]
sys/v4l2/v4l2src_calls.c: Add some more debug info. Generate an error when we run out of buffers for some reason. See...

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
(gst_v4l2src_grab_frame):
Add some more debug info. Generate an error when we run out of buffers
for some reason. See #480557.

16 years agogst/rtp/gstrtph264pay.c: Set marker bit correctly.
Anders Skargren [Thu, 18 Oct 2007 08:27:56 +0000 (08:27 +0000)]
gst/rtp/gstrtph264pay.c: Set marker bit correctly.

Original commit message from CVS:
Patch by: Anders Skargren <anders dot skargren at axis dot com>
* gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_handle_buffer):
Set marker bit correctly.

16 years agogst/equalizer/gstiirequalizer.c: Add a missing break.
Sebastian Dröge [Thu, 18 Oct 2007 06:20:21 +0000 (06:20 +0000)]
gst/equalizer/gstiirequalizer.c: Add a missing break.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_set_property):
Add a missing break.

16 years agogst/equalizer/gstiirequalizer.*: Move bandwidth property to the separate bands and...
Sebastian Dröge [Thu, 18 Oct 2007 06:14:42 +0000 (06:14 +0000)]
gst/equalizer/gstiirequalizer.*: Move bandwidth property to the separate bands and add float64 support.

Original commit message from CVS:
* gst/equalizer/gstiirequalizer.c:
(gst_iir_equalizer_band_set_property),
(gst_iir_equalizer_band_get_property),
(gst_iir_equalizer_band_class_init), (gst_iir_equalizer_band_init),
(gst_iir_equalizer_band_get_type), (gst_iir_equalizer_class_init),
(setup_filter), (gst_iir_equalizer_setup):
* gst/equalizer/gstiirequalizer.h:
Move bandwidth property to the separate bands and add float64 support.

16 years agogst/rtsp/gstrtspsrc.c: Use allowed name for the GstStructure.
Wim Taymans [Wed, 17 Oct 2007 15:08:02 +0000 (15:08 +0000)]
gst/rtsp/gstrtspsrc.c: Use allowed name for the GstStructure.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open):
Use allowed name for the GstStructure.

16 years agoUse new gst_bus_pop_filtered().
Tim-Philipp Müller [Wed, 17 Oct 2007 11:47:23 +0000 (11:47 +0000)]
Use new gst_bus_pop_filtered().

Original commit message from CVS:
* ext/gconf/gstswitchsink.c:
* gst/autodetect/gstautoaudiosink.c:
Use new gst_bus_pop_filtered().

16 years agosys/v4l2/: When probing the formats and sizes a camera supports, make sure the best...
Tim-Philipp Müller [Sat, 13 Oct 2007 12:03:44 +0000 (12:03 +0000)]
sys/v4l2/: When probing the formats and sizes a camera supports, make sure the best ones (highest resolution, prefere...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/v4l2src_calls.c:
When probing the formats and sizes a camera supports, make
sure the best ones (highest resolution, prefered format)
end up at the beginning of the probed caps and the less
desirable ones at the end.  This is important because the
order within the caps matters for things like fixation and
negotiation, ie. what format is chosen in the end.
With recent kernels, the current probing code will end up
querying the supported sizes from lowest resolution to
highest resolution, adding them to the probed caps in that
order, resulting to v4l2src fixating to the lowest possible
resolution if downstream does not express a size preference.
Also make up a somewhat random ranking of prefered output
formats for the same reason. Fixes #485828.

16 years agogst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP frames...
Jason Kivlighn [Thu, 11 Oct 2007 17:55:29 +0000 (17:55 +0000)]
gst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP frames (Fixes #447000).

Original commit message from CVS:
Based on patch by: Jason Kivlighn  <jkivlighn gmail com>
* gst/id3demux/id3v2frames.c:
Extract license/copyright URIs from ID3v2 WCOP frames
(Fixes #447000).
* tests/check/elements/id3demux.c:
* tests/files/Makefile.am:
* tests/files/id3-447000-wcop.tag:
Add simple unit test.

16 years agoext/taglib/gstid3v2mux.cc: Add support for license/copyright URI tags (ID3v2 WCOP...
Tim-Philipp Müller [Thu, 11 Oct 2007 16:41:44 +0000 (16:41 +0000)]
ext/taglib/gstid3v2mux.cc: Add support for license/copyright URI tags (ID3v2 WCOP frame).

Original commit message from CVS:
* ext/taglib/gstid3v2mux.cc:
Add support for license/copyright URI tags (ID3v2 WCOP frame).
Prerequisite for #447000.

16 years agogst/rtsp/gstrtspsrc.c: Fix compiler warning by using GST_CLOCK_TIME_NONE to initialis...
Jan Schmidt [Mon, 8 Oct 2007 17:44:42 +0000 (17:44 +0000)]
gst/rtsp/gstrtspsrc.c: Fix compiler warning by using GST_CLOCK_TIME_NONE to initialise a GstClockTime.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush):
Fix compiler warning by using GST_CLOCK_TIME_NONE to initialise
a GstClockTime.

16 years agogst/rtsp/gstrtspsrc.c: More seeking fixes, mostly passing around the new playback...
Wim Taymans [Mon, 8 Oct 2007 11:58:51 +0000 (11:58 +0000)]
gst/rtsp/gstrtspsrc.c: More seeking fixes, mostly passing around the new playback segment in order to configure it pr...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush),
(gst_rtspsrc_do_seek), (gst_rtspsrc_perform_seek),
(gst_rtspsrc_configure_caps), (gst_rtspsrc_loop_udp),
(gst_rtspsrc_parse_range), (gst_rtspsrc_open), (gst_rtspsrc_play),
(gst_rtspsrc_change_state):
More seeking fixes, mostly passing around the new playback segment in
order to configure it properly.
Also reset base_time of udp sources when setting them back to PLAYING as
a temporary hack until core supports seek in live sources properly.

16 years agogst/rtp/gstrtpmp4adepay.c: Fix caps as to not confuse autopluggers.
Wim Taymans [Mon, 8 Oct 2007 10:34:03 +0000 (10:34 +0000)]
gst/rtp/gstrtpmp4adepay.c: Fix caps as to not confuse autopluggers.

Original commit message from CVS:
* gst/rtp/gstrtpmp4adepay.c:
Fix caps as to not confuse autopluggers.

16 years agogst/id3demux/: Port ID3 tag demuxer over to the new GstTagDemux in -base (now would...
Tim-Philipp Müller [Sat, 6 Oct 2007 16:13:14 +0000 (16:13 +0000)]
gst/id3demux/: Port ID3 tag demuxer over to the new GstTagDemux in -base (now would be a good time to test re-importi...

Original commit message from CVS:
* gst/id3demux/gstid3demux.c:
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c:
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2frames.c:
Port ID3 tag demuxer over to the new GstTagDemux in -base
(now would be a good time to test re-importing your music
collection).

16 years agogst/apetag/: Port APE tag demuxer over to the new GstTagDemux in -base.
Tim-Philipp Müller [Sat, 6 Oct 2007 15:13:09 +0000 (15:13 +0000)]
gst/apetag/: Port APE tag demuxer over to the new GstTagDemux in -base.

Original commit message from CVS:
* gst/apetag/Makefile.am:
* gst/apetag/gstapedemux.c:
* gst/apetag/gstapedemux.h:
* gst/apetag/gsttagdemux.c:
* gst/apetag/gsttagdemux.h:
Port APE tag demuxer over to the new GstTagDemux in -base.

16 years agogst/rtsp/gstrtspsrc.c: Improve flushing behaviour.
Wim Taymans [Fri, 5 Oct 2007 13:18:19 +0000 (13:18 +0000)]
gst/rtsp/gstrtspsrc.c: Improve flushing behaviour.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_flush),
(gst_rtspsrc_perform_seek), (gst_rtspsrc_handle_src_event),
(gst_rtspsrc_handle_internal_src_query),
(gst_rtspsrc_handle_src_query), (new_session_pad),
(gst_rtspsrc_stream_configure_tcp),
(gst_rtspsrc_stream_configure_transport),
(gst_rtspsrc_loop_send_cmd):
Improve flushing behaviour.
Set state of the udp sources to PAUSE/PLAYING correctly.
Handle events and queries for UDP and TCP transport now.

16 years agogst/rtp/: Add log category.
Stefan Kost [Thu, 4 Oct 2007 07:29:48 +0000 (07:29 +0000)]
gst/rtp/: Add log category.

Original commit message from CVS:
* gst/rtp/gstrtpgsmdepay.c:
* gst/rtp/gstrtpgsmpay.c:
Add log category.

16 years agotests/check/: Add unit tests for payloaders/depayloaders.
Timo Hotti [Thu, 4 Oct 2007 07:24:02 +0000 (07:24 +0000)]
tests/check/: Add unit tests for payloaders/depayloaders.

Original commit message from CVS:
Patch by: Timo Hotti <Timo.Hotti@sysopendigia.com>
* tests/check/Makefile.am:
* tests/check/pipelines/simple-launch-lines.c:
Add unit tests for payloaders/depayloaders.

16 years agogst/avi/gstavimux.*: Also save codec data for audio streams. Fixes #482495.
Stefan Kost [Tue, 2 Oct 2007 10:49:03 +0000 (10:49 +0000)]
gst/avi/gstavimux.*: Also save codec data for audio streams. Fixes #482495.

Original commit message from CVS:
* gst/avi/gstavimux.c:
* gst/avi/gstavimux.h:
Also save codec data for audio streams. Fixes #482495.

16 years agogst/avi/gstavimux.c: Fix "Index entry has invalid stream nr 1".
Stefan Kost [Tue, 2 Oct 2007 10:23:04 +0000 (10:23 +0000)]
gst/avi/gstavimux.c: Fix "Index entry has invalid stream nr 1".

Original commit message from CVS:
* gst/avi/gstavimux.c:
Fix "Index entry has invalid stream nr 1".
Add support for muxing aac - work in progress (see #482495).

16 years agogst/rtsp/gstrtspsrc.*: Parse bandwidth modifiers, they are not yet configured in...
Wim Taymans [Mon, 1 Oct 2007 16:34:56 +0000 (16:34 +0000)]
gst/rtsp/gstrtspsrc.*: Parse bandwidth modifiers, they are not yet configured in the session manager because we don't...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_get_bandwidth),
(gst_rtspsrc_collect_bandwidth), (gst_rtspsrc_create_stream),
(gst_rtspsrc_media_to_caps), (gst_rtspsrc_loop_interleaved):
* gst/rtsp/gstrtspsrc.h:
Parse bandwidth modifiers, they are not yet configured in the session
manager because we don't have an API for that yet.

16 years agogst/rtsp/gstrtspsrc.c: Use shiny new function in -base to get the default clock-rate.
Wim Taymans [Mon, 1 Oct 2007 13:57:28 +0000 (13:57 +0000)]
gst/rtsp/gstrtspsrc.c: Use shiny new function in -base to get the default clock-rate.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_parse_rtpmap),
(gst_rtspsrc_media_to_caps), (gst_rtspsrc_loop_interleaved):
Use shiny new function in -base to get the default clock-rate.
Update some docs.

16 years agowin32/MANIFEST: Add files to win32 manifest.
Sébastien Moutte [Sat, 29 Sep 2007 12:50:36 +0000 (12:50 +0000)]
win32/MANIFEST: Add files to win32 manifest.

Original commit message from CVS:
* win32/MANIFEST:
Add files to win32 manifest.
* win32/vs6/libgstaudiofx.dsp:
* win32/vs6/libgstqtdemux.dsp:
* win32/vs6/libgstrtp.dsp:
* win32/vs6/libgstrtsp.dsp:
Update project files.

16 years agogst/rtsp/gstrtspsrc.*: In TCP mode, only timestamp the first buffer. TCP is not real...
Wim Taymans [Fri, 28 Sep 2007 14:56:19 +0000 (14:56 +0000)]
gst/rtsp/gstrtspsrc.*: In TCP mode, only timestamp the first buffer. TCP is not real time and it does not make sense ...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_play):
* gst/rtsp/gstrtspsrc.h:
In TCP mode, only timestamp the first buffer. TCP is not real time and
it does not make sense to try to skew compensate, also some servers send
the first batch of data in a burst.

16 years agogst/matroska/matroska-demux.c: Fix setting the discont flag on the first buffer pushe...
Tim-Philipp Müller [Thu, 27 Sep 2007 15:00:30 +0000 (15:00 +0000)]
gst/matroska/matroska-demux.c: Fix setting the discont flag on the first buffer pushed downstream for formats with pr...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
Fix setting the discont flag on the first buffer
pushed downstream for formats with private codec
data that needs to be deserialised into buffers
(such as vorbis and FLAC when in a matroska container).

16 years agogst/rtp/gstrtpmp4vpay.*: Free the config string. Fixes #480707.
Antoine Tremblay [Thu, 27 Sep 2007 11:10:12 +0000 (11:10 +0000)]
gst/rtp/gstrtpmp4vpay.*: Free the config string. Fixes #480707.

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_init),
(gst_rtp_mp4v_pay_finalize), (gst_rtp_mp4v_pay_flush),
(gst_rtp_mp4v_pay_handle_buffer):
* gst/rtp/gstrtpmp4vpay.h:
Free the config string. Fixes #480707.
Clean up the timestamp code a little.

16 years agogst/rtsp/gstrtspsrc.*: Set timestamps on RTP buffers in interleaved mode.
Wim Taymans [Wed, 26 Sep 2007 20:12:52 +0000 (20:12 +0000)]
gst/rtsp/gstrtspsrc.*: Set timestamps on RTP buffers in interleaved mode.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
(gst_rtspsrc_handle_src_query), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_close):
* gst/rtsp/gstrtspsrc.h:
Set timestamps on RTP buffers in interleaved mode.
Mark first buffers with a DISCONT.
Remove flush hack now that sync for live sources has been figured out.

16 years agogst/udp/gstudpsrc.c: Update documentation.
Wim Taymans [Wed, 26 Sep 2007 14:28:20 +0000 (14:28 +0000)]
gst/udp/gstudpsrc.c: Update documentation.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_create):
Update documentation.

16 years agogst/qtdemux/gstrtpxqtdepay.*: Fail if we don't know the quicktime format.
Wim Taymans [Wed, 26 Sep 2007 14:26:39 +0000 (14:26 +0000)]
gst/qtdemux/gstrtpxqtdepay.*: Fail if we don't know the quicktime format.

Original commit message from CVS:
* gst/qtdemux/gstrtpxqtdepay.c: (gst_rtp_xqt_depay_process),
(gst_rtp_xqt_depay_change_state):
* gst/qtdemux/gstrtpxqtdepay.h:
Fail if we don't know the quicktime format.

16 years agoext/flac/gstflacenc.*: Save the flow return from the last gst_pad_push() and make...
Tim-Philipp Müller [Wed, 26 Sep 2007 13:19:17 +0000 (13:19 +0000)]
ext/flac/gstflacenc.*: Save the flow return from the last gst_pad_push() and make sure we pass the right flow return ...

Original commit message from CVS:
* ext/flac/gstflacenc.c:
* ext/flac/gstflacenc.h:
Save the flow return from the last gst_pad_push() and
make sure we pass the right flow return value upstream
in the case of failure; minor clean-ups.

16 years agoAdd support for the new GST_TAG_COMPOSER (#459809).
Tim-Philipp Müller [Tue, 25 Sep 2007 19:09:33 +0000 (19:09 +0000)]
Add support for the new GST_TAG_COMPOSER (#459809).

Original commit message from CVS:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstid3v2mux.cc:
* gst/apetag/gstapedemux.c:
Add support for the new GST_TAG_COMPOSER (#459809).

16 years agogst/law/: Compulsive clean-ups: use boilerplate macros, add debug categories, fix...
Tim-Philipp Müller [Tue, 25 Sep 2007 17:18:34 +0000 (17:18 +0000)]
gst/law/: Compulsive clean-ups: use boilerplate macros, add debug categories, fix up things to conform to symbol nome...

Original commit message from CVS:
* gst/law/alaw-decode.c:
* gst/law/alaw-decode.h:
* gst/law/alaw-encode.c:
* gst/law/alaw-encode.h:
* gst/law/alaw.c:
* gst/law/mulaw-conversion.h:
Compulsive clean-ups: use boilerplate macros, add debug
categories, fix up things to conform to symbol nomenklatura,
etc.

16 years agogst/law/: Use static tables for A-Law decoding and encoding; this makes
Laurent Glayal [Tue, 25 Sep 2007 16:05:29 +0000 (16:05 +0000)]
gst/law/: Use static tables for A-Law decoding and encoding; this makes

Original commit message from CVS:
Based on patch by: Laurent Glayal  <spglegle yahoo fr>
* gst/law/alaw-decode.c:
* gst/law/alaw-encode.c:
Use static tables for A-Law decoding and encoding; this makes
A-Law decoding and encoding less CPU-intensive, but increases
the binary size a bit. Leaving old code around for now,
selectable by a define in the code. Fixes #435435.

16 years agoconfigure.ac: Use AG_GST_ARG_WITH_PLUGINS, AG_GST_ARG_ENABLE_EXTERNAL and
Sebastian Dröge [Tue, 25 Sep 2007 08:51:36 +0000 (08:51 +0000)]
configure.ac: Use AG_GST_ARG_WITH_PLUGINS, AG_GST_ARG_ENABLE_EXTERNAL and

Original commit message from CVS:
* configure.ac:
Use AG_GST_ARG_WITH_PLUGINS, AG_GST_ARG_ENABLE_EXTERNAL and
AG_GST_ARG_ENABLE_EXPERIMENTAL instead of duplicating those macros
in configure.ac.

16 years agogst/qtdemux/qtdemux.c: Add fourccs for MPEG2 HDV streams. Fixes #479960.
Sebastian Dröge [Tue, 25 Sep 2007 05:03:58 +0000 (05:03 +0000)]
gst/qtdemux/qtdemux.c: Add fourccs for MPEG2 HDV streams. Fixes #479960.

Original commit message from CVS:
Patch by: <j at bootlab dot org>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add fourccs for MPEG2 HDV streams. Fixes #479960.

16 years agoMassive leak fixing, plus code cleanups.
Stefan Kost [Mon, 24 Sep 2007 10:53:36 +0000 (10:53 +0000)]
Massive leak fixing, plus code cleanups.

Original commit message from CVS:
* ext/audioresample/gstaudioresample.c:
* ext/x264/gstx264enc.c:
* gst/dvdspu/gstdvdspu.c:
* gst/dvdspu/gstdvdspu.h:
* gst/festival/gstfestival.c:
* gst/h264parse/gsth264parse.c:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
* gst/nuvdemux/gstnuvdemux.c:
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
* sys/vcd/vcdsrc.c:
Massive leak fixing, plus code cleanups.

16 years agosys/oss/gstosshelper.c: Use GST_WARNING instead of a g_critical. This situation is...
Stefan Kost [Sun, 23 Sep 2007 18:57:14 +0000 (18:57 +0000)]
sys/oss/gstosshelper.c: Use GST_WARNING instead of a g_critical. This situation is not caused by the application.

Original commit message from CVS:
* sys/oss/gstosshelper.c:
Use GST_WARNING instead of a g_critical. This situation is not caused
by the application.

16 years agopo/: Updated translations.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:15:12 +0000 (18:15 +0000)]
po/: Updated translations.

Original commit message from CVS:
* po/LINGUAS:
* po/nl.po:
Updated translations.

16 years agopo/eu.po: Added Basque translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:13:58 +0000 (18:13 +0000)]
po/eu.po: Added Basque translation.

Original commit message from CVS:
translated by: Mikel Olasagasti <hey_neken@mundurat.net>
* po/eu.po:
Added Basque translation.

16 years agopo/: Added Chinese (traditional and Hong Kong) translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:13:10 +0000 (18:13 +0000)]
po/: Added Chinese (traditional and Hong Kong) translation.

Original commit message from CVS:
translated by: Abel Cheung <abelcheung@gmail.com>
* po/zh_HK.po:
* po/zh_TW.po:
Added Chinese (traditional and Hong Kong) translation.

16 years agopo/pl.po: Added Polish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:10:42 +0000 (18:10 +0000)]
po/pl.po: Added Polish translation.

Original commit message from CVS:
translated by: Jakub Bogusz <qboosh@pld-linux.org>
* po/pl.po:
Added Polish translation.

16 years agopo/fi.po: Added Finnish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:09:59 +0000 (18:09 +0000)]
po/fi.po: Added Finnish translation.

Original commit message from CVS:
translated by: Ilkka Tuohela <hile@iki.fi>
* po/fi.po:
Added Finnish translation.

16 years agopo/es.po: Added Spanish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:09:09 +0000 (18:09 +0000)]
po/es.po: Added Spanish translation.

Original commit message from CVS:
translated by: Jorge González González <aloriel@gmail.com>
* po/es.po:
Added Spanish translation.

16 years agopo/da.po: Added Danish translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:08:13 +0000 (18:08 +0000)]
po/da.po: Added Danish translation.

Original commit message from CVS:
translated by: Mogens Jaeger <mogens@jaeger.tf>
* po/da.po:
Added Danish translation.

16 years agopo/zh_CN.po: Added Chinese (simplified) translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:06:55 +0000 (18:06 +0000)]
po/zh_CN.po: Added Chinese (simplified) translation.

Original commit message from CVS:
translated by: Funda Wang <fundawang@linux.net.cn>
* po/zh_CN.po:
Added Chinese (simplified) translation.

16 years agopo/bg.po: Added Bulgarian translation.
Thomas Vander Stichele [Sat, 22 Sep 2007 18:05:37 +0000 (18:05 +0000)]
po/bg.po: Added Bulgarian translation.

Original commit message from CVS:
translated by: Alexander Shopov <ash@contact.bg>
* po/bg.po:
Added Bulgarian translation.

16 years agofix header and comments
Thomas Vander Stichele [Sat, 22 Sep 2007 08:12:57 +0000 (08:12 +0000)]
fix header and comments

Original commit message from CVS:
fix header and comments

16 years agogst/rtp/gstrtpamrdepay.c: Set outgoing packet duration because we can. Fixes #478244...
Wim Taymans [Fri, 21 Sep 2007 11:34:34 +0000 (11:34 +0000)]
gst/rtp/gstrtpamrdepay.c: Set outgoing packet duration because we can. Fixes #478244 some more.

Original commit message from CVS:
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_process):
Set outgoing packet duration because we can. Fixes #478244 some more.

16 years agoext/cairo/gsttextoverlay.c: Add info about static leak.
Stefan Kost [Thu, 20 Sep 2007 13:35:34 +0000 (13:35 +0000)]
ext/cairo/gsttextoverlay.c: Add info about static leak.

Original commit message from CVS:
* ext/cairo/gsttextoverlay.c:
Add info about static leak.
* tests/check/Makefile.am:
* tests/check/generic/states.c:
Improved state change unit test.

16 years agoIgnore registries in any format.
Stefan Kost [Wed, 19 Sep 2007 18:19:49 +0000 (18:19 +0000)]
Ignore registries in any format.

Original commit message from CVS:
* docs/plugins/.cvsignore:
* tests/check/.cvsignore:
Ignore registries in any format.

16 years agogst/rtp/gstrtpL16pay.c: Removed some unused code.
Wim Taymans [Wed, 19 Sep 2007 16:24:09 +0000 (16:24 +0000)]
gst/rtp/gstrtpL16pay.c: Removed some unused code.

Original commit message from CVS:
* gst/rtp/gstrtpL16pay.c: (gst_rtp_L16_pay_handle_buffer):
Removed some unused code.
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_handle_buffer):
* gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_handle_buffer):
* gst/rtp/gstrtpmp2tpay.c: (gst_rtp_mp2t_pay_handle_buffer):
* gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_handle_buffer):
* gst/rtp/gstrtptheorapay.c: (gst_rtp_theora_pay_init_packet),
(gst_rtp_theora_pay_flush_packet):
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_flush_packet):
Try to preserve the incomming buffer duration on the outgoing
packets. Fixes #478244.

16 years agoext/taglib/: Work around compiler warnings with g++-4.2 when assigning a string const...
Tim-Philipp Müller [Wed, 19 Sep 2007 10:22:40 +0000 (10:22 +0000)]
ext/taglib/: Work around compiler warnings with g++-4.2 when assigning a string constant to a gchar * (partially fixe...

Original commit message from CVS:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstid3v2mux.cc:
Work around compiler warnings with g++-4.2 when assigning a
string constant to a gchar * (partially fixes #478092).

16 years agoconfigure.ac: We require core CVS now for gst_base_src_set_do_timestamp().
Tim-Philipp Müller [Tue, 18 Sep 2007 16:44:46 +0000 (16:44 +0000)]
configure.ac: We require core CVS now for gst_base_src_set_do_timestamp().

Original commit message from CVS:
* configure.ac:
We require core CVS now for gst_base_src_set_do_timestamp().

16 years agogst/spectrum/: Handling window resize.
Stefan Kost [Tue, 18 Sep 2007 13:55:06 +0000 (13:55 +0000)]
gst/spectrum/: Handling window resize.

Original commit message from CVS:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
Handling window resize.

16 years agoChangeLog: Add missing newline.
Stefan Kost [Tue, 18 Sep 2007 11:45:06 +0000 (11:45 +0000)]
ChangeLog: Add missing newline.

Original commit message from CVS:
* ChangeLog:
Add missing newline.
* gst/librfb/rfbdecoder.c:
Fix the build (missing stdlib.h).
* gst/spectrum/gstspectrum.c:
* gst/spectrum/gstspectrum.h:
Use basetransform segment so that it is correctly managed on flushes
and start/stop. Report message timestamp as stream time, which is what
an application can understand. (Yes these are adapted from wim recent
level element changes)

16 years agogst/: Fix compiler warnings shown with Forte.
Jan Schmidt [Mon, 17 Sep 2007 17:35:13 +0000 (17:35 +0000)]
gst/: Fix compiler warnings shown with Forte.

Original commit message from CVS:
* gst/audiofx/audiodynamic.c: (gst_audio_dynamic_class_init):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
(new_session_pad), (request_pt_map), (gst_rtspsrc_do_stream_eos),
(gst_rtspsrc_loop_interleaved), (gst_rtspsrc_parse_rtpinfo),
(gst_rtspsrc_handle_message):
Fix compiler warnings shown with Forte.

16 years agogst/rtsp/gstrtspsrc.c: Give meaningfull error when all streams failed to configure...
Wim Taymans [Mon, 17 Sep 2007 02:05:14 +0000 (02:05 +0000)]
gst/rtsp/gstrtspsrc.c: Give meaningfull error when all streams failed to configure for some reason.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_setup_streams),
(gst_rtspsrc_dup_printf):
Give meaningfull error when all streams failed to configure for some
reason.

16 years agogst/rtp/README: Update README with the design for synchronisation rules of RTP on...
Wim Taymans [Sun, 16 Sep 2007 19:13:58 +0000 (19:13 +0000)]
gst/rtp/README: Update README with the design for synchronisation rules of RTP on sender and receiver.

Original commit message from CVS:
* gst/rtp/README:
Update README with the design for synchronisation rules of RTP on
sender and receiver.

16 years agogst/wavparse/gstwavparse.c: Don't push EOS from the chain function, the element drivi...
Sebastian Dröge [Fri, 14 Sep 2007 09:40:49 +0000 (09:40 +0000)]
gst/wavparse/gstwavparse.c: Don't push EOS from the chain function, the element driving the pipeline is responsible f...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop),
(gst_wavparse_chain):
Don't push EOS from the chain function, the element
driving the pipeline is responsible for this. The bug
this was meant to fix seems to be queue not forwarding
EOS in all cases (see #476514).

16 years agogst/level/gstlevel.*: Use basetransform segment so that it is correctly managed on...
Wim Taymans [Thu, 13 Sep 2007 17:31:16 +0000 (17:31 +0000)]
gst/level/gstlevel.*: Use basetransform segment so that it is correctly managed on flushes and start/stop.

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_class_init), (gst_level_start),
(gst_level_transform_ip):
* gst/level/gstlevel.h:
Use basetransform segment so that it is correctly managed on flushes and
start/stop.
Report message timestamp as stream time, which is what an application
can understand.

16 years agoUpdate my mail address.
Sebastian Dröge [Thu, 13 Sep 2007 15:04:15 +0000 (15:04 +0000)]
Update my mail address.

Original commit message from CVS:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstapev2mux.h:
* ext/taglib/gsttaglibmux.c:
* tests/check/elements/apev2mux.c:
Update my mail address.

16 years agogst/wavparse/gstwavparse.c: Add EOS logic for the push-based mode too. Fixes #476514.
Sebastian Dröge [Thu, 13 Sep 2007 12:37:56 +0000 (12:37 +0000)]
gst/wavparse/gstwavparse.c: Add EOS logic for the push-based mode too. Fixes #476514.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_eos),
(gst_wavparse_loop), (gst_wavparse_chain):
Add EOS logic for the push-based mode too. Fixes #476514.

16 years agogst/law/: Fix law encoder timestamps.
Wim Taymans [Wed, 12 Sep 2007 22:01:59 +0000 (22:01 +0000)]
gst/law/: Fix law encoder timestamps.

Original commit message from CVS:
* gst/law/alaw-encode.c: (gst_alawenc_init), (gst_alawenc_chain):
* gst/law/alaw-encode.h:
* gst/law/mulaw-encode.c: (gst_mulawenc_init),
(gst_mulawenc_chain):
* gst/law/mulaw-encode.h:
Fix law encoder timestamps.

16 years agoext/gconf/gstgconfaudiosink.c: Fix warning when building without debug.
Stefan Kost [Wed, 12 Sep 2007 09:13:39 +0000 (09:13 +0000)]
ext/gconf/gstgconfaudiosink.c: Fix warning when building without debug.

Original commit message from CVS:
* ext/gconf/gstgconfaudiosink.c:
Fix warning when building without debug.
* sys/oss/gstossmixertrack.c:
Use const like in alsamixertrack.c (fixes warnings).

16 years agogst/: Printf format fixes (#476128).
Peter Kjellerstedt [Wed, 12 Sep 2007 08:38:21 +0000 (08:38 +0000)]
gst/: Printf format fixes (#476128).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/app/gstappsink.c:
* gst/flv/gstflvdemux.c:
* gst/flv/gstflvparse.c:
* gst/interleave/deinterleave.c:
* gst/switch/gstswitch.c:
Printf format fixes (#476128).

16 years agosys/v4l2/v4l2src_calls.c: Fix framerate detection code some more.
Wim Taymans [Tue, 11 Sep 2007 15:37:55 +0000 (15:37 +0000)]
sys/v4l2/v4l2src_calls.c: Fix framerate detection code some more.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
Fix framerate detection code some more.
Handle the case where there is a weird step in the stepwise framerates.
Don't overwrite the min interval with the framerate, use a temp variable
instead.
Use max in the Continuous framerate intervals instead of step, which is
1 according to the docs. Fixes #475424.

16 years agogst/udp/gstudpsrc.c: Make udpsrc timestamp outgoing buffers based on when they were...
Wim Taymans [Mon, 10 Sep 2007 19:53:28 +0000 (19:53 +0000)]
gst/udp/gstudpsrc.c: Make udpsrc timestamp outgoing buffers based on when they were received.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create):
Make udpsrc timestamp outgoing buffers based on when they were received.
Also make it output a segment in time.

16 years agogst/avi/gstavidemux.c: Plug a little leak. Little code cleanups.
Stefan Kost [Mon, 10 Sep 2007 06:49:32 +0000 (06:49 +0000)]
gst/avi/gstavidemux.c: Plug a little leak. Little code cleanups.

Original commit message from CVS:
* gst/avi/gstavidemux.c:
Plug a little leak. Little code cleanups.

16 years agoconfigure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for old flac versions...
Tim-Philipp Müller [Sun, 9 Sep 2007 18:08:36 +0000 (18:08 +0000)]
configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for old flac versions, 's good for cross-compilation ...

Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for old
flac versions, 's good for cross-compilation karma.

16 years agogst/rtp/gstrtph263pay.c: Fix up header structure so that compilers don't add padding...
Haakon Sporsheim [Fri, 7 Sep 2007 18:04:41 +0000 (18:04 +0000)]
gst/rtp/gstrtph263pay.c: Fix up header structure so that compilers don't add padding between the structure fields, si...

Original commit message from CVS:
Patch by: Haakon Sporsheim  <haakon.sporsheim at tandberg com>
* gst/rtp/gstrtph263pay.c:
Fix up header structure so that compilers don't add padding
between the structure fields, since that would lead to us
sending RTP packets with broken headers (as is currently the
case when compiling with MSVC). Also see similar fixes in
libgstrtp in gst-plugins-base. (#474616; #471194)

16 years agosys/v4l2/v4l2src_calls.c: Don't overwrite our GValue with 0 but instead use the previ...
Wim Taymans [Fri, 7 Sep 2007 16:04:14 +0000 (16:04 +0000)]
sys/v4l2/v4l2src_calls.c: Don't overwrite our GValue with 0 but instead use the previously computed value. Fixes #471...

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
Don't overwrite our GValue with 0 but instead use the previously
computed value. Fixes #471823 some more.

16 years agogst/spectrum/gstspectrum.c: Use the correct parameter order for the memset calls.
Sebastian Dröge [Fri, 7 Sep 2007 15:54:38 +0000 (15:54 +0000)]
gst/spectrum/gstspectrum.c: Use the correct parameter order for the memset calls.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_start),
(gst_spectrum_transform_ip):
Use the correct parameter order for the memset calls.
Thanks to Christian Schaller for noticing.

16 years agodocs/plugins/gst-plugins-good-plugins.hierarchy: No tabs in this file please, or...
Tim-Philipp Müller [Thu, 6 Sep 2007 12:00:36 +0000 (12:00 +0000)]
docs/plugins/gst-plugins-good-plugins.hierarchy: No tabs in this file please, or gtk-doc will end up documenting rath...

Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
No tabs in this file please, or gtk-doc will end up documenting
rather absurd class hierarchies.

16 years agoext/gconf/gstswitchsink.c: If the new kid element fails to change state for some...
Tim-Philipp Müller [Thu, 6 Sep 2007 10:48:56 +0000 (10:48 +0000)]
ext/gconf/gstswitchsink.c: If the new kid element fails to change state for some reason forward the error message it ...

Original commit message from CVS:
* ext/gconf/gstswitchsink.c:
If the new kid element fails to change state for some reason
(e.g. esdsink not being able to connect to the sound server),
forward the error message it posted on the bus instead of just
posting a generic 'Internal state change error: please file a
bug' error message. Fixes #471364.

16 years agoPort GstSpectrum to GstAudioFilter and libgstfft, add support for int32, float and...
Sebastian Dröge [Thu, 6 Sep 2007 07:21:22 +0000 (07:21 +0000)]
Port GstSpectrum to GstAudioFilter and libgstfft, add support for int32, float and double, use floats for the message...

Original commit message from CVS:
* configure.ac:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-audiotest.c: (draw_spectrum),
(message_handler), (main):
* gst/spectrum/demo-osssrc.c: (draw_spectrum), (message_handler):
* gst/spectrum/gstspectrum.c: (gst_spectrum_base_init),
(gst_spectrum_class_init), (gst_spectrum_init),
(gst_spectrum_dispose), (gst_spectrum_set_property),
(gst_spectrum_get_property), (gst_spectrum_start),
(gst_spectrum_setup), (gst_spectrum_message_new),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Port GstSpectrum to GstAudioFilter and libgstfft, add support
for int32, float and double, use floats for the message contents,
average all FFTs done in one interval for better results, use
a better windowing function, allow posting the phase in the message
and actually do an FFT with the requested number of bands instead
of interpolating.
* tests/check/elements/spectrum.c: (GST_START_TEST),
(spectrum_suite):
Improve the units tests by checking for a 11025Hz sine wave
and add unit tests for all 4 supported sample types.

16 years agogst/qtdemux/: Don't assume tags are encoded as UTF-8 (#473670).
Tim-Philipp Müller [Wed, 5 Sep 2007 16:23:21 +0000 (16:23 +0000)]
gst/qtdemux/: Don't assume tags are encoded as UTF-8 (#473670).

Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c:
Don't assume tags are encoded as UTF-8 (#473670).

16 years agosys/v4l2/: Implement LATENCY queries in the crudest way possible so I don't have...
Tim-Philipp Müller [Wed, 5 Sep 2007 14:43:16 +0000 (14:43 +0000)]
sys/v4l2/: Implement LATENCY queries in the crudest way possible so I don't have to use sync=false any longer when te...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2src_calls.c:
Implement LATENCY queries in the crudest way possible so I don't
have to use sync=false any longer when testing with videosinks.

16 years agoconfigure.ac: Fix build.
Tim-Philipp Müller [Wed, 5 Sep 2007 09:25:23 +0000 (09:25 +0000)]
configure.ac: Fix build.

Original commit message from CVS:
* configure.ac:
Fix build.

16 years agosys/v4l2/v4l2src_calls.c: Add some more debugging in the framerate function.
Wim Taymans [Wed, 5 Sep 2007 00:12:46 +0000 (00:12 +0000)]
sys/v4l2/v4l2src_calls.c: Add some more debugging in the framerate function.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c:
(gst_v4l2src_probe_caps_for_format_and_size):
Add some more debugging in the framerate function.
Iterate stepwise framerate up to and _including_ the max and if nothing
was added to the list, add a dummy 0/1 to 100/1 framerate so that we
don't end up with an empty list.

16 years agogst/udp/gstmultiudpsink.c: Add property do configure destination address/port pairs
Wim Taymans [Tue, 4 Sep 2007 22:42:21 +0000 (22:42 +0000)]
gst/udp/gstmultiudpsink.c: Add property do configure destination address/port pairs

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init),
(gst_multiudpsink_set_clients_string),
(gst_multiudpsink_get_clients_string),
(gst_multiudpsink_set_property), (gst_multiudpsink_get_property),
(gst_multiudpsink_init_send), (gst_multiudpsink_add_internal),
(gst_multiudpsink_add), (gst_multiudpsink_clear_internal),
(gst_multiudpsink_clear):
Add property do configure destination address/port pairs
API:GstMultiUDPSink::clients

16 years agotests/examples/: Added some RTP example scripts for sending and receiving RTP streams.
Wim Taymans [Tue, 4 Sep 2007 18:30:22 +0000 (18:30 +0000)]
tests/examples/: Added some RTP example scripts for sending and receiving RTP streams.

Original commit message from CVS:
* tests/examples/Makefile.am:
* tests/examples/rtp/Makefile.am:
* tests/examples/rtp/client-H263p-AMR.sh:
* tests/examples/rtp/client-H263p-PCMA.sdp:
* tests/examples/rtp/client-H263p-PCMA.sh:
* tests/examples/rtp/client-H264-PCMA.sdp:
* tests/examples/rtp/client-H264-PCMA.sh:
* tests/examples/rtp/client-PCMA.sh:
* tests/examples/rtp/server-VTS-H263p-ATS-PCMA.sh:
* tests/examples/rtp/server-alsasrc-PCMA.sh:
* tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh:
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Added some RTP example scripts for sending and receiving RTP streams.

16 years agosys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also compute...
Wim Taymans [Tue, 4 Sep 2007 16:40:05 +0000 (16:40 +0000)]
sys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also compute the expected GStreamer output siz...

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2_get_caps_info),
(gst_v4l2src_set_caps), (gst_v4l2src_get_mmap):
Restructure the setcaps function so that we can also compute the
expected GStreamer output size of the video frames.
Set frame_byte_size correctly so that read-based devices have a chance
of working correctly.
When grabbing a frame, discard frames that are not of the expected size.
Some cameras don't output the right framesize for the first buffer.
Try only a couple of times to get a valid frame, else error out.
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_get_input):
Add some more debug info when scanning the device.
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_new),
(gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
(gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init):
Add some more debug info when dequeing a frame.