1. 31 Oct, 2006 2 commits
    • Michael Smith's avatar
      gst/tcp/gstmultifdsink.*: Make using the remove or clear signals threadsafe. · b8f8b048
      Michael Smith authored
      Original commit message from CVS:
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_add_full),
      (gst_multi_fd_sink_remove), (gst_multi_fd_sink_clear),
      (gst_multi_fd_sink_get_stats),
      (gst_multi_fd_sink_remove_client_link),
      (gst_multi_fd_sink_queue_buffer),
      (gst_multi_fd_sink_handle_clients):
      * gst/tcp/gstmultifdsink.h:
      Make using the remove or clear signals threadsafe.
      Make calling get-stats with an invalid fd not segfault.
      Fixes 368273.
      b8f8b048
    • Wim Taymans's avatar
      gst-libs/gst/rtp/: Fix and activate base audio payloader. · 351622d0
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/rtp/Makefile.am:
      * gst-libs/gst/rtp/gstbasertpaudiopayload.c:
      (gst_base_rtp_audio_payload_init):
      Fix and activate base audio payloader.
      351622d0
  2. 28 Oct, 2006 2 commits
  3. 27 Oct, 2006 4 commits
  4. 26 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst-libs/gst/riff/riff-read.c: If strings in INFO chunk are not UTF-8, do... · cc156bc9
      Tim-Philipp Müller authored
      gst-libs/gst/riff/riff-read.c: If strings in INFO chunk are not UTF-8, do something similar to what we do for ID3v1 t...
      
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-read.c: (freeform_string_to_utf8),
      (gst_riff_parse_info):
      If strings in INFO chunk are not UTF-8, do something similar to
      what we do for ID3v1 tags: check a number of environment variables
      (GST_AVI_TAG_ENCODING, GST_RIFF_TAG_ENCODING, GST_TAG_ENCODING) for
      character sets to try, otherwise try the current locale and/or fall
      back on ISO-8859-1. Fixes #360552.
      cc156bc9
  5. 23 Oct, 2006 3 commits
    • Tim-Philipp Müller's avatar
      gst/videotestsrc/: Add a bunch of exciting new checkers patterns. · 443dfa58
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/videotestsrc/gstvideotestsrc.c:
      (gst_video_test_src_pattern_get_type),
      (gst_video_test_src_set_pattern):
      * gst/videotestsrc/gstvideotestsrc.h:
      * gst/videotestsrc/videotestsrc.c: (gst_video_test_src_checkers1),
      (gst_video_test_src_checkers2), (gst_video_test_src_checkers4),
      (gst_video_test_src_checkers8):
      * gst/videotestsrc/videotestsrc.h:
      Add a bunch of exciting new checkers patterns.
      443dfa58
    • Tim-Philipp Müller's avatar
      gst/subparse/: Add support for TMPlayer-type subtitles (#362845). · 1b6b21ad
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/subparse/Makefile.am:
      * gst/subparse/gstsubparse.c:
      (gst_sub_parse_data_format_autodetect),
      (gst_sub_parse_format_autodetect), (handle_buffer),
      (gst_sub_parse_chain), (gst_subparse_type_find), (plugin_init):
      * gst/subparse/gstsubparse.h:
      * gst/subparse/tmplayerparse.c: (tmplayer_parse_line),
      (parse_tmplayer):
      * gst/subparse/tmplayerparse.h:
      Add support for TMPlayer-type subtitles (#362845).
      * tests/check/elements/subparse.c: (test_tmplayer_do_test),
      (GST_START_TEST), (subparse_suite):
      Add some basic unit tests for the above.
      1b6b21ad
    • Tim-Philipp Müller's avatar
      tests/check/elements/audiorate.c: More tests for audiorate: inject buffers to... · 9be3d5a6
      Tim-Philipp Müller authored
      tests/check/elements/audiorate.c: More tests for audiorate: inject buffers to check behaviour when buffers overlap.
      
      Original commit message from CVS:
      * tests/check/elements/audiorate.c: (test_injector_base_init),
      (test_injector_class_init), (test_injector_chain),
      (test_injector_init), (probe_cb), (do_perfect_stream_test),
      (GST_START_TEST), (audiorate_suite):
      More tests for audiorate: inject buffers to check behaviour when
      buffers overlap.
      9be3d5a6
  6. 21 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      tests/check/: Add some basic unit tests for audiorate. Disabled at the moment... · 543f01eb
      Tim-Philipp Müller authored
      tests/check/: Add some basic unit tests for audiorate. Disabled at the moment since it doesn't pass yet (see bug #363...
      
      Original commit message from CVS:
      * tests/check/Makefile.am:
      * tests/check/elements/.cvsignore:
      * tests/check/elements/audiorate.c: (probe_cb), (got_buf),
      (do_perfect_stream_test), (GST_START_TEST), (audiorate_suite):
      Add some basic unit tests for audiorate. Disabled at the moment
      since it doesn't pass yet (see bug #363119).
      543f01eb
  7. 20 Oct, 2006 4 commits
    • Tim-Philipp Müller's avatar
      gst/subparse/gstsubparse.c: Add missing closing tags for markup and fix broken... · ad087e01
      Tim-Philipp Müller authored
      gst/subparse/gstsubparse.c: Add missing closing tags for markup and fix broken markup, otherwise pango won't render a...
      
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c: (subrip_fix_up_markup),
      (parse_subrip), (handle_buffer):
      Add missing closing tags for markup and fix broken markup,
      otherwise pango won't render anything (fixes #357531). Also,
      make sure the text we send out is always NUL-terminated
      (better safe than sorry etc.).
      * tests/check/elements/subparse.c: (test_srt_do_test),
      (test_srt):
      Some more tests for .srt incl. tests for the above stuff.
      ad087e01
    • Stefan Kost's avatar
      sys/: Try to redraw borders only when needed. Apparently this consumes... · 776911ec
      Stefan Kost authored
      sys/: Try to redraw borders only when needed. Apparently this consumes resources on small devices... :-O (#363607)
      
      Original commit message from CVS:
      2006-10-20  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
      Patch by: Stefan Kost  <ensonic@users.sf.net>
      Try to redraw borders only when needed. Apparently this consumes
      resources on small devices... :-O (#363607)
      776911ec
    • Michael Smith's avatar
      gst/tcp/gstmultifdsink.c: If caps change, then update the client's idea of the... · 0b8488ee
      Michael Smith authored
      gst/tcp/gstmultifdsink.c: If caps change, then update the client's idea of the caps so that we don't end up re-sendin...
      
      Original commit message from CVS:
      * gst/tcp/gstmultifdsink.c:
      (gst_multi_fd_sink_client_queue_buffer):
      If caps change, then update the client's idea of the caps so that we
      don't end up re-sending streamheaders for every single buffer after
      the caps change.
      0b8488ee
    • Michael Smith's avatar
      ext/ogg/gstoggparse.c: Set caps on pushed buffers; fix up refcounting of caps objects. · 107c7bf8
      Michael Smith authored
      Original commit message from CVS:
      * ext/ogg/gstoggparse.c: (gst_ogg_parse_dispose),
      (gst_ogg_parse_append_header), (gst_ogg_parse_chain):
      Set caps on pushed buffers; fix up refcounting of caps objects.
      107c7bf8
  8. 19 Oct, 2006 3 commits
  9. 18 Oct, 2006 7 commits
    • Tim-Philipp Müller's avatar
      gst/subparse/gstsubparse.c: Fix memleak; clear subparse->textbuf n state change function. · b9063640
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
      (gst_sub_parse_change_state):
      Fix memleak; clear subparse->textbuf n state change function.
      b9063640
    • Tim-Philipp Müller's avatar
      gst/subparse/gstsubparse.c: Don't require subrip (.srt) files to start with a chunk number of 1. · aab5744b
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c:
      (gst_sub_parse_data_format_autodetect):
      Don't require subrip (.srt) files to start with a chunk number of 1.
      aab5744b
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.*: Extract rate from the NEWSEGMENT event. · 1166abbc
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_event), (gst_base_audio_sink_render):
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      Extract rate from the NEWSEGMENT event.
      Use commit_full to also take rate adjustment into account when writing
      samples to the ringbuffer.
      * gst-libs/gst/audio/gstringbuffer.c:
      (gst_ring_buffer_commit_full), (gst_ring_buffer_commit),
      (gst_ring_buffer_read):
      * gst-libs/gst/audio/gstringbuffer.h:
      Added _commit_full() to also take rate into account.
      Use simple interpolation algorithm to resample audio.
      API: gst_ring_buffer_commit_full()
      * tests/examples/seek/scrubby.c: (speed_cb), (do_seek):
      * tests/examples/seek/seek.c: (segment_done):
      Don't try to seek with 0.0 rate, just pause instead.
      Remove bogus debug line.
      1166abbc
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybasebin.c: Catch async errors when starting up the... · 453f0607
      Tim-Philipp Müller authored
      gst/playback/gstplaybasebin.c: Catch async errors when starting up the subtitle bin, so we can stop waiting and conti...
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (subbin_startup_sync_msg),
      (setup_source):
      Catch async errors when starting up the subtitle bin, so we can
      stop waiting and continue with the main film instead of hanging
      forever. Fixes #339366.
      * tests/check/elements/playbin.c: (playbin_suite):
      Enable unit test for the above.
      453f0607
    • Tim-Philipp Müller's avatar
      tests/check/: Some small and basic unit tests for playbin; not very useful... · 1fff3118
      Tim-Philipp Müller authored
      tests/check/: Some small and basic unit tests for playbin; not very useful yet, but at least a start.
      
      Original commit message from CVS:
      * tests/check/Makefile.am:
      * tests/check/elements/.cvsignore:
      * tests/check/elements/playbin.c: (GST_START_TEST),
      (gst_red_video_src_uri_get_type),
      (gst_red_video_src_uri_get_protocols),
      (gst_red_video_src_uri_get_uri), (gst_red_video_src_uri_set_uri),
      (gst_red_video_src_uri_handler_init),
      (gst_red_video_src_init_type), (gst_red_video_src_base_init),
      (gst_red_video_src_create), (gst_red_video_src_class_init),
      (gst_red_video_src_init), (plugin_init), (playbin_suite):
      Some small and basic unit tests for playbin; not very useful yet,
      but at least a start.
      1fff3118
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybin.c: The old pad activation spiel. · 1e57021e
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/playback/gstplaybin.c: (setup_sinks):
      The old pad activation spiel.
      1e57021e
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybasebin.c: Don't hang forever if the subbin already fails... · 4e50cce0
      Tim-Philipp Müller authored
      gst/playback/gstplaybasebin.c: Don't hang forever if the subbin already fails to start up in the state change to PAUS...
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (setup_source):
      Don't hang forever if the subbin already fails to start up in
      the state change to PAUSED (#339366).
      4e50cce0
  10. 17 Oct, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/interfaces/tuner.c: Fix some function guards, add some more function guards. · acba2484
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/interfaces/tuner.c: (gst_tuner_list_channels),
      (gst_tuner_set_channel), (gst_tuner_get_channel),
      (gst_tuner_list_norms), (gst_tuner_set_norm), (gst_tuner_get_norm),
      (gst_tuner_set_frequency), (gst_tuner_get_frequency),
      (gst_tuner_signal_strength), (gst_tuner_find_norm_by_name),
      (gst_tuner_find_channel_by_name):
      Fix some function guards, add some more function guards.
      acba2484
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: Don't return a pad from get_our_ghost_pad unless... · 7696cf6a
      Jan Schmidt authored
      gst/playback/gstdecodebin.c: Don't return a pad from get_our_ghost_pad unless it is actually the one we want.
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (get_our_ghost_pad),
      (remove_element_chain):
      Don't return a pad from get_our_ghost_pad unless it is actually the
      one we want.
      Change a cast in remove_element_chain slightly.
      7696cf6a
  11. 13 Oct, 2006 4 commits
    • Julien Moutte's avatar
      tests/examples/seek/seek.c: Segment seeking needs to use the rate and set stop to -1. · 3456ed16
      Julien Moutte authored
      Original commit message from CVS:
      2006-10-13  Julien MOUTTE  <julien@moutte.net>
      
      * tests/examples/seek/seek.c: (do_seek), (start_seek),
      (rate_spinbutton_changed_cb), (segment_done),
      (msg_state_changed):
      Segment seeking needs to use the rate and set stop to -1.
      3456ed16
    • Ville Syrjala's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Don't crash when ringbuffer is not yet created. · 9b139e41
      Ville Syrjala authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_setcaps):
      Don't crash when ringbuffer is not yet created.
      Patch by: Ville Syrjala <ville dot syrjala at movial dot fi>
      Fixes #361634.
      * gst/playback/gstplaybasebin.c: (new_decoded_pad_full):
      * gst/playback/gststreamselector.c:
      (gst_stream_selector_request_new_pad):
      Activate pads befre adding them to running elements.
      9b139e41
    • Julien Moutte's avatar
      tests/examples/seek/seek.c: Stop the scale updater when we start grabing the... · 9e9538c6
      Julien Moutte authored
      tests/examples/seek/seek.c: Stop the scale updater when we start grabing the slider. Don't wait for the pipeline to b...
      
      Original commit message from CVS:
      2006-10-13  Julien MOUTTE  <julien@moutte.net>
      
      * tests/examples/seek/seek.c: (do_seek), (start_seek),
      (rate_spinbutton_changed_cb), (msg_state_changed): Stop the
      scale
      updater when we start grabing the slider. Don't wait for the
      pipeline to be PAUSED.
      9e9538c6
    • Tim-Philipp Müller's avatar
      gst-libs/gst/interfaces/mixer.c: Guard mixer interface functions against bogus arguments. · e01b8a62
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/interfaces/mixer.c: (gst_mixer_list_tracks),
      (gst_mixer_set_volume), (gst_mixer_get_volume),
      (gst_mixer_set_mute), (gst_mixer_set_option),
      (gst_mixer_get_option), (gst_mixer_mute_toggled),
      (gst_mixer_record_toggled), (gst_mixer_volume_changed),
      (gst_mixer_option_changed):
      Guard mixer interface functions against bogus arguments.
      e01b8a62
  12. 12 Oct, 2006 2 commits
    • Julien Moutte's avatar
      tests/examples/seek/seek.c: Use state-changed messages to trigger start/stop... · 9f9b8241
      Julien Moutte authored
      tests/examples/seek/seek.c: Use state-changed messages to trigger start/stop of scale update timer. Indeed the scale ...
      
      Original commit message from CVS:
      2006-10-12  Julien MOUTTE  <julien@moutte.net>
      
      * tests/examples/seek/seek.c: (do_seek), (start_seek),
      (stop_seek),
      (play_cb), (pause_cb), (stop_cb),
      (rate_spinbutton_changed_cb),
      (msg_state_changed), (main): Use state-changed messages to
      trigger
      start/stop of scale update timer. Indeed the scale slider was
      jumping here and there because the update timer was activated
      before seek completed. This fixes instant applying of rate
      changes
      by pressing the spinbutton like a crazy man !
      9f9b8241
    • Sebastien Cote's avatar
      gst-libs/gst/rtp/gstbasertppayload.c: Fix two small memory leaks (#361456). · 014ce151
      Sebastien Cote authored
      Original commit message from CVS:
      Patch by: Sebastien Cote  <sebas642 at yahoo.ca>
      * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_init),
      (gst_basertppayload_finalize):
      Fix two small memory leaks (#361456).
      014ce151
  13. 10 Oct, 2006 4 commits
    • Julien Moutte's avatar
      tests/examples/seek/seek.c: When changing spinbutton we try to change the rate on the fly. · 56276ba8
      Julien Moutte authored
      Original commit message from CVS:
      2006-10-10  Julien MOUTTE  <julien@moutte.net>
      
      * tests/examples/seek/seek.c: (do_seek),
      (rate_spinbutton_changed_cb): When changing spinbutton we try
      to change the rate on the fly.
      56276ba8
    • Wim Taymans's avatar
      gst-libs/gst/riff/: Add WMS caps. · 98b1630f
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-ids.h:
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
      (gst_riff_create_audio_template_caps):
      Add WMS caps.
      98b1630f
    • Josep Torre Valles's avatar
      ext/gnomevfs/: Fix URI interface implementation return type. · 4de10dac
      Josep Torre Valles authored
      Original commit message from CVS:
      2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
      
      Patch by: Josep Torre Valles <josep@fluendo.com>
      
      * ext/gnomevfs/gstgnomevfssink.c:
      * ext/gnomevfs/gstgnomevfssrc.c:
      Fix URI interface implementation return type.
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_set_property):
      Fix what looks like a copy/paste issue when assigning values.
      * gst-libs/gst/audio/gstaudiofiltertemplate.c:
      (gst_audio_filter_template_get_type):
      Cast to prevent Forte warnings.
      * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
      Fix URI interface implementation return type.
      gst_pad_query_position requires a signed integer pointer as
      3rd parameter, GstClockTime is unsigned.
      * gst/audioconvert/audioconvert.c:
      Fix integer overflow when treated as signed.
      * gst/audioresample/resample.c: (resample_add_input_data):
      Cast to prevent warnings on Forte.
      * gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette):
      Fix integer overflow when treated as signed.
      * gst/ffmpegcolorspace/imgconvert_template.h:
      Fix integer overflow when treated as signed. RGBA_OUT shifts bits.
      * gst/playback/gstdecodebin.c: (queue_filled_cb),
      (cleanup_decodebin):
      Who initialises a guint to -1!
      Cast function pointers to prevent warnings on Forte.
      * gst/playback/gstplaybasebin.c: (queue_deadlock_check),
      (queue_threshold_reached):
      Cast function pointers correctly to prevent warnings on Forte.
      * gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
      Cast function pointers correctly to prevent warnings on Forte.
      * gst/subparse/gstssaparse.c: (gst_ssa_parse_setcaps):
      Obvious change to unsigned, 0xEF > max signed char.
      * gst/tcp/gstmultifdsink.c: (get_buffers_max), (count_burst_unit):
      GstClockTime is unsigned, initialise correctly.
      * gst/tcp/gsttcp.c: (gst_tcp_socket_write):
      Cast so pointer arithemetic doesn't cause warnings on Forte.
      * gst/videorate/gstvideorate.c:
      Use correct return value.
      * tests/examples/seek/scrubby.c:
      GstClockTime is unsigned, initialise correctly.
      4de10dac
    • Ferenc Gerlits's avatar
      gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files... · 667ba928
      Ferenc Gerlits authored
      gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files shorter than 256 bytes as well (fixes #35...
      
      Original commit message from CVS:
      Patch by: Ferenc Gerlits  <fgerlits at gmail com>
      * gst/typefind/gsttypefindfunctions.c:
      Recognise XML files and XML-like files shorter than 256 bytes as
      well (fixes #359237).
      667ba928
  14. 09 Oct, 2006 1 commit