summaryrefslogtreecommitdiff
path: root/gst-libs
AgeCommit message (Collapse)AuthorFilesLines
2006-02-14gst-libs/gst/audio/gstringbuffer.c: Add some compiler G_(UN_)LIKELY help.Wim Taymans1-22/+36
Original commit message from CVS: * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_pause_unlocked), (gst_ring_buffer_delay), (gst_ring_buffer_samples_done), (wait_segment), (gst_ring_buffer_commit), (gst_ring_buffer_clear): Add some compiler G_(UN_)LIKELY help. SIGNAL the ringbuffer waiters when going to PAUSED as well to make sure they can exit their functions. Should fix #330748
2006-02-13gst-libs/gst/audio/gstbaseaudiosink.c: Always sync on first sample we ↵Wim Taymans1-1/+1
receive when starting. Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_get_time), (gst_base_audio_sink_preroll), (gst_base_audio_sink_render), (gst_base_audio_sink_change_state): Always sync on first sample we receive when starting.
2006-02-13gst-libs/gst/cdda/gstcddabasesrc.c: No need to push an EOS event here, ↵Tim-Philipp Müller1-1/+1
GstBaseSrc will do that for us when we return ... Original commit message from CVS: * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create): No need to push an EOS event here, GstBaseSrc will do that for us when we return FLOW_UNEXPECTED.
2006-02-12gst-libs/gst/audio/gstbaseaudiosink.c: Use scale functions when possible.Wim Taymans1-19/+38
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_get_time), (gst_base_audio_sink_setcaps), (gst_base_audio_sink_drain), (gst_base_audio_sink_preroll), (gst_base_audio_sink_render), (gst_base_audio_sink_change_state): Use scale functions when possible. Fix error messages. Free clockid when after waiting for EOS. Use G_(UN_)LIKLY when it makes sense. Fix sample clipping bug found by Arwed v. Merkatz fixes #330789.
2006-02-10gst-libs/gst/riff/riff-media.c: Added FLV1 <==> ↵Edward Hervey1-0/+8
'video/x-flash-video,flvversion=1' conversion. Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_video_template_caps): Added FLV1 <==> 'video/x-flash-video,flvversion=1' conversion. Also added the caps to the default set of riff video caps.
2006-02-09gst-libs/gst/rtp/gstbasertppayload.c: update seqnum before setting it on the ↵Thomas Vander Stichele1-1/+5
packet; this makes sure that the timesta... Original commit message from CVS: * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_setcaps), (gst_basertppayload_push): update seqnum before setting it on the packet; this makes sure that the timestamp and seqnum properties match after pushing a buffer
2006-02-09kapowpowpowAndy Wingo1-12/+20
Original commit message from CVS: kapowpowpow
2006-02-09gst-libs/gst/audio/gstringbuffer.cAndy Wingo1-20/+12
Original commit message from CVS: 2006-02-09 Andy Wingo <wingo@pobox.com> * gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_samples_done): Cast to guint64, fixes an integer overflow after 13.5 hours of recording. Kapow! * ext/alsa/gstalsasrc.c (gst_alsasrc_delay): Clamp the delay to the buffer size -- we don't care about underrun/overrun reporting right now, just need to return a useful value.
2006-02-07gst-libs/gst/tag/gstvorbistag.c: Make sure we called ↵Tim-Philipp Müller1-0/+4
gst_tag_register_musicbrainz_tags() before possibly mapping a vo... Original commit message from CVS: * gst-libs/gst/tag/gstvorbistag.c: (gst_tag_from_vorbis_tag), (gst_tag_to_vorbis_tag): Make sure we called gst_tag_register_musicbrainz_tags() before possibly mapping a vorbiscomment string from/to a musicbrainz tag.
2006-02-05gst-libs/gst/tag/gstid3tag.c: Add mapping for ID3 International Standard ↵Jan Schmidt1-0/+1
Recording Code tag "TSRC" Original commit message from CVS: * gst-libs/gst/tag/gstid3tag.c: Add mapping for ID3 International Standard Recording Code tag "TSRC"
2006-02-05Split libgsttag docs into multiple sections.Tim-Philipp Müller3-5/+32
Original commit message from CVS: * docs/libs/gst-plugins-base-libs-docs.sgml: * docs/libs/gst-plugins-base-libs-sections.txt: * gst-libs/gst/tag/gstid3tag.c: * gst-libs/gst/tag/gstvorbistag.c: * gst-libs/gst/tag/tags.c: Split libgsttag docs into multiple sections.
2006-02-05Add libgsttag to the docs.Tim-Philipp Müller4-7/+34
Original commit message from CVS: * docs/libs/Makefile.am: * docs/libs/gst-plugins-base-libs-docs.sgml: * docs/libs/gst-plugins-base-libs-sections.txt: * gst-libs/gst/tag/gstid3tag.c: (gst_tag_from_id3_tag): * gst-libs/gst/tag/gstvorbistag.c: * gst-libs/gst/tag/tag.h: * gst-libs/gst/tag/tags.c: Add libgsttag to the docs.
2006-02-05gst-libs/gst/tag/gstvorbistag.c: Add comment about LANGUAGE tag ↵Tim-Philipp Müller1-0/+4
inconsistency (we want Original commit message from CVS: * gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add): Add comment about LANGUAGE tag inconsistency (we want ISO-639-1, but extract three-letter identifiers?) * po/POTFILES.in: Add two translatable files.
2006-02-05gst-libs/gst/tag/: Forward-port some tags stuff from the 0.8 branch. This is ↵Tim-Philipp Müller4-7/+128
mostly the addition of musicbrainz tags ... Original commit message from CVS: * gst-libs/gst/tag/Makefile.am: * gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add): * gst-libs/gst/tag/tag.h: * gst-libs/gst/tag/tags.c: (gst_tag_register_musicbrainz_tags_internal), (gst_tag_register_musicbrainz_tags): Forward-port some tags stuff from the 0.8 branch. This is mostly the addition of musicbrainz tags and their mapping to vorbistags, and a vorbistag mapping of the language tag.
2006-02-02gst-libs/gst/audio/gstbaseaudiosink.c: Ugh.. getting late I guess...Wim Taymans1-1/+1
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_provide_clock): Ugh.. getting late I guess...
2006-02-02gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock when we ↵Wim Taymans1-4/+25
are not negotiated since we might not be ... Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_provide_clock), (gst_base_audio_sink_set_property), (gst_base_audio_sink_get_property), (gst_base_audio_sink_render): Don't try to provide a clock when we are not negotiated since we might not be able to make it run.
2006-02-02gst-libs/gst/audio/TODO: Updated.Wim Taymans2-2/+33
Original commit message from CVS: * gst-libs/gst/audio/TODO: Updated. * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_drain), (gst_base_audio_sink_event): On EOS, wait till the last sample is played before posting EOS.
2006-02-02gst-libs/gst/rtp/gstbasertpdepayload.c: setting queue_delay to zero. Also ↵Kai Vehmanen1-14/+27
avoid thread being started if queue_delay i... Original commit message from CVS: 2006-02-01 Philippe Kalaf <burger at speedy dot org> * gst-libs/gst/rtp/gstbasertpdepayload.c: Patch by Kai Vehmanen : Adds ability to enable newsegment bypass by setting queue_delay to zero. Also avoid thread being started if queue_delay is zero.
2006-02-01gst/: Pass unhandled queries to the parent class's query function.Tim-Philipp Müller1-4/+4
Original commit message from CVS: * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_query), (gst_cdda_base_src_handle_event): * gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_query): Pass unhandled queries to the parent class's query function.
2006-01-30gst-libs/gst/audio/gstaudiosink.c: Implement pause that does not wait for ↵Wim Taymans3-16/+67
completion. Original commit message from CVS: * gst-libs/gst/audio/gstaudiosink.c: (gst_audioringbuffer_class_init), (gst_audioringbuffer_release), (gst_audioringbuffer_pause): Implement pause that does not wait for completion. * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render), (gst_base_audio_sink_change_state): Don't drop buffers when going to PAUSED but perform preroll on remaining samples now that core base class supports this. * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_release), (gst_ring_buffer_pause_unlocked), (gst_ring_buffer_stop), (gst_ring_buffer_commit): Pause should not signal waiters. Implement return value of _commit correctly.
2006-01-29gst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)Sébastien Moutte2-2/+3
Original commit message from CVS: * gst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES) * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render) use of gst_guint64_to_gdouble to be compliant with vs6 * gst/playback/gstdecodebin.c: (try_to_link_1) * gst/videorate/videorate.c: (gst_video_rate_blank_data) use of G_GINT64_CONSTANT for int64 constants * win32/common/libgstinterfaces.def: export some symbols (gst_mixer_get_type,gst_mixer_track_get_type) * win32/vs6: update and add new project files
2006-01-28gst-libs/gst/audio/gstringbuffer.c: Make gcc-4.1 happy (part of #327357).Tim-Philipp Müller1-11/+16
Original commit message from CVS: * gst-libs/gst/audio/gstringbuffer.c: (build_linear_format): Make gcc-4.1 happy (part of #327357).
2006-01-25gst-libs/gst/audio/gstbaseaudiosink.c: Undo previous commit, it breaks ↵Wim Taymans1-7/+1
resume after pause. Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render), (gst_base_audio_sink_change_state): Undo previous commit, it breaks resume after pause.
2006-01-25gst-libs/gst/audio/gstbaseaudiosink.c: Improve debugging.Wim Taymans2-56/+109
Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_setcaps), (gst_base_audio_sink_event), (gst_base_audio_sink_preroll), (gst_base_audio_sink_render): Improve debugging. Post error when caps cannot be parsed. Resync on discontinuity in the stream. Clip samples to segment boundaries. return WRONG_STATE sooner when we are flushing. * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init), (gst_base_audio_src_get_time), (gst_base_audio_src_create): Make audiosrc operate in TIME. Set TIMESTAMP and DURATION on buffers.
2006-01-23GCC 2.95 fixes (#328263).Jens Granseuer1-4/+8
Original commit message from CVS: 2006-01-23 Andy Wingo <wingo@pobox.com> * ext/alsa/gstalsasink.c: * gst-libs/gst/rtp/gstbasertpdepayload.c: (gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_add_to_queue), (gst_base_rtp_depayload_queue_release): GCC 2.95 fixes (#328263). Patch by: Jens Granseuer <jensgr at gmx dot net>
2006-01-22gst-libs/gst/interfaces/xoverlay.c: Fix prepare-xwindow-id code example in ↵Tim-Philipp Müller1-4/+5
the docs - we need to ignore all messages ... Original commit message from CVS: * gst-libs/gst/interfaces/xoverlay.c: Fix prepare-xwindow-id code example in the docs - we need to ignore all messages that aren't element messages as well.
2006-01-17gst-libs/gst/audio/gstbaseaudiosink.c: Fix playback of non-synchronised ↵Jan Schmidt1-3/+4
streams by assuming a rate of 1.0 instead of ... Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render): Fix playback of non-synchronised streams by assuming a rate of 1.0 instead of a random one. Makes this work again: gst-launch filesrc location=raw_audio.file ! 'audio/x-raw-int, endianness=(int)4321, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)2' ! audioconvert ! audioresample ! alsasink
2006-01-14Add docs for mixerutils stuff.Tim-Philipp Müller2-0/+46
Original commit message from CVS: * docs/libs/gst-plugins-base-libs-docs.sgml: * docs/libs/gst-plugins-base-libs-sections.txt: * gst-libs/gst/audio/mixerutils.c: * gst-libs/gst/audio/mixerutils.h: Add docs for mixerutils stuff.
2006-01-13gst-libs/gst/audio/mixerutils.c: actually save the element we createThomas Vander Stichele1-2/+2
Original commit message from CVS: * gst-libs/gst/audio/mixerutils.c: (gst_audio_mixer_filter_do_filter): actually save the element we create
2006-01-12gst-libs/gst/cdda/gstcddabasesrc.c: No need to post a tag message on the bus ↵Tim-Philipp Müller1-7/+11
when seeking within the same track, only... Original commit message from CVS: * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_handle_track_seek): No need to post a tag message on the bus when seeking within the same track, only post it when the current track changes.
2006-01-11gst-libs/gst/audio/gstringbuffer.c: Set depth and width for alaw/mulaw ↵Tim-Philipp Müller1-0/+4
(fixes #326601). Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_parse_caps): Set depth and width for alaw/mulaw (fixes #326601).
2006-01-10gst-libs/gst/audio/gstaudiosrc.c: Don't leak GCond in audio sources.Michael Smith1-0/+7
Original commit message from CVS: * gst-libs/gst/audio/gstaudiosrc.c: (gst_audioringbuffer_dispose): Don't leak GCond in audio sources.
2006-01-10gst-libs/gst/audio/gstringbuffer.*: Name (private) union, makes Forte ↵Tim-Philipp Müller2-7/+7
compiler happy (this time for real) (#324900). Original commit message from CVS: * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init), (gst_ring_buffer_set_flushing), (gst_ring_buffer_start), (gst_ring_buffer_pause), (wait_segment): * gst-libs/gst/audio/gstringbuffer.h: Name (private) union, makes Forte compiler happy (this time for real) (#324900).
2006-01-09gst-libs/gst/audio/Makefile.am: Link against libgstinterfaces, needed for ↵Tim-Philipp Müller1-1/+2
mixer and property probe stuff. Original commit message from CVS: * gst-libs/gst/audio/Makefile.am: Link against libgstinterfaces, needed for mixer and property probe stuff.
2006-01-09gst-libs/gst/Makefile.am: Edward Hervey1-1/+4
Original commit message from CVS: * gst-libs/gst/Makefile.am:
2006-01-09gst-libs/gst/audio/: Add gst_audio_default_registry_mixer_filter() utility ↵Tim-Philipp Müller3-1/+243
function. Original commit message from CVS: * gst-libs/gst/audio/Makefile.am: * gst-libs/gst/audio/mixerutils.c: (gst_audio_mixer_filter_do_filter), (gst_audio_mixer_filter_check_element), (gst_audio_mixer_filter_probe_feature), (element_factory_rank_compare_func), (gst_audio_default_registry_mixer_filter): * gst-libs/gst/audio/mixerutils.h: Add gst_audio_default_registry_mixer_filter() utility function.
2006-01-02gst-libs/gst/audio/gstringbuffer.*: Sun's Forte compiler doesn't seem to ↵Tim-Philipp Müller2-7/+7
like anonymous structs, so use same setup as... Original commit message from CVS: * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init), (gst_ring_buffer_set_flushing), (gst_ring_buffer_start), (gst_ring_buffer_pause), (wait_segment): * gst-libs/gst/audio/gstringbuffer.h: Sun's Forte compiler doesn't seem to like anonymous structs, so use same setup as in GstBaseSrc (fixes #324900).
2005-12-29gst-libs/gst/cdda/gstcddabasesrc.c: An integer is not a string. Fix access ↵Tim-Philipp Müller1-1/+2
to uninitialised variable. Original commit message from CVS: * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_update_duration), (gst_cdda_base_src_calculate_cddb_id): An integer is not a string. Fix access to uninitialised variable. * tests/check/Makefile.am: Add cddabasesrc unit test; also actually enable the vorbis test. * tests/check/generic/states.c: Blacklist new cd audio elements as well. * tests/check/libs/cddabasesrc.c: Unit test for GstCddaBaseSrc (discid calculation mostly).
2005-12-28docs/libs/: Add docs for libgstcdda/GstCddaBaseSrc.Tim-Philipp Müller1-3/+3
Original commit message from CVS: * docs/libs/Makefile.am: * docs/libs/gst-plugins-base-libs-docs.sgml: * docs/libs/gst-plugins-base-libs-sections.txt: * docs/libs/gst-plugins-base-libs.types: Add docs for libgstcdda/GstCddaBaseSrc. * gst-libs/gst/interfaces/mixertrack.h: Do one struct member per line with a semicolon at the end, that way even gtk-doc might parse it without complaining.
2005-12-28Add new libgstcdda with GstCddaBaseSrc class.Tim-Philipp Müller8-0/+2441
Original commit message from CVS: * configure.ac: * gst-libs/gst/Makefile.am: * gst-libs/gst/cdda/Makefile.am: * gst-libs/gst/cdda/base64.c: * gst-libs/gst/cdda/base64.h: * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_mode_get_type), (gst_cdda_base_src_base_init), (gst_cdda_base_src_class_init), (gst_cdda_base_src_init), (gst_cdda_base_src_finalize), (gst_cdda_base_src_set_property), (gst_cdda_base_src_get_property), (gst_cdda_base_src_get_track_from_sector), (gst_cdda_base_src_get_query_types), (gst_cdda_base_src_convert), (gst_cdda_base_src_query), (gst_cdda_base_src_is_seekable), (gst_cdda_base_src_do_seek), (gst_cdda_base_src_handle_track_seek), (gst_cdda_base_src_handle_event), (gst_cdda_base_src_uri_get_type), (gst_cdda_base_src_uri_get_protocols), (gst_cdda_base_src_uri_get_uri), (gst_cdda_base_src_uri_set_uri), (gst_cdda_base_src_uri_handler_init), (gst_cdda_base_src_setup_interfaces), (gst_cdda_base_src_add_track), (gst_cdda_base_src_update_duration), (cddb_sum), (gst_cddabasesrc_calculate_musicbrainz_discid), (lba_to_msf), (gst_cdda_base_src_calculate_cddb_id), (gst_cdda_base_src_add_tags), (gst_cdda_base_src_add_index_associations), (gst_cdda_base_src_set_index), (gst_cdda_base_src_get_index), (gst_cdda_base_src_track_sort_func), (gst_cdda_base_src_start), (gst_cdda_base_src_clear_tracks), (gst_cdda_base_src_stop), (gst_cdda_base_src_create): * gst-libs/gst/cdda/gstcddabasesrc.h: * gst-libs/gst/cdda/sha1.c: * gst-libs/gst/cdda/sha1.h: Add new libgstcdda with GstCddaBaseSrc class.
2005-12-20stop making fun of older compilersThomas Vander Stichele2-4/+4
Original commit message from CVS: stop making fun of older compilers
2005-12-20gst-libs/gst/audio/: update strings, values are in microseconds change the ↵Thomas Vander Stichele2-13/+30
default sink buffer time to something that... Original commit message from CVS: * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_class_init): * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_class_init): update strings, values are in microseconds change the default sink buffer time to something that is smaller (to help software volume mixing have a slightly lower delay) but still be acceptable on Wim's laptop
2005-12-20gst-libs/gst/riff/riff-media.c: Made a quack, forgot to add DUCK to the riff ↵Edward Hervey1-0/+1
video template. Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_template_caps): Made a quack, forgot to add DUCK to the riff video template.
2005-12-19ext/ogg/gstogmparse.c: Make sure pads are initialized correctly.Edward Hervey2-8/+163
Original commit message from CVS: * ext/ogg/gstogmparse.c: (gst_ogm_text_parse_base_init), (gst_ogm_parse_init), (gst_ogm_audio_parse_init), (gst_ogm_video_parse_init), (gst_ogm_text_parse_init), (gst_ogm_parse_chain): Make sure pads are initialized correctly. * gst-libs/gst/riff/riff-ids.h: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps), (gst_riff_create_video_template_caps): Add a whole bunch of FOURCC <=> MimeType. Extend the riff video pad template to support the newly added fourcc.
2005-12-18gst-libs/gst/video/gstvideosink.c: Add a debug category.Julien Moutte1-1/+10
Original commit message from CVS: 2005-12-18 Julien MOUTTE <julien@moutte.net> * gst-libs/gst/video/gstvideosink.c: (gst_video_sink_base_init), (gst_video_sink_get_type): Add a debug category.
2005-12-18gst-libs/gst/rtp/gstbasertpdepayload.c: Handle downstream newsegment by ↵Philippe Kalaf1-2/+35
sending our own newsegment before the next bu... Original commit message from CVS: 2005-12-17 Philippe Khalaf <burger@speedy.org> * gst-libs/gst/rtp/gstbasertpdepayload.c: (gst_base_rtp_depayload_init), (gst_base_rtp_depayload_handle_sink_event): Handle downstream newsegment by sending our own newsegment before the next buffer to be released. (#323900)
2005-12-18gst-libs/gst/rtp/gstbasertpdepayload.c: add queue delay to new segment as ↵Philippe Kalaf1-4/+3
well (as opposed to just the first buffer).... Original commit message from CVS: 2005-12-17 Philippe Khalaf <burger@speedy.org> * gst-libs/gst/rtp/gstbasertpdepayload.c: (gst_base_rtp_depayload_set_gst_timestamp): add queue delay to new segment as well (as opposed to just the first buffer). (bug #322347)
2005-12-06expand tabsThomas Vander Stichele37-524/+524
Original commit message from CVS: expand tabs
2005-12-05gst-libs/gst/rtp/gstbasertpdepayload.cKai Vehmanen1-1/+2
Original commit message from CVS: 2005-12-05 Andy Wingo <wingo@pobox.com> patch by: Kai Vehmanen <kv2004 eca cx> * gst-libs/gst/rtp/gstbasertpdepayload.c (gst_base_rtp_depayload_thread): Fix busy loop (#323017).
2005-12-01Do burger's rename for rtp payloaders and depayloadersThomas Vander Stichele4-89/+91
Original commit message from CVS: * docs/libs/tmpl/gstcolorbalance.sgml: * gst-libs/gst/rtp/gstbasertpdepayload.c: * gst-libs/gst/rtp/gstbasertppayload.c: * gst-libs/gst/rtp/gstrtpbuffer.c: * gst-libs/gst/rtp/gstrtpbuffer.h: Do burger's rename for rtp payloaders and depayloaders