1. 07 Mar, 2006 1 commit
    • Christophe Fergeau's avatar
      Don't leak references returned by gst_pad_get_parent() · 8e6d3a5c
      Christophe Fergeau authored
      Original commit message from CVS:
      * ext/libvisual/visual.c: (gst_visual_getcaps),
      (gst_visual_src_setcaps), (gst_visual_sink_setcaps):
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_sinkconnect):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_convert_src),
      (gst_vorbisenc_convert_sink):
      * gst-libs/gst/audio/audio.c: (gst_audio_frame_byte_size),
      (gst_audio_duration_from_pad_buffer):
      * gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_link),
      (gst_audio_filter_chain):
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_setcaps):
      * gst-libs/gst/video/video.c: (gst_video_frame_rate),
      (gst_video_get_size):
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_setcaps):
      Don't leak references returned by gst_pad_get_parent()
      (#333663, based on patch by: Christophe Fergeau).
      8e6d3a5c
  2. 05 Mar, 2006 1 commit
    • Thomas Vander Stichele's avatar
      ogg muxing of vorbis and theora now has pages ordered correctly again, even with delays. · c9bc7a48
      Thomas Vander Stichele authored
      Original commit message from CVS:
      ogg muxing of vorbis and theora now has pages ordered correctly again,
      even with delays.
      
      * ext/ogg/README:
      updated with some examples
      * ext/theora/theoraenc.c: (granulepos_to_timestamp),
      (granulepos_add), (theora_buffer_from_packet):
      * ext/vorbis/vorbisenc.c: (granulepos_to_timestamp_offset),
      (granulepos_to_timestamp), (gst_vorbisenc_buffer_from_packet),
      (gst_vorbisenc_chain):
      implement strategy from ext/ogg/README
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
      (gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
      (gst_ogg_mux_pad_queue_page), (gst_ogg_mux_compare_pads),
      (gst_ogg_mux_queue_pads), (gst_ogg_mux_collected):
      Fix muxer so that oggz-validate is happy with all streams;
      except for no eos mark, and the BOS page ordering
      * tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
      (check_buffer_granulepos):
      * tests/check/pipelines/vorbisenc.c: (check_buffer_granulepos):
      update tests to check for OFFSET being set as requested
      fixed type of granulepos, it's not a ClockTime
      c9bc7a48
  3. 01 Mar, 2006 1 commit
    • Wim Taymans's avatar
      Fix some more docs. · 8011ea8e
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-docs.sgml:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * ext/gnomevfs/gstgnomevfssink.h:
      * ext/gnomevfs/gstgnomevfssrc.h:
      * ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
      * ext/vorbis/vorbisdec.h:
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_convert_sink):
      * ext/vorbis/vorbisenc.h:
      * ext/vorbis/vorbisparse.c: (vorbis_parse_set_header_on_caps),
      (vorbis_parse_chain), (vorbis_parse_change_state):
      * ext/vorbis/vorbisparse.h:
      * gst/audioconvert/gstaudioconvert.h:
      * gst/tcp/gsttcpserversink.h:
      * gst/videotestsrc/gstvideotestsrc.c:
      * gst/videotestsrc/gstvideotestsrc.h:
      * gst/volume/gstvolume.c:
      * gst/volume/gstvolume.h:
      Fix some more docs.
      Added docs for vorbisdec and vorbisparse.
      Fix vorbisparse.
      8011ea8e
  4. 17 Feb, 2006 1 commit
  5. 05 Feb, 2006 2 commits
    • Jan Schmidt's avatar
      Add a finalize method to ensure we clean up state even if someone omitted the... · 5109622d
      Jan Schmidt authored
      Add a finalize method to ensure we clean up state even if someone omitted the state change back to NULL.
      
      Original commit message from CVS:
      (theora_enc_finalize), (theora_enc_sink_setcaps):
      Add a finalize method to ensure we clean up state even if
      someone omitted the state change back to NULL.
      
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1),
      (gst_vorbisenc_chain):
      Free some more leaked bits.
      
      * tests/check/pipelines/theoraenc.c: (start_pipeline),
      (stop_pipeline):
      Wait for state changes to happen if they're ASYNC.
      
      This ought to teach those fancy pants buildbots a lesson.
      5109622d
    • Jan Schmidt's avatar
      ext/vorbis/vorbisenc.c: Don't leak tag names. · 409b9b22
      Jan Schmidt authored
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1):
      Don't leak tag names.
      409b9b22
  6. 01 Feb, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Pass unhandled queries upstream instead of just dropping them (#326447). Also,... · 41e4f03f
      Tim-Philipp Müller authored
      Pass unhandled queries upstream instead of just dropping them (#326447). Also, fix supported query types list for som...
      
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_query_types),
      (gst_ogg_pad_src_query):
      * ext/ogg/gstogmparse.c: (gst_ogm_parse_sink_query):
      * ext/theora/theoradec.c: (theora_dec_src_query),
      (theora_dec_sink_query):
      * ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
      (vorbis_dec_sink_query):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_src_query),
      (gst_vorbisenc_sink_query):
      * gst/adder/gstadder.c: (gst_adder_query):
      Pass unhandled queries upstream instead of just
      dropping them (#326447). Also, fix supported
      query types list for some elements.
      41e4f03f
  7. 30 Jan, 2006 1 commit
    • Andy Wingo Wingo's avatar
      tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc. · 0ad84fae
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2006-01-30  Andy Wingo  <wingo@pobox.com>
      
      * tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.
      
      * ext/vorbis/vorbisenc.c (gst_vorbisenc_buffer_from_packet): Logic
      updated to timestamp from the first sample, not the last.
      (gst_vorbisenc_buffer_from_header_packet): New function, takes
      special care of granulepos and timestamp for header packets.
      (gst_vorbisenc_chain): Reflow, fix some leaks, and handle the case
      when the first buffer has a nonzero timestamp.
      
      * ext/vorbis/vorbisenc.h (GstVorbisEnc.granulepos_offset)
      (GstVorbisEnc.subgranule_offset): New members. Take care of the
      case when the first audio buffer we get has a nonzero timestamp.
      (GstVorbisEnc.next_ts): Renamed from prev_ts, because now we
      properly timestamp vorbis buffers with the time of the first
      sample, not the last.
      
      * ext/vorbis/vorbisenc.c (granulepos_to_clocktime): Renamed from
      vorbis_granule_time_copy -- now it takes the granule/subgranule
      offset into account.
      
      * tests/check/pipelines/vorbisenc.c: New test for correctness of
      timestamps, durations, and granulepos on buffers produced by
      vorbisenc.
      0ad84fae
  8. 06 Dec, 2005 1 commit
  9. 23 Nov, 2005 1 commit
  10. 22 Nov, 2005 1 commit
  11. 21 Nov, 2005 4 commits
    • Andy Wingo Wingo's avatar
      Don't take stream lock. · 137c2346
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-21  Andy Wingo  <wingo@pobox.com>
      
      * ext/vorbis/vorbisdec.c (vorbis_dec_sink_event):
      * gst/videorate/gstvideorate.c (gst_videorate_event):
      * ext/theora/theoradec.c (theora_dec_sink_event):
      * ext/theora/theoraenc.c (theora_enc_sink_event): Don't take
      stream lock.
      
      * gst/subparse/gstsubparse.c (gst_subparse_src_event):
      * ext/ogg/gstoggdemux.c (gst_ogg_demux_perform_seek): Update for
      stream lock changes.
      137c2346
    • Michael Smith's avatar
      ext/vorbis/vorbisenc.c: Minimal fix for bug #320200: set the min/max bitrate... · afa20a78
      Michael Smith authored
      ext/vorbis/vorbisenc.c: Minimal fix for bug #320200: set the min/max bitrate in the correct units. A better fix would...
      
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup):
      Minimal fix for bug #320200: set the min/max bitrate in the correct
      units. A better fix would be to upgrade to the RATEMANAGE2
      interface, rather than using the deprecated interface used here, but
      that would require an update in our libvorbis dependency (to 1.1),
      which is probably undesirable.
      afa20a78
    • Alessandro Decina's avatar
      ext/ogg/gstoggmux.c (gst_ogg_mux_set_header_on_caps): ext/ogg/gstoggparse.c... · 64837104
      Alessandro Decina authored
      ext/ogg/gstoggmux.c (gst_ogg_mux_set_header_on_caps): ext/ogg/gstoggparse.c (gst_ogg_parse_append_header)
      
      Original commit message from CVS:
      2005-11-21  Andy Wingo  <wingo@pobox.com>
      
      patch by: Alessandro Dessina <alessandro nnva org>
      
      * ext/ogg/gstoggmux.c (gst_ogg_mux_set_header_on_caps):
      * ext/ogg/gstoggparse.c (gst_ogg_parse_append_header)
      (gst_ogg_parse_chain):
      * ext/theora/theoraenc.c (theora_set_header_on_caps):
      * ext/vorbis/vorbisenc.c (gst_vorbisenc_set_header_on_caps):
      * ext/vorbis/vorbisparse.c (vorbis_parse_set_header_on_caps): Fix
      gst_value_list calls on arrays. Fixes #321962.
      64837104
    • Michael Smith's avatar
      ext/vorbis/vorbisenc.c: Properly handle pad_push return values. · 035f96fe
      Michael Smith authored
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_clear),
      (gst_vorbisenc_chain), (gst_vorbisenc_output_buffers):
      Properly handle pad_push return values.
      035f96fe
  12. 20 Nov, 2005 1 commit
  13. 14 Nov, 2005 1 commit
    • Michael Smith's avatar
      ext/: Fix a small memory leak in vorbisenc. · 84d7f746
      Michael Smith authored
      Original commit message from CVS:
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_clear), (gst_ogg_mux_init),
      (gst_ogg_mux_sinkconnect), (gst_ogg_mux_request_new_pad),
      (gst_ogg_mux_push_buffer), (gst_ogg_mux_dequeue_page),
      (gst_ogg_mux_pad_queue_page), (gst_ogg_mux_queue_pads),
      (gst_ogg_mux_set_header_on_caps), (gst_ogg_mux_collected),
      (gst_ogg_mux_clear_collectpads), (gst_ogg_mux_change_state):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_buffer_from_packet),
      (gst_vorbisenc_change_state):
      Fix a small memory leak in vorbisenc.
      Fix large memory leaks in oggmux, also fix lots of state change
      bugs in oggmux.
      84d7f746
  14. 11 Nov, 2005 1 commit
    • Michael Smith's avatar
      ext/vorbis/vorbisenc.*: Set duration on encoded buffers. This allows oggmux's... · 4427a677
      Michael Smith authored
      ext/vorbis/vorbisenc.*: Set duration on encoded buffers. This allows oggmux's max_page_delay parameter to actually work.
      
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_setup),
      (gst_vorbisenc_buffer_from_packet):
      * ext/vorbis/vorbisenc.h:
      Set duration on encoded buffers. This allows oggmux's
      max_page_delay parameter to actually work.
      4427a677
  15. 27 Oct, 2005 1 commit
    • Wim Taymans's avatar
      ext/: Take proper locks when handling events. · 323ba80f
      Wim Taymans authored
      Original commit message from CVS:
      * ext/theora/theoradec.c: (theora_dec_src_query),
      (theora_dec_sink_event):
      * ext/theora/theoraenc.c: (theora_enc_sink_event),
      (theora_enc_change_state):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
      (gst_vorbisenc_sink_event), (gst_vorbisenc_change_state):
      Take proper locks when handling events.
      323ba80f
  16. 20 Oct, 2005 1 commit
  17. 19 Oct, 2005 1 commit
    • Wim Taymans's avatar
      Bye bye buffer-frames. · fc8ce006
      Wim Taymans authored
      Original commit message from CVS:
      * check/elements/audioconvert.c:
      * docs/libs/tmpl/gstaudio.sgml:
      * docs/libs/tmpl/gstcolorbalance.sgml:
      * ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
      (vorbis_handle_identification_packet), (vorbis_handle_data_packet):
      * ext/vorbis/vorbisenc.c: (raw_caps_factory):
      * gst-libs/gst/audio/audio.c: (gst_audio_structure_set_int):
      * gst-libs/gst/audio/audio.h:
      * gst/audioconvert/audioconvert.h:
      * gst/audioconvert/gstaudioconvert.c:
      (gst_audio_convert_parse_caps):
      * gst/volume/gstvolume.c:
      Bye bye buffer-frames.
      fc8ce006
  18. 13 Oct, 2005 1 commit
    • Tim-Philipp Müller's avatar
      Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE. · 3b2a0751
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c:
      * gst-libs/gst/tag/gstid3tag.c: (gst_tag_list_new_from_id3v1):
      * gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add),
      (gst_tag_to_vorbis_comments):
      Fix handling of GST_TAG_DATE, which is now of GST_TYPE_DATE.
      3b2a0751
  19. 07 Oct, 2005 1 commit
  20. 22 Sep, 2005 1 commit
  21. 15 Sep, 2005 2 commits
    • Thomas Vander Stichele's avatar
      ext/vorbis/vorbisenc.*: Fix EOS handling. Still needs a fix in the ogg muxer... · 891fb494
      Thomas Vander Stichele authored
      ext/vorbis/vorbisenc.*: Fix EOS handling.  Still needs a fix in the ogg muxer to mark the last page as eos somehow.
      
      Original commit message from CVS:
      2005-09-15  Thomas Vander Stichele  <thomas at apestaart dot org>
      
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_init),
      (gst_vorbisenc_sink_event), (gst_vorbisenc_chain),
      (gst_vorbisenc_output_buffers), (gst_vorbisenc_change_state):
      * ext/vorbis/vorbisenc.h:
      Fix EOS handling.  Still needs a fix in the ogg muxer to
      mark the last page as eos somehow.
      891fb494
    • Thomas Vander Stichele's avatar
      pick up signals and args for vorbis; add some docs for vorbis · 70a7708a
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * common/gtk-doc-plugins.mak:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * ext/theora/Makefile.am:
      * ext/theora/gsttheoraenc.h:
      * ext/theora/theoraenc.c:
      * ext/vorbis/vorbisenc.c:
      pick up signals and args for vorbis; add some docs for vorbis
      70a7708a
  22. 07 Sep, 2005 1 commit
  23. 05 Sep, 2005 1 commit
  24. 02 Sep, 2005 1 commit
  25. 24 Aug, 2005 1 commit
  26. 20 Aug, 2005 1 commit
  27. 27 Jul, 2005 1 commit
    • Wim Taymans's avatar
      examples/seeking/seek.c: Update seek example. · ee8ed3a8
      Wim Taymans authored
      Original commit message from CVS:
      * examples/seeking/seek.c: (setup_dynamic_link),
      (make_dv_pipeline), (make_vorbis_theora_pipeline), (query_rates),
      (query_positions_elems), (query_positions_pads), (do_seek):
      Update seek example.
      
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_event),
      (gst_ogg_pad_typefind), (gst_ogg_demux_chain_elem_pad),
      (gst_ogg_demux_queue_data), (gst_ogg_demux_chain_peer),
      (gst_ogg_pad_submit_packet), (gst_ogg_pad_submit_page),
      (gst_ogg_demux_handle_event),
      (gst_ogg_demux_deactivate_current_chain),
      (gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek),
      (gst_ogg_demux_collect_chain_info), (gst_ogg_demux_collect_info),
      (gst_ogg_demux_chain), (gst_ogg_demux_send_event),
      (gst_ogg_demux_loop):
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_collected):
      * ext/theora/theoradec.c: (theora_dec_src_event),
      (theora_dec_src_getcaps), (theora_dec_sink_event),
      (theora_dec_push), (theora_dec_chain):
      * ext/vorbis/Makefile.am:
      * ext/vorbis/vorbisdec.c: (vorbis_dec_src_event),
      (vorbis_dec_sink_event), (vorbis_dec_push),
      (vorbis_handle_data_packet):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_sink_event),
      (gst_vorbisenc_chain):
      * gst/playback/gststreaminfo.c: (cb_probe):
      * gst/subparse/gstsubparse.c: (gst_subparse_src_event):
      * gst/videorate/gstvideorate.c: (gst_videorate_event):
      * gst/videoscale/gstvideoscale.c:
      (gst_videoscale_handle_src_event):
      * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_event):
      * sys/ximage/ximagesink.c: (gst_ximagesink_show_frame),
      (gst_ximagesink_navigation_send_event):
      * sys/xvimage/xvimagesink.c:
      (gst_xvimagesink_navigation_send_event):
      Various event updates and cleanups
      ee8ed3a8
  28. 20 Jul, 2005 1 commit
    • Ronald S. Bultje's avatar
      Fixes for API changes in core. · 7795794b
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_get_headers),
      (gst_ogg_mux_set_header_on_caps):
      * ext/theora/theoraenc.c: (theora_set_header_on_caps):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_set_header_on_caps):
      * ext/vorbis/vorbisparse.c: (vorbis_parse_set_header_on_caps):
      * gst-libs/gst/audio/multichannel.c:
      (gst_audio_set_channel_positions),
      (gst_audio_set_structure_channel_positions_list):
      * gst/playback/gstdecodebin.c: (dynamic_create):
      * gst/playback/gstplaybasebin.c: (setup_source), (mute_group_type):
      * gst/playback/gststreaminfo.c: (gst_stream_info_set_mute):
      Fixes for API changes in core.
      7795794b
  29. 07 Jul, 2005 1 commit
    • Wim Taymans's avatar
      ext/: Remove deprecated/unused query types. · 9c4abc69
      Wim Taymans authored
      Original commit message from CVS:
      * ext/theora/theoradec.c: (theora_get_query_types),
      (theora_dec_src_getcaps), (theora_dec_push):
      * ext/vorbis/vorbisdec.c: (vorbis_get_query_types):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_query_types):
      Remove deprecated/unused query types.
      9c4abc69
  30. 05 Jul, 2005 1 commit
  31. 04 Jul, 2005 1 commit
  32. 22 Jun, 2005 1 commit
  33. 16 May, 2005 1 commit
    • David Schleef's avatar
      Port from GstData to GstMiniObject. · d90ee5bf
      David Schleef authored
      Original commit message from CVS:
      Port from GstData to GstMiniObject.
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose):
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
      (gst_ogg_mux_queue_pads), (gst_ogg_mux_set_header_on_caps),
      (gst_ogg_mux_collected):
      * ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
      * ext/theora/theoradec.c: (theora_handle_comment_packet),
      (theora_handle_data_packet):
      * ext/theora/theoraenc.c: (theora_buffer_from_packet),
      (theora_set_header_on_caps), (theora_enc_chain):
      * ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
      (vorbis_handle_comment_packet):
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_set_header_on_caps):
      * ext/vorbis/vorbisparse.c: (vorbis_parse_set_header_on_caps):
      * gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_chain):
      * gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_chain):
      * gst/audioconvert/gstaudioconvert.c:
      (gst_audio_convert_get_buffer):
      * gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
      * gst/playback/gstplaybasebin.c: (check_queue), (probe_triggered),
      (mute_stream), (silence_stream):
      * gst/playback/gstplaybin.c: (gst_play_bin_class_init):
      * gst/volume/gstvolume.c: (volume_transform):
      * sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
      (gst_ximage_buffer_init), (gst_ximage_buffer_class_init),
      (gst_ximage_buffer_get_type), (gst_ximagesink_check_xshm_calls),
      (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy),
      (gst_ximagesink_ximage_put), (gst_ximagesink_imagepool_clear),
      (gst_ximagesink_show_frame), (gst_ximagesink_buffer_free),
      (gst_ximagesink_buffer_alloc):
      * sys/ximage/ximagesink.h:
      d90ee5bf
  34. 09 May, 2005 2 commits
    • Wim Taymans's avatar
      Make caps writable before writing to it. · 8aeaf8ed
      Wim Taymans authored
      Original commit message from CVS:
      * ext/vorbis/vorbisenc.c: (gst_vorbisenc_sink_setcaps),
      (gst_vorbisenc_src_query), (gst_vorbisenc_sink_query),
      (gst_vorbisenc_set_header_on_caps), (gst_vorbisenc_sink_event),
      (gst_vorbisenc_chain):
      * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
      (gst_audio_convert_caps_remove_format_info),
      (gst_audio_convert_getcaps), (gst_audio_convert_setcaps),
      (gst_audio_convert_fixate), (gst_audio_convert_channels):
      Make caps writable before writing to it.
      Fix negotiation in audioconvert some more.
      8aeaf8ed
    • Wim Taymans's avatar
      Port to new query API. · 0ba57f58
      Wim Taymans authored
      Original commit message from CVS:
      Port to new query API.
      Updated seek.
      Cleanups in x[v]imagesink
      0ba57f58