summaryrefslogtreecommitdiffstats
path: root/gst
Commit message (Collapse)AuthorAgeFilesLines
* gst/qtdemux/: Add suppport for theora in quicktime according to XiphQT.Wim Taymans2007-11-153-0/+148
| | | | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (gst_qtdemux_prepare_current_sample), (gst_qtdemux_loop_state_movie), (qtdemux_parse_theora_extension), (qtdemux_parse_node), (qtdemux_parse_trak), (qtdemux_video_caps): * gst/qtdemux/qtdemux_fourcc.h: * gst/qtdemux/qtdemux_types.c: Add suppport for theora in quicktime according to XiphQT.
* gst/id3demux/: We don't want the same string multiple times in a tag list ↵Tim-Philipp Müller2007-11-143-13/+16
| | | | | | | | | | | | for the same tag ever, for any tag, not jus... Original commit message from CVS: * gst/id3demux/id3tags.c: * gst/id3demux/id3tags.h: * gst/id3demux/id3v2frames.c: (id3v2_tag_to_taglist): We don't want the same string multiple times in a tag list for the same tag ever, for any tag, not just for GST_TAG_GENRE, so make sure this doesn't happen and remove special-case code for GST_TAG_GENRE.
* gst/rtsp/gstrtspsrc.c: Don't leak sdp message contents (fixes #496773).Tim-Philipp Müller2007-11-142-0/+3
| | | | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open): Don't leak sdp message contents (fixes #496773). * gst/udp/gstudpsink.c: (gst_udpsink_finalize): Don't leak URI string.
* gst/rtsp/gstrtspsrc.c: Don't leak event, don't leak range (fixes #496752).Tommi Myöhänen2007-11-141-0/+3
| | | | | | | | 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_handle_src_event), (gst_rtspsrc_parse_range): Don't leak event, don't leak range (fixes #496752).
* gst/alpha/gstalphacolor.c: Detect RGBA/BGRA correctly on little endian systems.Arek Korbik2007-11-141-1/+1
| | | | | | | | Original commit message from CVS: Patch by: Arek Korbik <arkadini@gmail.com> * gst/alpha/gstalphacolor.c: (gst_alpha_color_set_caps): Detect RGBA/BGRA correctly on little endian systems.
* gst/matroska/: Extract palette data for dvd subpicture streams and send it ↵Mark Nauwelaerts2007-11-132-0/+68
| | | | | | | | | | | | | | downstream as custom gstreamer dvd event (... Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw skynet be> * gst/matroska/matroska-demux.c: (gst_matroska_demux_push_dvd_clut_change_event), (gst_matroska_demux_parse_blockgroup_or_simpleblock), (gst_matroska_demux_subtitle_caps): * gst/matroska/matroska-ids.h: Extract palette data for dvd subpicture streams and send it downstream as custom gstreamer dvd event (fixes #453417).
* gst/: Return the result in _activate_pull(). Don't ref element there.Stefan Kost2007-11-132-15/+13
| | | | | | | Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/wavparse/gstwavparse.c: Return the result in _activate_pull(). Don't ref element there.
* gst/wavparse/gstwavparse.c: Ref the element when we should, but not when we ↵Stefan Kost2007-11-131-13/+10
| | | | | | | | | | | its not needed. Reflow the event_handling... Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers), (gst_wavparse_pad_convert), (gst_wavparse_pad_query), (gst_wavparse_srcpad_event): Ref the element when we should, but not when we its not needed. Reflow the event_handling to not leak the event.
* gst/replaygain/rganalysis.c: Avoid slowdown from denormals when processing ↵René Stadler2007-11-121-1/+4
| | | | | | | | | | near-silence input data. Original commit message from CVS: Patch by: René Stadler <mail at renestadler dot de> * gst/replaygain/rganalysis.c: (yule_filter): Avoid slowdown from denormals when processing near-silence input data. Spotted by Gabriel Bouvigne. Fixes #494499.
* gst/qtdemux/qtdemux.c: Properly free QTDemuxSamples array.Edward Hervey2007-11-121-4/+8
| | | | | | | | | Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state), (qtdemux_parse_samples): Properly free QTDemuxSamples array. Protect table write with a sensible check, some files apparently DO contain stts values starting with 0 :(
* gst/: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that ↵Stefan Kost2007-11-122-2/+12
| | | | | | | | | | previous commit messed up. Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/qtdemux/qtdemux.c: Drop EOS in _handle_src_event(). Fix the refcount in qtdemux that previous commit messed up.
* gst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the ↵Stefan Kost2007-11-122-15/+11
| | | | | | | | | | element when we should, but not when we its no... Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/qtdemux/qtdemux.c: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when we should, but not when we its not needed.
* gst/: Change the meaning of the magnitude values given in theSebastian Dröge2007-11-111-14/+10
| | | | | | | | | | | Original commit message from CVS: * gst/equalizer/demo.c: (draw_spectrum): * gst/spectrum/demo-audiotest.c: (draw_spectrum): * gst/spectrum/demo-osssrc.c: (draw_spectrum): * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init): Change the meaning of the magnitude values given in the GstMessages by spectrum to decibel instead of decibel+threshold.
* gst/equalizer/: And continue to update docs. Also include some sample code ↵Sebastian Dröge2007-11-113-7/+60
| | | | | | | | | | | for the n-band equalizer in the docs. Original commit message from CVS: * gst/equalizer/gstiirequalizer10bands.c: * gst/equalizer/gstiirequalizer3bands.c: * gst/equalizer/gstiirequalizernbands.c: And continue to update docs. Also include some sample code for the n-band equalizer in the docs.
* gst/equalizer/: Update docs and property ranges to the real values.Sebastian Dröge2007-11-113-31/+30
| | | | | | | | | | Original commit message from CVS: * gst/equalizer/gstiirequalizer10bands.c: (gst_iir_equalizer_10bands_class_init): * gst/equalizer/gstiirequalizer3bands.c: (gst_iir_equalizer_3bands_class_init): * gst/equalizer/gstiirequalizernbands.c: Update docs and property ranges to the real values.
* gst/spectrum/gstspectrum.c: Now do the scaling right for real. Also ↵Sebastian Dröge2007-11-091-4/+3
| | | | | | | | | initialize a previously uninitialized variable. Original commit message from CVS: * gst/spectrum/gstspectrum.c: Now do the scaling right for real. Also initialize a previously uninitialized variable.
* gst/wavparse/gstwavparse.c: Return FALSE if we can't handle a query instead ↵Stefan Kost2007-11-081-34/+35
| | | | | | | | | of changing the format. Ignore fact when ... Original commit message from CVS: * gst/wavparse/gstwavparse.c: Return FALSE if we can't handle a query instead of changing the format. Ignore fact when dealing with mpeg audio.
* gst/spectrum/demo-audiotest.c: Use autoaudiosink instead of alsasink and use ↵Sebastian Dröge2007-11-061-7/+11
| | | | | | | | | | 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.
* gst/equalizer/: Allow setting 0 as bandwidth and handle this correctly.Sebastian Dröge2007-11-032-7/+22
| | | | | | | | | | | | | | 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.
* Fix includes for MSVC and GLib-2.14.0 (#492388).Ole André Vadla Ravnås2007-11-027-24/+36
| | | | | | | | | | | | | | | 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.
* gst/law/mulaw-decode.*: Calculate outgoing buffer duration if incoming ↵Edward Hervey2007-11-022-1/+11
| | | | | | | | | | | 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.
* gst/equalizer/: Add small demo application based on the spectrum demo ↵Sebastian Dröge2007-10-302-12/+36
| | | | | | | | | | | | | | | | | 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.
* gst/equalizer/gstiirequalizer.c: Replace filters with a bit better filters ↵Sebastian Dröge2007-10-301-48/+70
| | | | | | | | | | | | | | | | | | 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.
* gst/qtdemux/qtdemux.c: Smarter combine_flow code that also deals with ↵Wim Taymans2007-10-301-11/+30
| | | | | | | | | | | 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.
* gst/interleave/interleave.c: Let's not call every request pad we create ↵Tim-Philipp Müller2007-10-271-12/+15
| | | | | | | | | | | | | "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.
* Improve documentation, write some tests for multifilesrc/sink for upcoming ↵David Schleef2007-10-253-60/+79
| | | | | | | | | | | | | ->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.
* gst/rtsp/gstrtspsrc.c: Fix race when pausing a RTSP stream in interleaved.Tommi Myöhänen2007-10-221-0/+17
| | | | | | | | 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.
* gst/rtp/gstrtpmp4vpay.c: Use correct unref function for buffers. #488844.Peter Kjellerstedt2007-10-221-1/+1
| | | | | | | 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.
* Add some debug and sync tests with the fix.Stefan Kost2007-10-191-0/+2
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: * tests/check/elements/avimux.c: Add some debug and sync tests with the fix.
* gst/udp/gstudpsrc.c: When the socket is used by the app for other purposes, ↵Laurent Glayal2007-10-181-8/+6
| | | | | | | | | | | 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.
* gst/rtp/gstrtph264pay.c: Set marker bit correctly.Anders Skargren2007-10-181-2/+1
| | | | | | | 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.
* gst/equalizer/gstiirequalizer.c: Add a missing break.Sebastian Dröge2007-10-181-0/+1
| | | | | | | Original commit message from CVS: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_band_set_property): Add a missing break.
* gst/equalizer/gstiirequalizer.*: Move bandwidth property to the separate ↵Sebastian Dröge2007-10-182-79/+66
| | | | | | | | | | | | | | 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.
* gst/rtsp/gstrtspsrc.c: Use allowed name for the GstStructure.Wim Taymans2007-10-171-1/+1
| | | | | | Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_open): Use allowed name for the GstStructure.
* Use new gst_bus_pop_filtered().Tim-Philipp Müller2007-10-171-7/+3
| | | | | | | Original commit message from CVS: * ext/gconf/gstswitchsink.c: * gst/autodetect/gstautoaudiosink.c: Use new gst_bus_pop_filtered().
* gst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP ↵Jason Kivlighn2007-10-111-0/+57
| | | | | | | | | | | | | | 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.
* gst/rtsp/gstrtspsrc.c: Fix compiler warning by using GST_CLOCK_TIME_NONE to ↵Jan Schmidt2007-10-081-1/+1
| | | | | | | | | 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.
* gst/rtsp/gstrtspsrc.c: More seeking fixes, mostly passing around the new ↵Wim Taymans2007-10-081-38/+45
| | | | | | | | | | | | | | | 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.
* gst/rtp/gstrtpmp4adepay.c: Fix caps as to not confuse autopluggers.Wim Taymans2007-10-081-0/+1
| | | | | | Original commit message from CVS: * gst/rtp/gstrtpmp4adepay.c: Fix caps as to not confuse autopluggers.
* gst/id3demux/: Port ID3 tag demuxer over to the new GstTagDemux in -base ↵Tim-Philipp Müller2007-10-065-1171/+123
| | | | | | | | | | | | | | (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).
* gst/apetag/: Port APE tag demuxer over to the new GstTagDemux in -base.Tim-Philipp Müller2007-10-065-1585/+14
| | | | | | | | | | 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.
* gst/rtsp/gstrtspsrc.c: Improve flushing behaviour.Wim Taymans2007-10-051-17/+93
| | | | | | | | | | | | | | 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.
* gst/rtp/: Add log category.Stefan Kost2007-10-042-0/+12
| | | | | | | Original commit message from CVS: * gst/rtp/gstrtpgsmdepay.c: * gst/rtp/gstrtpgsmpay.c: Add log category.
* gst/avi/gstavimux.*: Also save codec data for audio streams. Fixes #482495.Stefan Kost2007-10-022-6/+37
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: * gst/avi/gstavimux.h: Also save codec data for audio streams. Fixes #482495.
* gst/avi/gstavimux.c: Fix "Index entry has invalid stream nr 1".Stefan Kost2007-10-021-10/+24
| | | | | | | 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).
* gst/rtsp/gstrtspsrc.*: Parse bandwidth modifiers, they are not yet ↵Wim Taymans2007-10-012-0/+56
| | | | | | | | | | | | 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.
* gst/rtsp/gstrtspsrc.c: Use shiny new function in -base to get the default ↵Wim Taymans2007-10-011-50/+22
| | | | | | | | | | 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.
* gst/rtsp/gstrtspsrc.*: In TCP mode, only timestamp the first buffer. TCP is ↵Wim Taymans2007-09-282-9/+22
| | | | | | | | | | | | 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.
* gst/matroska/matroska-demux.c: Fix setting the discont flag on the first ↵Tim-Philipp Müller2007-09-271-0/+6
| | | | | | | | | | | 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).
* gst/rtp/gstrtpmp4vpay.*: Free the config string. Fixes #480707.Antoine Tremblay2007-09-272-7/+18
| | | | | | | | | | | 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.