1. 18 Oct, 2006 2 commits
  2. 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
  3. 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
  4. 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
  5. 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
  6. 09 Oct, 2006 1 commit
  7. 08 Oct, 2006 1 commit
  8. 07 Oct, 2006 1 commit
    • Julien Moutte's avatar
      ext/pango/gsttextoverlay.c: Useless goto. · 3db2dfc0
      Julien Moutte authored
      Original commit message from CVS:
      2006-10-07  Julien MOUTTE  <julien@moutte.net>
      
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_text_event):
      Useless goto.
      * tests/examples/seek/seek.c: (do_seek),
      (rate_spinbutton_changed_cb), (main): Add a rate spinbutton in
      seek example to experiment with rates != 1.0 (reverse playback
      !)
      3db2dfc0
  9. 06 Oct, 2006 7 commits
  10. 05 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Printf format fixes. · 9e107d67
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/alsa/gstalsadeviceprobe.c:
      (gst_alsa_device_property_probe_get_values):
      * ext/alsa/gstalsasink.c: (set_hwparams):
      * ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_elem_pad),
      (gst_ogg_chain_new_stream), (gst_ogg_demux_read_chain):
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers),
      (gst_ogg_mux_process_best_pad):
      * ext/ogg/gstoggparse.c: (gst_ogg_parse_new_stream),
      (gst_ogg_parse_chain):
      * ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
      * ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_setup),
      (gst_vorbis_enc_buffer_check_discontinuous):
      * ext/vorbis/vorbisparse.c: (vorbis_parse_src_query):
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      * gst-libs/gst/cdda/gstcddabasesrc.c:
      (gst_cdda_base_src_handle_track_seek):
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_push_full):
      * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
      * gst/audioresample/resample.c: (resample_input_pushthrough):
      * gst/playback/gstplaybasebin.c: (queue_out_of_data):
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
      (wavpack_type_find):
      * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
      * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
      (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new):
      * tests/check/elements/volume.c: (GST_START_TEST):
      Printf format fixes.
      9e107d67
  11. 04 Oct, 2006 1 commit
  12. 03 Oct, 2006 3 commits
    • Tim-Philipp Müller's avatar
      docs/plugins/: Add vorbistag element to docs; update version numbers to 0.10.10.1. · d5c7d750
      Tim-Philipp Müller 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:
      * docs/plugins/gst-plugins-base-plugins.args:
      * docs/plugins/gst-plugins-base-plugins.hierarchy:
      * docs/plugins/inspect/plugin-adder.xml:
      * docs/plugins/inspect/plugin-alsa.xml:
      * docs/plugins/inspect/plugin-audioconvert.xml:
      * docs/plugins/inspect/plugin-audiorate.xml:
      * docs/plugins/inspect/plugin-audioresample.xml:
      * docs/plugins/inspect/plugin-audiotestsrc.xml:
      * docs/plugins/inspect/plugin-cdparanoia.xml:
      * docs/plugins/inspect/plugin-decodebin.xml:
      * docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
      * docs/plugins/inspect/plugin-gdp.xml:
      * docs/plugins/inspect/plugin-gnomevfs.xml:
      * docs/plugins/inspect/plugin-libvisual.xml:
      * docs/plugins/inspect/plugin-ogg.xml:
      * docs/plugins/inspect/plugin-pango.xml:
      * docs/plugins/inspect/plugin-playbin.xml:
      * docs/plugins/inspect/plugin-subparse.xml:
      * docs/plugins/inspect/plugin-tcp.xml:
      * docs/plugins/inspect/plugin-theora.xml:
      * docs/plugins/inspect/plugin-typefindfunctions.xml:
      * docs/plugins/inspect/plugin-video4linux.xml:
      * docs/plugins/inspect/plugin-videorate.xml:
      * docs/plugins/inspect/plugin-videoscale.xml:
      * docs/plugins/inspect/plugin-videotestsrc.xml:
      * docs/plugins/inspect/plugin-volume.xml:
      * docs/plugins/inspect/plugin-vorbis.xml:
      * docs/plugins/inspect/plugin-ximagesink.xml:
      * docs/plugins/inspect/plugin-xvimagesink.xml:
      Add vorbistag element to docs; update version numbers to 0.10.10.1.
      d5c7d750
    • James Doc Livingston's avatar
      ext/vorbis/: Add new vorbistag element which derives from vorbisparse and is... · f88fbe13
      James Doc Livingston authored
      ext/vorbis/: Add new vorbistag element which derives from vorbisparse and is essentially the same as well, only that ...
      
      Original commit message from CVS:
      Patch by: James "Doc" Livingston <doclivingston at gmail com>
      * ext/vorbis/Makefile.am:
      * ext/vorbis/vorbis.c: (plugin_init):
      * ext/vorbis/vorbisparse.c: (gst_vorbis_parse_class_init),
      (vorbis_parse_parse_packet), (vorbis_parse_chain):
      * ext/vorbis/vorbisparse.h:
      * ext/vorbis/vorbistag.c: (gst_vorbis_tag_base_init),
      (gst_vorbis_tag_class_init), (gst_vorbis_tag_init),
      (gst_vorbis_tag_parse_packet):
      * ext/vorbis/vorbistag.h:
      Add new vorbistag element which derives from vorbisparse
      and is essentially the same as well, only that it implements
      the GstTagSetter interface and can modify the stream's
      vorbiscomment on the fly (#335635).
      * tests/check/Makefile.am:
      * tests/check/elements/.cvsignore:
      * tests/check/elements/vorbistag.c: (setup_vorbistag),
      (cleanup_vorbistag), (buffer_probe), (start_pipeline),
      (get_buffer), (stop_pipeline), (_create_codebook_header_buffer),
      (_create_audio_buffer), (GST_START_TEST), (vorbistag_suite):
      Add unit test for new vorbistag element.
      f88fbe13
    • Tim-Philipp Müller's avatar
      ext/vorbis/vorbisparse.c: Set BOS flag in packet structure to fix 'jump... · 623b0b53
      Tim-Philipp Müller authored
      ext/vorbis/vorbisparse.c: Set BOS flag in packet structure to fix 'jump depends on unitialized value' errors in valgr...
      
      Original commit message from CVS:
      * ext/vorbis/vorbisparse.c: (gst_vorbis_parse_init),
      (vorbis_parse_push_headers), (vorbis_parse_chain):
      Set BOS flag in packet structure to fix 'jump depends
      on unitialized value' errors in valgrind; various minor
      clean-ups.
      623b0b53
  13. 30 Sep, 2006 2 commits
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: Fix typo in a debug statement. · e2a039a5
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (close_pad_link):
      Fix typo in a debug statement.
      * gst/playback/gstplaybasebin.c: (probe_triggered),
      (new_decoded_pad_full), (new_decoded_pad), (subs_new_decoded_pad),
      (gen_source_element), (source_new_pad), (analyse_source),
      (setup_source):
      When handling no_more_pads in new_decoded_pad, make sure to treat
      subtitle pads correctly. Fixes playback with subtitle files.
      Move a recurring message to LOG level.
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
      The maximum value for the Xv colorkey on this Radeon is 0xFFFFFFFF,
      which ends up as -1 when cast to an int. Make the logic handle the
      max value as an unsigned mask and only change the colorkey when it's
      a value we recognise.
      e2a039a5
    • Philippe Kalaf's avatar
      gst-libs/gst/rtp/gstbasertpaudiopayload.c: Removed empty * between paragraphs · 306ab038
      Philippe Kalaf authored
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertpaudiopayload.c:
      Removed empty * between paragraphs
      306ab038
  14. 29 Sep, 2006 8 commits
  15. 28 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/playback/gstdecodebin.c: Implement delayed caps linking needed for element... · 5ed137a2
      Wim Taymans authored
      gst/playback/gstdecodebin.c: Implement delayed caps linking needed for element with a lot of different caps on the sr...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (dynamic_create), (dynamic_free),
      (close_pad_link), (dynamic_remove), (no_more_pads), (new_caps),
      (find_dynamic), (unlinked), (close_link):
      Implement delayed caps linking needed for element with a lot of
      different caps on the src pads that get fixed at runtime.
      Improve management of dynamic elements.
      * gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
      (group_destroy), (group_commit), (check_queue), (queue_overrun),
      (gen_preroll_element), (remove_groups), (unknown_type),
      (add_element_stream), (no_more_pads_full), (no_more_pads),
      (sub_no_more_pads), (source_no_more_pads), (preroll_unlinked),
      (new_decoded_pad), (setup_subtitle), (array_has_value),
      (gen_source_element), (source_new_pad), (has_all_raw_caps),
      (analyse_source), (remove_decoders), (make_decoder),
      (remove_source), (setup_source), (finish_source), (prepare_output),
      (gst_play_base_bin_change_state):
      * gst/playback/gstplaybasebin.h:
      Use more _CAST instead of full type checking casts.
      Small cleanups, plug some leaks.
      Handle dynamic sources.
      Add some helper functions to create lists of strings used for
      blacklisting and other stuff.
      Refactor some code dealing with analysing the source.
      Re-enable sources without pads (like cd:// or other selfcontained
      elements).
      5ed137a2