1. 14 May, 2006 1 commit
    • Michael Smith's avatar
      gst/audioconvert/gstchannelmix.c: Fix #341696: crash when mixing L+R+C to mono or stereo. · 400ade1e
      Michael Smith authored
      Original commit message from CVS:
      * gst/audioconvert/gstchannelmix.c: (gst_channel_mix_fill_others):
      Fix #341696: crash when mixing L+R+C to mono or stereo.
      * tests/check/Makefile.am:
      * tests/check/elements/audioconvert.c: (set_channel_positions),
      (get_float_mc_caps), (get_int_mc_caps), (GST_START_TEST),
      (audioconvert_suite):
      Add test for the above, including some generic framework bits for
      testing multichannel things.
      400ade1e
  2. 12 May, 2006 2 commits
    • Jan Schmidt's avatar
      Fix the build. · 143af467
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
      Fix the build.
      143af467
    • Jan Schmidt's avatar
      Fix integer overflow problem with pixel-aspect-ratio calculations in... · 34db0838
      Jan Schmidt authored
      Fix integer overflow problem with pixel-aspect-ratio calculations in videoscale and xvimagesink (#341542)
      
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-docs.sgml:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/video/video.c: (gst_video_calculate_display_ratio):
      * gst-libs/gst/video/video.h:
      * gst/videoscale/Makefile.am:
      * gst/videoscale/gstvideoscale.c: (gst_video_scale_fixate_caps):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps):
      * tests/check/Makefile.am:
      * tests/check/libs/video.c: (GST_START_TEST), (video_suite),
      (main):
      Fix integer overflow problem with pixel-aspect-ratio calculations
      in videoscale and xvimagesink (#341542)
      34db0838
  3. 11 May, 2006 6 commits
    • Sjoerd Simons's avatar
      gst/playback/gstplaybasebin.*: API: GstPlayBaseBin::stream-info-value-array... · c7f353f2
      Sjoerd Simons authored
      gst/playback/gstplaybasebin.*: API: GstPlayBaseBin::stream-info-value-array property use a more bindings-friendly way...
      
      Original commit message from CVS:
      2006-05-11  Thomas Vander Stichele  <thomas at apestaart dot org>
      
      patch by: Sjoerd Simons (sjoerd@luon.net)
      
      * gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
      (group_create), (group_destroy), (add_stream),
      (gst_play_base_bin_get_property),
      (gst_play_base_bin_get_streaminfo_value_array):
      * gst/playback/gstplaybasebin.h:
      API: GstPlayBaseBin::stream-info-value-array property
      use a more bindings-friendly way of exposing streaminfo
      using a GValueArray.  Tested in ipython.
      Closes #341114
      c7f353f2
    • Wim Taymans's avatar
      gst/playback/gstdecodebin.c: Also catch queue underruns but don't do anything yet. · 03c8d8ae
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (try_to_link_1), (queue_enlarge),
      (queue_underrun_cb), (queue_filled_cb):
      Also catch queue underruns but don't do anything yet.
      Refactor and comment queue enlarging code a bit.
      * gst/playback/gstplaybasebin.c: (queue_overrun),
      (queue_threshold_reached), (queue_out_of_data),
      (gen_preroll_element):
      If a queue over/underruns check that we don't create nasty
      deadlocks when the min-threshold is not reached but the
      max-bytes is. In those cases disable max-bytes when we
      know that the queue is fed timed data.
      Add more comments.
      03c8d8ae
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybin.c: Make playbin automatically plug an 'audioresample'... · 7cae9d88
      Tim-Philipp Müller authored
      gst/playback/gstplaybin.c: Make playbin automatically plug an 'audioresample' element before the audio sink as well. ...
      
      Original commit message from CVS:
      * gst/playback/gstplaybin.c: (gen_audio_element):
      Make playbin automatically plug an 'audioresample'
      element before the audio sink as well. This solves
      problems with sinks that only accept a very specific
      sample rate, like esdsink (e.g. #340379).
      7cae9d88
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybasebin.c: Make http sources send special headers so that... · a2bf9eec
      Tim-Philipp Müller authored
      gst/playback/gstplaybasebin.c: Make http sources send special headers so that we receive icecast metadata if the http...
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (gen_source_element):
      Make http sources send special headers so that we receive
      icecast metadata if the http stream is an icecast stream
      (otherwise the server will just ignore them). This also
      means that from now on users will need the 'icydemux'
      element from gst-plugins-good installed if they want to
      listen to icecast radio streams. (#341432, #333657).
      a2bf9eec
    • Thomas Vander Stichele's avatar
      more commenting · 1ece1a97
      Thomas Vander Stichele authored
      Original commit message from CVS:
      more commenting
      1ece1a97
    • Thomas Vander Stichele's avatar
      gst/tcp/gstmultifdsink.c: remove stupid example from docs - it should come with a simple · 447aa12b
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_remove_client_link),
      (gst_multi_fd_sink_new_client), (gst_multi_fd_sink_stop):
      remove stupid example from docs - it should come with a simple
      C program instead.
      Clean up/fix docs
      * tests/check/elements/multifdsink.c: (wait_bytes_served),
      (fail_if_can_read), (GST_START_TEST),
      (gst_multifdsink_create_streamheader), (multifdsink_suite):
      add a test for changing streamheader which exposes a bug in
      multifdsink
      447aa12b
  4. 10 May, 2006 4 commits
    • Thomas Vander Stichele's avatar
      gst/tcp/gstmultifdsink.c: clean up the bufqueue when shutting down · c6b71079
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_stop):
      clean up the bufqueue when shutting down
      * tests/check/Makefile.am:
      * tests/check/elements/multifdsink.c: (setup_multifdsink),
      (cleanup_multifdsink), (GST_START_TEST), (multifdsink_suite),
      (main):
      add a test for the leak that was just fixed
      c6b71079
    • Thomas Vander Stichele's avatar
      DEBUG_FUNCPTR'ing · 634dc7bc
      Thomas Vander Stichele authored
      Original commit message from CVS:
      DEBUG_FUNCPTR'ing
      634dc7bc
    • Thomas Vander Stichele's avatar
      whitespace fixes · 125159cb
      Thomas Vander Stichele authored
      Original commit message from CVS:
      whitespace fixes
      125159cb
    • Wim Taymans's avatar
      gst/adder/gstadder.*: Updated some docs. Added comments and FIXMEs all over the place. · f96d80ac
      Wim Taymans authored
      Original commit message from CVS:
      * gst/adder/gstadder.c: (gst_adder_setcaps),
      (gst_adder_query_duration), (gst_adder_query), (forward_event),
      (gst_adder_src_event), (gst_adder_sink_event),
      (gst_adder_class_init), (gst_adder_finalize),
      (gst_adder_request_new_pad), (gst_adder_collected):
      * gst/adder/gstadder.h:
      Updated some docs. Added comments and FIXMEs all over the place.
      Improve debugging info.
      Fix leak on finalize by not calling the parent.
      Implement duration query.
      Make event forwarding threadsafe.
      Correctly send NEWSEGMENT at start and after flush.
      Handle EOS correctly.
      Post error when not negotiated.
      * tests/check/elements/adder.c: (GST_START_TEST):
      Added FIXME in the test.
      f96d80ac
  5. 09 May, 2006 4 commits
    • Tim-Philipp Müller's avatar
      Const-ify GEnumValue and GFlagsValue arrays. Use · d8965c30
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_valign_get_type),
      (gst_text_overlay_halign_get_type),
      (gst_text_overlay_wrap_mode_get_type):
      * ext/theora/theoradec.c: (theora_handle_type_packet),
      (theora_handle_data_packet):
      * ext/theora/theoraenc.c: (gst_border_mode_get_type),
      (theora_enc_sink_setcaps), (theora_enc_chain):
      * gst-libs/gst/cdda/gstcddabasesrc.c:
      (gst_cdda_base_src_mode_get_type):
      * gst/audiotestsrc/gstaudiotestsrc.c:
      (gst_audiostestsrc_wave_get_type):
      * gst/playback/gststreaminfo.c: (gst_stream_type_get_type):
      * gst/tcp/gstfdset.c: (gst_fdset_mode_get_type):
      * gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
      (gst_sync_method_get_type), (gst_unit_type_get_type),
      (gst_client_status_get_type):
      * gst/videoscale/gstvideoscale.c:
      (gst_video_scale_method_get_type):
      * gst/videotestsrc/gstvideotestsrc.c:
      (gst_video_test_src_pattern_get_type):
      * gst/videotestsrc/videotestsrc.c: (paint_setup_I420),
      (paint_setup_YV12), (paint_setup_YUY2), (paint_setup_UYVY),
      (paint_setup_YVYU), (paint_setup_IYU2), (paint_setup_Y41B),
      (paint_setup_Y42B), (paint_setup_Y800), (paint_setup_YVU9),
      (paint_setup_YUV9), (paint_setup_RGB888), (paint_setup_BGR888),
      (paint_setup_RGB565), (paint_setup_xRGB1555):
      Const-ify GEnumValue and GFlagsValue arrays. Use
      GST_ROUND_UP_* macros instead of home-made ones.
      d8965c30
    • Sjoerd Simons's avatar
      gst/tcp/gstmultifdsink.c: Register nick for enum value (#341160). · 27c751b6
      Sjoerd Simons authored
      Original commit message from CVS:
      Patch by: Sjoerd Simons  <sjoerd at luon net>
      * gst/tcp/gstmultifdsink.c: (gst_client_status_get_type):
      Register nick for enum value (#341160).
      27c751b6
    • Stefan Kost's avatar
      gst/typefind/gsttypefindfunctions.c: backout typefind patch #340375 · ba26d458
      Stefan Kost authored
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (m4a_type_find),
      (plugin_init):
      backout typefind patch #340375
      * tests/check/elements/adder.c: (message_received),
      (GST_START_TEST), (adder_suite):
      redo, signal-handling of test
      ba26d458
    • Wim Taymans's avatar
      gst/adder/gstadder.*: Remove bogus segment merging and forwarding, we don't... · 758b974c
      Wim Taymans authored
      gst/adder/gstadder.*: Remove bogus segment merging and forwarding, we don't care about timestamps anyway and we just ...
      
      Original commit message from CVS:
      * gst/adder/gstadder.c: (gst_adder_request_new_pad),
      (gst_adder_collected):
      * gst/adder/gstadder.h:
      Remove bogus segment merging and forwarding, we don't
      care about timestamps anyway and we just produce a
      continuous stream.
      Also create a nice NEWSEGMENT event when we start.
      Use _scale_int some more.
      758b974c
  6. 08 May, 2006 1 commit
  7. 07 May, 2006 2 commits
    • Stefan Kost's avatar
      gst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between... · 4576a952
      Stefan Kost authored
      gst/typefind/gsttypefindfunctions.c: Add typefind to distinguish between "audio/x-m4a" and new type "video/mp4". Fixe...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp4_find_box),
      (mp4_type_find), (plugin_init):
      Add typefind to distinguish between "audio/x-m4a" and new type
      "video/mp4". Fixes #340375
      * tests/check/elements/adder.c: (adder_suite):
      Raise timeout to make buildbot happy
      4576a952
    • Stefan Kost's avatar
      Add sink-event handling to adder. It tries to merge incomming... · 458c6c06
      Stefan Kost authored
      Add sink-event handling to adder. It tries to merge incomming newsegment-events. Added test to check if segment_done ...
      
      Original commit message from CVS:
      * gst/adder/gstadder.c: (gst_adder_sink_event),
      (gst_adder_request_new_pad), (gst_adder_change_state):
      * gst/adder/gstadder.h:
      * tests/check/Makefile.am:
      * tests/check/elements/adder.c: (event_loop), (GST_START_TEST),
      (adder_suite), (main):
      Add sink-event handling to adder. It tries to merge incomming
      newsegment-events. Added test to check if segment_done is comming
      through.
      458c6c06
  8. 05 May, 2006 2 commits
    • Jan Schmidt's avatar
      gst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection,... · 077ba914
      Jan Schmidt authored
      gst/typefind/gsttypefindfunctions.c: Rearrange MPEG system stream detection, fixing some memleaks in the process.
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find),
      (mpeg1_sys_type_find), (ogganx_type_find), (sw_data_destroy):
      Rearrange MPEG system stream detection, fixing some memleaks in the
      process.
      Constify the data for STARTS_WITH and RIFF helper handlers. Make sure
      they clean up their data correctly.
      Remove unused ogganx caps and move the 'is_annodex' check to inside
      the 'is_ogg' if statement.
      077ba914
    • Wim Taymans's avatar
      gst/playback/gstdecodebin.c: Properly remove ghostpads. Fixes #340392 · d612f665
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (cleanup_decodebin):
      Properly remove ghostpads. Fixes #340392
      d612f665
  9. 04 May, 2006 1 commit
  10. 03 May, 2006 2 commits
    • Jan Schmidt's avatar
      gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based... · 436aad75
      Jan Schmidt authored
      gst/typefind/gsttypefindfunctions.c: When typefinding an MP3 in push-based mode, don't penalise the probability down ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
      (mpeg_ts_probe_headers), (mpeg_ts_type_find):
      When typefinding an MP3 in push-based mode, don't penalise the
      probability down to 74% when we found 5 valid frames just because we
      can't peek the end of the file.
      Make the probability for detecting MPEG Transport Streams based on the
      number of sequential headers we successfully detected.
      436aad75
    • Wim Taymans's avatar
      gst/volume/gstvolume.c: Increase "volume" property to 10.0. Fixes #340369. · 461ffeda
      Wim Taymans authored
      Original commit message from CVS:
      * gst/volume/gstvolume.c: (volume_funcfind), (volume_set_caps),
      (volume_transform_ip):
      Increase "volume" property to 10.0. Fixes #340369.
      Set the process function to NULL when capsnego fails so that
      we properly error out.
      461ffeda
  11. 02 May, 2006 1 commit
  12. 01 May, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return... · 754ba31a
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Refine musepack typefinding a bit. Return MAXIMUM probability when we detect str...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (musepack_type_find),
      (plugin_init):
      Refine musepack typefinding a bit. Return MAXIMUM
      probability when we detect stream version 7 to make
      sure the mpeg audio typefinder doesn't trump us.
      754ba31a
  13. 29 Apr, 2006 2 commits
  14. 28 Apr, 2006 11 commits
    • Stefan Kost's avatar
      make GstElementDetails const · e972defd
      Stefan Kost authored
      Original commit message from CVS:
      * ext/alsa/gstalsamixerelement.c:
      * ext/alsa/gstalsasrc.c:
      * ext/cdparanoia/gstcdparanoiasrc.c:
      * ext/gnomevfs/gstgnomevfssink.c:
      * ext/gnomevfs/gstgnomevfssrc.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggparse.c:
      * ext/ogg/gstogmparse.c:
      * ext/pango/gstclockoverlay.c:
      * ext/pango/gsttextoverlay.c:
      * ext/pango/gsttextrender.c:
      * ext/pango/gsttimeoverlay.c:
      * ext/theora/theoradec.c:
      * ext/theora/theoraenc.c:
      * ext/vorbis/vorbisdec.c:
      * ext/vorbis/vorbisenc.c:
      * gst-libs/gst/audio/gstaudiofilter.c:
      * gst-libs/gst/audio/gstaudiofiltertemplate.c:
      * gst/audioconvert/gstaudioconvert.c:
      * gst/audiorate/gstaudiorate.c:
      * gst/audioresample/gstaudioresample.c:
      * gst/audiotestsrc/gstaudiotestsrc.c:
      * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstplaybin.c:
      * gst/playback/gststreamselector.c:
      * gst/subparse/gstsubparse.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gsttcpclientsink.c:
      * gst/tcp/gsttcpclientsrc.c:
      * gst/tcp/gsttcpserversink.c:
      * gst/tcp/gsttcpserversrc.c:
      * gst/typefind/gsttypefindfunctions.c: (plugin_init):
      * gst/videorate/gstvideorate.c:
      * gst/videoscale/gstvideoscale.c:
      * gst/videotestsrc/gstvideotestsrc.c:
      * gst/volume/gstvolume.c:
      * sys/v4l/gstv4ljpegsrc.c:
      * sys/v4l/gstv4lmjpegsink.c:
      * sys/v4l/gstv4lmjpegsrc.c:
      * sys/v4l/gstv4lsrc.c:
      * sys/ximage/ximagesink.c:
      * sys/xvimage/xvimagesink.c:
      * tests/check/libs/cddabasesrc.c:
      make GstElementDetails const
      e972defd
    • Stefan Kost's avatar
      gst/adder/gstadder.c: send events from src-pad to all sink-pads fixes #338657 · fab87c6e
      Stefan Kost authored
      Original commit message from CVS:
      * gst/adder/gstadder.c: (gst_adder_setcaps), (gst_adder_src_event),
      (gst_adder_init):
      send events from src-pad to all sink-pads fixes #338657
      fab87c6e
    • Wim Taymans's avatar
      gst/tcp/gstmultifdsink.*: Fix race condition in multifdsink that can lead to... · 6a6acca4
      Wim Taymans authored
      gst/tcp/gstmultifdsink.*: Fix race condition in multifdsink that can lead to spurious duplicate clients. this patch a...
      
      Original commit message from CVS:
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init),
      (gst_multi_fd_sink_remove_client_link):
      * gst/tcp/gstmultifdsink.h:
      Fix race condition in multifdsink that can lead to spurious
      duplicate clients. this patch adds a new signal that is fired when
      multifdsink has removed all references to the fd.
      Fixes #339574.
      Updated documentation.
      API: client-fd-removed signal added
      6a6acca4
    • Michael Smith's avatar
      gst/tcp/gstmultifdsink.c: When asking g_value_array_new to prealloc elements,... · b52a2da4
      Michael Smith authored
      gst/tcp/gstmultifdsink.c: When asking g_value_array_new to prealloc elements, we may as well ask for the right number...
      
      Original commit message from CVS:
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats):
      When asking g_value_array_new to prealloc elements, we may as well
      ask for the right number of elements.
      b52a2da4
    • Thomas Vander Stichele's avatar
      gst/videorate/gstvideorate.c: fix up docs fix a leak when no caps negotiated... · 9ab7a0ef
      Thomas Vander Stichele authored
      gst/videorate/gstvideorate.c: fix up docs fix a leak when no caps negotiated fix counting of input frames
      
      Original commit message from CVS:
      
      * gst/videorate/gstvideorate.c: (gst_video_rate_reset),
      (gst_video_rate_swap_prev), (gst_video_rate_chain):
      fix up docs
      fix a leak when no caps negotiated
      fix counting of input frames
      * tests/check/elements/.cvsignore:
      * tests/check/elements/videorate.c: (assert_videorate_stats),
      (GST_START_TEST), (videorate_suite):
      add tests for these
      9ab7a0ef
    • Wim Taymans's avatar
      gst/videoscale/gstvideoscale.c: Videoscale doesn't pass on pixel-aspect ratio.... · 9c3d65da
      Wim Taymans authored
      gst/videoscale/gstvideoscale.c: Videoscale doesn't pass on pixel-aspect ratio. Handle all fixation cases better. Fixe...
      
      Original commit message from CVS:
      * gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps),
      (gst_video_scale_fixate_caps), (gst_video_scale_src_event):
      Videoscale doesn't pass on pixel-aspect ratio. Handle all
      fixation cases better. Fixes #338991
      9c3d65da
    • Wim Taymans's avatar
      gst/videotestsrc/gstvideotestsrc.c: Handle 0/1 framerate correctly Fixes #331901. · a443f9a7
      Wim Taymans authored
      Original commit message from CVS:
      * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
      Handle 0/1 framerate correctly Fixes #331901.
      a443f9a7
    • Wim Taymans's avatar
      gst/videorate/gstvideorate.c: Print more debugging info. · e6da668a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/videorate/gstvideorate.c: (gst_video_rate_event),
      (gst_video_rate_chain):
      Print more debugging info.
      e6da668a
    • Wim Taymans's avatar
      gst/audioresample/gstaudioresample.c: Add support for other formats... · 8cd920fc
      Wim Taymans authored
      gst/audioresample/gstaudioresample.c: Add support for other formats audioresample can handle such as 32 bits in and f...
      
      Original commit message from CVS:
      * gst/audioresample/gstaudioresample.c: (gst_audioresample_init),
      (resample_set_state_from_caps):
      Add support for other formats audioresample can handle such as
      32 bits in and float and 64 bits float. Fixes #301759
      8cd920fc
    • Wim Taymans's avatar
      gst/audioconvert/audioconvert.c: correctly clip float samples > 1.0. Fixes #338718 · f9356758
      Wim Taymans authored
      Original commit message from CVS:
      * gst/audioconvert/audioconvert.c: (float):
      correctly clip float samples > 1.0. Fixes #338718
      f9356758
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Fix wavpack typefinding to work in more... · b0091828
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Fix wavpack typefinding to work in more cases (don't peek for chunks of multiple...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (wavpack_type_find):
      Fix wavpack typefinding to work in more cases (don't peek
      for chunks of multiple hundred kBs at once, but process
      things step-by-step in smaller units). Fixes #339786.
      b0091828