1. 10 Jul, 2009 1 commit
  2. 08 Jul, 2009 3 commits
  3. 07 Jul, 2009 3 commits
  4. 10 Jul, 2008 1 commit
    • Stefan Kost's avatar
      Cleanup Plugin docs. Link to signals and properties. Fix sub-section titles.... · 2b33c755
      Stefan Kost authored
      Cleanup Plugin docs. Link to signals and properties. Fix sub-section titles. Drop mentining that all our example pipe...
      
      Original commit message from CVS:
      * docs/plugins/gst-plugins-base-plugins-docs.sgml:
      * docs/plugins/gst-plugins-base-plugins-overrides.txt:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * docs/plugins/gst-plugins-base-plugins.args:
      * docs/plugins/gst-plugins-base-plugins.hierarchy:
      * docs/plugins/gst-plugins-base-plugins.interfaces:
      * docs/plugins/gst-plugins-base-plugins.prerequisites:
      * docs/plugins/gst-plugins-base-plugins.signals:
      * 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-playback.xml:
      * docs/plugins/inspect/plugin-queue2.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-uridecodebin.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:
      * ext/alsa/gstalsamixer.c:
      * ext/alsa/gstalsasink.c:
      * ext/alsa/gstalsasrc.c:
      * ext/gio/gstgiosink.c:
      * ext/gio/gstgiosrc.c:
      * ext/gio/gstgiostreamsink.c:
      * ext/gio/gstgiostreamsrc.c:
      * ext/gnomevfs/gstgnomevfssink.c:
      * ext/gnomevfs/gstgnomevfssrc.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggmux.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/theora/theoraparse.c:
      * ext/vorbis/vorbisdec.c:
      * ext/vorbis/vorbisenc.c:
      * ext/vorbis/vorbisparse.c:
      * ext/vorbis/vorbistag.c:
      * gst/adder/gstadder.c:
      * gst/audioconvert/gstaudioconvert.c:
      * gst/audioresample/gstaudioresample.c:
      * gst/audiotestsrc/gstaudiotestsrc.c:
      * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
      * gst/gdp/gstgdpdepay.c:
      * gst/gdp/gstgdppay.c:
      * gst/playback/gstdecodebin2.c:
      * gst/playback/gstplaybin.c:
      * gst/playback/gstplaybin2.c:
      * gst/playback/gstqueue2.c:
      * gst/playback/gsturidecodebin.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gsttcpserversink.c:
      * gst/videorate/gstvideorate.c:
      * gst/videoscale/gstvideoscale.c:
      * gst/videotestsrc/gstvideotestsrc.c:
      * gst/volume/gstvolume.c:
      * sys/ximage/ximagesink.c:
      * sys/xvimage/xvimagesink.c:
      Cleanup Plugin docs. Link to signals and properties. Fix sub-section
      titles. Drop mentining that all our example pipelines are "simple"
      pipelines.
      2b33c755
  5. 11 Jun, 2008 1 commit
    • Sebastian Dröge's avatar
      ext/gio/gstgiobasesrc.*: Try to read the requested number of bytes, even if... · bb595d8f
      Sebastian Dröge authored
      ext/gio/gstgiobasesrc.*: Try to read the requested number of bytes, even if the first read returns less than requeste...
      
      Original commit message from CVS:
      * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_finalize),
      (gst_gio_base_src_create):
      * ext/gio/gstgiobasesrc.h:
      Try to read the requested number of bytes, even if the first
      read returns less than requested, until nothing is read anymore
      or we have the requested amount of bytes. This fixes playback of
      files via Samba as Samba only allows to read 64k at once.
      Implement a caching algorithm that makes sure that we read at
      least 4k of data every time. Some elements will try to read a few
      bytes, then seek, read again a few bytes and so on and this is
      painfully slow as every operation has to go over DBus if GVfs is
      used as backend.
      Fixes bug #536849 and #536848.
      * ext/gio/gstgiosrc.c: (gst_gio_src_class_init),
      (gst_gio_src_check_get_range):
      Override check_get_range() to blacklist http/https URIs
      and whitelist file URIs. More to be added on demand.
      bb595d8f
  6. 20 Apr, 2008 1 commit
    • Sebastian Dröge's avatar
      ext/gio/gstgio.c: Don't generate a new supported protocols list on each call... · 9f83e909
      Sebastian Dröge authored
      ext/gio/gstgio.c: Don't generate a new supported protocols list on each call but cache it. It's supposed to be static...
      
      Original commit message from CVS:
      * ext/gio/gstgio.c: (_internal_get_supported_protocols),
      (gst_gio_get_supported_protocols):
      Don't generate a new supported protocols list on each call but cache
      it. It's supposed to be static anyway, this way we only leak it once
      per process.
      * ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
      (gst_gio_sink_class_init), (gst_gio_sink_finalize),
      (gst_gio_sink_set_property), (gst_gio_sink_get_property),
      (gst_gio_sink_start):
      * ext/gio/gstgiosink.h:
      * ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
      (gst_gio_src_class_init), (gst_gio_src_finalize),
      (gst_gio_src_set_property), (gst_gio_src_get_property),
      (gst_gio_src_start):
      * ext/gio/gstgiosrc.h:
      API: Add "file" properties where one can set a GFile as source/destination.
      Add locking to the properties and use gst_element_class_set_details_simple()
      instead of a static GstElementDetails struct.
      9f83e909
  7. 22 Mar, 2008 1 commit
    • Sebastian Dröge's avatar
      Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings... · 49deb0c0
      Sebastian Dröge authored
      Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i.e. all). This gives us less memory u...
      
      Original commit message from CVS:
      * configure.ac:
      * ext/alsa/gstalsamixerelement.c:
      (gst_alsa_mixer_element_class_init):
      * ext/alsa/gstalsasink.c: (gst_alsasink_class_init):
      * ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init):
      * ext/cdparanoia/gstcdparanoiasrc.c:
      (gst_cd_paranoia_src_class_init):
      * ext/gio/gstgiosink.c: (gst_gio_sink_class_init):
      * ext/gio/gstgiosrc.c: (gst_gio_src_class_init):
      * ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_class_init):
      * ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_class_init):
      * ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
      * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init):
      * ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init):
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
      * ext/pango/gsttextrender.c: (gst_text_render_class_init):
      * ext/theora/theoradec.c: (gst_theora_dec_class_init):
      * ext/theora/theoraenc.c: (gst_theora_enc_class_init):
      * ext/theora/theoraparse.c: (gst_theora_parse_class_init):
      * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_class_init):
      * gst-libs/gst/audio/gstaudiofiltertemplate.c:
      (gst_audio_filter_template_class_init):
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_class_init):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_class_init):
      * gst-libs/gst/cdda/gstcddabasesrc.c:
      (gst_cdda_base_src_class_init):
      * gst-libs/gst/interfaces/mixertrack.c:
      (gst_mixer_track_class_init):
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_class_init):
      * gst-libs/gst/rtp/gstbasertppayload.c:
      (gst_basertppayload_class_init):
      * gst/audioconvert/gstaudioconvert.c:
      (gst_audio_convert_class_init):
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_class_init):
      * gst/audioresample/gstaudioresample.c:
      (gst_audioresample_class_init):
      * gst/audiotestsrc/gstaudiotestsrc.c:
      (gst_audio_test_src_class_init):
      * gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init):
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init):
      * gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
      (preroll_unlinked):
      * gst/playback/gstplaybin.c: (gst_play_bin_class_init):
      * gst/playback/gstplaybin2.c: (gst_play_bin_class_init):
      * gst/playback/gstplaysink.c: (gst_play_sink_class_init):
      * gst/playback/gstqueue2.c: (gst_queue_class_init):
      * gst/playback/gststreaminfo.c: (gst_stream_info_class_init):
      * gst/playback/gststreamselector.c: (gst_selector_pad_class_init),
      (gst_stream_selector_class_init):
      * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init):
      * gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
      * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
      * gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
      * gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
      * gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
      * gst/videorate/gstvideorate.c: (gst_video_rate_class_init):
      * gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
      * gst/videotestsrc/gstvideotestsrc.c:
      (gst_video_test_src_class_init):
      * gst/volume/gstvolume.c: (gst_volume_class_init):
      * sys/v4l/gstv4lelement.c: (gst_v4lelement_class_init):
      * sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
      * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init):
      * sys/ximage/ximagesink.c: (gst_ximagesink_class_init):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
      Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use
      static strings (i.e. all). This gives us less memory usage,
      fewer allocations and thus less memory defragmentation. Depend
      on core CVS for this. Fixes bug #523806.
      49deb0c0
  8. 17 Feb, 2008 1 commit
    • Sebastian Dröge's avatar
      ext/gio/: Don't use async operations as they require a running main loop. · 1d9cd2a5
      Sebastian Dröge authored
      Original commit message from CVS:
      * ext/gio/gstgiobasesink.c: (gst_gio_base_sink_stop),
      (gst_gio_base_sink_set_stream):
      * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_stop),
      (gst_gio_base_src_set_stream):
      * ext/gio/gstgiosink.c: (gst_gio_sink_start):
      * ext/gio/gstgiosrc.c: (gst_gio_src_start):
      Don't use async operations as they require a running main loop.
      This makes us block again when closing streams and unable
      to mount the enclosing volume of an URI if it isn't yet.
      1d9cd2a5
  9. 15 Feb, 2008 1 commit
    • Sebastian Dröge's avatar
      ext/gio/: Improve debugging a bit. · a8a8d689
      Sebastian Dröge authored
      Original commit message from CVS:
      * ext/gio/gstgiobasesink.c: (close_stream_cb):
      * ext/gio/gstgiobasesrc.c: (close_stream_cb):
      Improve debugging a bit.
      * ext/gio/gstgiosink.c: (mount_cb), (gst_gio_sink_start):
      * ext/gio/gstgiosink.h:
      * ext/gio/gstgiosrc.c: (mount_cb), (gst_gio_src_start):
      * ext/gio/gstgiosrc.h:
      Try to mount the enclosing volume of a GFile if it isn't mounted
      yet. This requires us to wait for an async operation to finish, done
      with an nested GMainLoop. Authentication is not supported yet, will
      come later.
      a8a8d689
  10. 12 Feb, 2008 1 commit
  11. 07 Nov, 2007 2 commits
    • Sebastian Dröge's avatar
      ext/gio/gstgio.h: Add macro to check if a stream supports seeking. · 675f5de6
      Sebastian Dröge authored
      Original commit message from CVS:
      * ext/gio/gstgio.h:
      Add macro to check if a stream supports seeking.
      * ext/gio/Makefile.am:
      * ext/gio/gstgiobasesink.c: (gst_gio_base_sink_base_init),
      (gst_gio_base_sink_class_init), (gst_gio_base_sink_init),
      (gst_gio_base_sink_finalize), (gst_gio_base_sink_start),
      (gst_gio_base_sink_stop), (gst_gio_base_sink_unlock),
      (gst_gio_base_sink_unlock_stop), (gst_gio_base_sink_event),
      (gst_gio_base_sink_render), (gst_gio_base_sink_query),
      (gst_gio_base_sink_set_stream):
      * ext/gio/gstgiobasesink.h:
      * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_base_init),
      (gst_gio_base_src_class_init), (gst_gio_base_src_init),
      (gst_gio_base_src_finalize), (gst_gio_base_src_start),
      (gst_gio_base_src_stop), (gst_gio_base_src_get_size),
      (gst_gio_base_src_is_seekable), (gst_gio_base_src_unlock),
      (gst_gio_base_src_unlock_stop), (gst_gio_base_src_check_get_range),
      (gst_gio_base_src_create), (gst_gio_base_src_set_stream):
      * ext/gio/gstgiobasesrc.h:
      Refactor common GIO functions to GstGioBaseSink and GstGioBaseSrc
      base classes that only require a GInputStream or GOutputStream to
      work.
      * ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
      (gst_gio_sink_class_init), (gst_gio_sink_init),
      (gst_gio_sink_finalize), (gst_gio_sink_start):
      * ext/gio/gstgiosink.h:
      * ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
      (gst_gio_src_class_init), (gst_gio_src_init),
      (gst_gio_src_finalize), (gst_gio_src_start):
      * ext/gio/gstgiosrc.h:
      Use the newly created base classes here.
      * ext/gio/gstgio.c: (plugin_init):
      * ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_base_init),
      (gst_gio_stream_sink_class_init), (gst_gio_stream_sink_init),
      (gst_gio_stream_sink_finalize), (gst_gio_stream_sink_set_property),
      (gst_gio_stream_sink_get_property):
      * ext/gio/gstgiostreamsink.h:
      * ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_base_init),
      (gst_gio_stream_src_class_init), (gst_gio_stream_src_init),
      (gst_gio_stream_src_finalize), (gst_gio_stream_src_set_property),
      (gst_gio_stream_src_get_property):
      * ext/gio/gstgiostreamsrc.h:
      Implement GstGioStreamSink and GstGioStreamSrc that have a property
      to set the GInputStream/GOutputStream that should be used.
      * tests/check/Makefile.am:
      * tests/check/pipelines/.cvsignore:
      * tests/check/pipelines/gio.c: (message_handler), (GST_START_TEST),
      (gio_testsuite), (main):
      Add unit test for giostreamsrc and giostreamsink.
      675f5de6
    • Sebastian Dröge's avatar
      ext/gio/gstgio.c: Remove nowadays unnecessary workaround for a crash. · cf7dfb86
      Sebastian Dröge authored
      Original commit message from CVS:
      * ext/gio/gstgio.c: (plugin_init):
      Remove nowadays unnecessary workaround for a crash.
      * ext/gio/gstgiosink.c: (gst_gio_sink_finalize),
      (gst_gio_sink_start), (gst_gio_sink_stop),
      (gst_gio_sink_unlock_stop):
      * ext/gio/gstgiosink.h:
      * ext/gio/gstgiosrc.c: (gst_gio_src_finalize), (gst_gio_src_start),
      (gst_gio_src_stop), (gst_gio_src_unlock_stop):
      * ext/gio/gstgiosrc.h:
      Make the finalize function safer, clean up everything that could stay
      around.
      Reset the cancellable instead of creating a new one after cancelling
      some operation.
      Don't store the GFile in the element, it's only necessary for creating
      the streams.
      cf7dfb86
  12. 29 Sep, 2007 1 commit
    • Sebastian Dröge's avatar
      ext/gio/: Some minor cleanup and allow setting the location only when the... · d4e3e0e7
      Sebastian Dröge authored
      ext/gio/: Some minor cleanup and allow setting the location only when the element is not playing or paused.
      
      Original commit message from CVS:
      * ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
      (gst_gio_sink_set_property), (gst_gio_sink_render):
      * ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
      (gst_gio_src_set_property):
      Some minor cleanup and allow setting the location only when the
      element is not playing or paused.
      d4e3e0e7
  13. 21 Sep, 2007 2 commits
    • Sebastian Dröge's avatar
      docs/plugins/: Add the GIO plugin to the docs and do a make update while doing that. · 2abc59f9
      Sebastian Dröge authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-bad-plugins-docs.sgml:
      * docs/plugins/gst-plugins-bad-plugins-sections.txt:
      * docs/plugins/gst-plugins-bad-plugins.args:
      * docs/plugins/gst-plugins-bad-plugins.signals:
      * docs/plugins/inspect/plugin-bz2.xml:
      * docs/plugins/inspect/plugin-cdxaparse.xml:
      * docs/plugins/inspect/plugin-dfbvideosink.xml:
      * docs/plugins/inspect/plugin-dtsdec.xml:
      * docs/plugins/inspect/plugin-equalizer.xml:
      * docs/plugins/inspect/plugin-faac.xml:
      * docs/plugins/inspect/plugin-faad.xml:
      * docs/plugins/inspect/plugin-filter.xml:
      * docs/plugins/inspect/plugin-freeze.xml:
      * docs/plugins/inspect/plugin-gio.xml:
      * docs/plugins/inspect/plugin-gsm.xml:
      * docs/plugins/inspect/plugin-gstrtpmanager.xml:
      * docs/plugins/inspect/plugin-h264parse.xml:
      * docs/plugins/inspect/plugin-modplug.xml:
      * docs/plugins/inspect/plugin-mpeg2enc.xml:
      * docs/plugins/inspect/plugin-musepack.xml:
      * docs/plugins/inspect/plugin-musicbrainz.xml:
      * docs/plugins/inspect/plugin-nsfdec.xml:
      * docs/plugins/inspect/plugin-replaygain.xml:
      * docs/plugins/inspect/plugin-soundtouch.xml:
      * docs/plugins/inspect/plugin-spcdec.xml:
      * docs/plugins/inspect/plugin-spectrum.xml:
      * docs/plugins/inspect/plugin-speed.xml:
      * docs/plugins/inspect/plugin-tta.xml:
      * docs/plugins/inspect/plugin-videosignal.xml:
      * docs/plugins/inspect/plugin-xingheader.xml:
      * docs/plugins/inspect/plugin-xvid.xml:
      Add the GIO plugin to the docs and do a make update
      while doing that.
      * ext/gio/gstgiosrc.c: (gst_gio_src_start):
      Fix a small memleak.
      2abc59f9
    • René Stadler's avatar
      Add a GIO/GVFS plugin with source and sink elements. This will only be enabled... · dfb24cf2
      René Stadler authored
      Add a GIO/GVFS plugin with source and sink elements. This will only be enabled when --enable-experimental is given to...
      
      Original commit message from CVS:
      Patch by: René Stadler <mail at renestadler dot de>
      * configure.ac:
      * ext/Makefile.am:
      * ext/gio/Makefile.am:
      * ext/gio/gstgio.c: (gst_gio_error), (gst_gio_seek),
      (gst_gio_get_supported_protocols),
      (gst_gio_uri_handler_get_type_sink),
      (gst_gio_uri_handler_get_type_src),
      (gst_gio_uri_handler_get_protocols), (gst_gio_uri_handler_get_uri),
      (gst_gio_uri_handler_set_uri), (gst_gio_uri_handler_init),
      (gst_gio_uri_handler_do_init), (plugin_init):
      * ext/gio/gstgio.h:
      * ext/gio/gstgiosink.c: (gst_gio_sink_base_init),
      (gst_gio_sink_class_init), (gst_gio_sink_init),
      (gst_gio_sink_finalize), (gst_gio_sink_set_property),
      (gst_gio_sink_get_property), (gst_gio_sink_start),
      (gst_gio_sink_stop), (gst_gio_sink_unlock),
      (gst_gio_sink_unlock_stop), (gst_gio_sink_event),
      (gst_gio_sink_render), (gst_gio_sink_query):
      * ext/gio/gstgiosink.h:
      * ext/gio/gstgiosrc.c: (gst_gio_src_base_init),
      (gst_gio_src_class_init), (gst_gio_src_init),
      (gst_gio_src_finalize), (gst_gio_src_set_property),
      (gst_gio_src_get_property), (gst_gio_src_start),
      (gst_gio_src_stop), (gst_gio_src_get_size),
      (gst_gio_src_is_seekable), (gst_gio_src_unlock),
      (gst_gio_src_unlock_stop), (gst_gio_src_check_get_range),
      (gst_gio_src_create):
      * ext/gio/gstgiosrc.h:
      Add a GIO/GVFS plugin with source and sink elements. This will
      only be enabled when --enable-experimental is given to configure
      for now as the GIO API is not stable yet. Fixes #476916.
      dfb24cf2