1. 31 Oct, 2009 1 commit
  2. 29 Oct, 2009 39 commits
    • Sebastian Dröge's avatar
      queue2: Add to the docs · 9ff8c9a7
      Sebastian Dröge authored
      9ff8c9a7
    • Sebastian Dröge's avatar
      queue2: Use "Queue 2" as long name · 22fbce48
      Sebastian Dröge authored
      22fbce48
    • Sebastian Dröge's avatar
    • Sebastian Dröge's avatar
      5c821a0d
    • Sebastian Dröge's avatar
      queue2: Integrate into coreplugins · 40732dd3
      Sebastian Dröge authored
      40732dd3
    • Sebastian Dröge's avatar
      08e3cb53
    • Sebastian Dröge's avatar
      queue2: Move queue2 to gstreamer coreplugins · 9236921a
      Sebastian Dröge authored
      Fixes bug #599996.
      9236921a
    • Tim-Philipp Müller's avatar
      Remove GST_DEBUG_FUNCPTR where they're pointless · d98dc478
      Tim-Philipp Müller authored
      There's not much point in using GST_DEBUG_FUNCPTR with GObject
      virtual functions such as get_property, set_propery, finalize and
      dispose, since they'll never be used by anyone anyway. Saves a
      few bytes and possibly a sixteenth of a polar bear.
      d98dc478
    • Wim Taymans's avatar
      queue2: add custom acceptcaps function · 141e06b5
      Wim Taymans authored
      141e06b5
    • Mark Nauwelaerts's avatar
      queue2: post error message when pausing task if so appropriate · f766708c
      Mark Nauwelaerts authored
      If a downstream element returns an error while upstream has already
      put all data into queue2 (including EOS), upstream will no longer
      chain into queue2, so it is up to queue2 to perform some
      EOS handling / message posting in such cases.  See #589991.
      f766708c
    • Wim Taymans's avatar
      queue2: fix leak and improve buffering · ec81bbf7
      Wim Taymans authored
      Keep track of the max requested position and compare this to the write position
      in the temp file to get the current amount of buffered data.
      Fix memleak of all incomming buffers.
      
      Fixes #588551
      ec81bbf7
    • Wim Taymans's avatar
      queue2: flush differently, avoiding deadlocks · 49c01cce
      Wim Taymans authored
      Don't flush the file by closing and opening it but instead use g_freopen. This
      avoids a deadlock in shutdown because we emit the temp-location property change
      with the wrong lock held.
      49c01cce
    • Wim Taymans's avatar
      queue2: add temp-template property · affe0aef
      Wim Taymans authored
      Add a new temp-template property so that queue2 can securely allocate a
      temporary filename. Deprecate the temp-location property for setting the
      location but still use it to notify the allocated temp file.
      affe0aef
    • LRN's avatar
      win32: fix seeking in large files · 4843c094
      LRN authored
      Fix Seeking in large files by using the 64-bit seek functions.
      Fixes #576019
      4843c094
    • Frederic Crozat's avatar
      Make sure gettext returns translations in UTF-8 encoding rather than in the... · 4ec6f02e
      Frederic Crozat authored
      Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
      
      Original commit message from CVS:
      Patch by: Frederic Crozat <fcrozat@mandriva.org>
      * ext/alsa/gstalsaplugin.c: (plugin_init):
      * ext/cdparanoia/gstcdparanoiasrc.c: (plugin_init):
      * ext/gnomevfs/gstgnomevfs.c: (plugin_init):
      * ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init):
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (_do_init):
      * gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
      * gst-libs/gst/tag/tags.c: (gst_tag_register_tags_internal):
      * gst/playback/gstdecodebin.c: (plugin_init):
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_plugin_init):
      * gst/playback/gstplayback.c: (plugin_init):
      * gst/playback/gstqueue2.c: (plugin_init):
      * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_plugin_init):
      * sys/v4l/gstv4l.c: (plugin_init):
      Make sure gettext returns translations in UTF-8 encoding rather
      than in the current locale encoding (#546822).
      4ec6f02e
    • Stefan Kost's avatar
      Cleanup Plugin docs. Link to signals and properties. Fix sub-section titles.... · f9fdf304
      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.
      f9fdf304
    • Stefan Kost's avatar
      gst/playback/gstqueue2.c: Do not double notify. Remove the unsued return value. · 917d1c4b
      Stefan Kost authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c:
      Do not double notify. Remove the unsued return value.
      917d1c4b
    • Wim Taymans's avatar
      docs/design/draft-keyframe-force.txt: Fix typo. · ca782894
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/draft-keyframe-force.txt:
      Fix typo.
      * gst/playback/gstqueue2.c: (update_buffering),
      (gst_queue_handle_src_query):
      Set buffering mode in the messages.
      Set buffering percent in the query.
      * tests/examples/seek/seek.c: (update_fill), (msg_state_changed),
      (do_stream_buffering), (do_download_buffering), (msg_buffering):
      Do some more fancy things based on the buffering method in use.
      ca782894
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Include extra buffering stats in the buffering message. · e9d3f791
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (update_buffering),
      (gst_queue_close_temp_location_file), (gst_queue_handle_src_query),
      (gst_queue_src_checkgetrange_function):
      Include extra buffering stats in the buffering message.
      Implement BUFFERING query.
      * gst/playback/gsturidecodebin.c: (do_async_start),
      (do_async_done), (type_found), (setup_streaming), (setup_source),
      (gst_uri_decode_bin_change_state):
      Only add decodebin2 when the type is found in streaming mode.
      Make uridecodebin async to PAUSED even when we don't have decodebin2
      added yet.
      e9d3f791
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Update the estimated input data when we push out a buffer. · fc13a730
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (update_out_rates),
      (gst_queue_open_temp_location_file),
      (gst_queue_close_temp_location_file), (gst_queue_handle_src_event),
      (gst_queue_handle_src_query), (gst_queue_set_property):
      Update the estimated input data when we push out a buffer.
      Add some debug info about the temp file.
      Only forward src events when we are not using a temp file.
      Don't block the duration query, we need to find something better.
      Don't leak the temp filename.
      fc13a730
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: The queue is never filled when there are no buffers in the queue at all. · 0e7fb0ff
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_is_filled):
      The queue is never filled when there are no buffers in the queue at all.
      Fixes #523993.
      0e7fb0ff
    • Sebastian Dröge's avatar
      Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings... · 301b7ba7
      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.
      301b7ba7
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Use separate timers for input and output rates. · 4de6a788
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_finalize),
      (reset_rate_timer), (update_in_rates), (update_out_rates),
      (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
      (gst_queue_chain), (gst_queue_loop):
      Use separate timers for input and output rates.
      Pause measuring the output rate when we block for more data.
      See #503262.
      4de6a788
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Pause the timer to measure the input rate when we... · 3fb28dfc
      Wim Taymans authored
      gst/playback/gstqueue2.c: Pause the timer to measure the input rate when we block because the queue is filled. See #5...
      
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_chain):
      Pause the timer to measure the input rate when we block because the
      queue is filled. See #503262.
      3fb28dfc
    • Wim Taymans's avatar
      gst/playback/: Refactor some common code to filter factories and check caps compat. · 2b5653dd
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      * gst/playback/gstfactorylists.c: (compare_ranks), (print_feature),
      (get_feature_array), (decoders_filter), (sinks_filter),
      (gst_factory_list_get_decoders), (gst_factory_list_get_sinks),
      (gst_factory_list_filter):
      * gst/playback/gstfactorylists.h:
      Refactor some common code to filter factories and check caps compat.
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
      (gst_decode_bin_init), (gst_decode_bin_dispose),
      (gst_decode_bin_autoplug_continue),
      (gst_decode_bin_autoplug_factories),
      (gst_decode_bin_autoplug_select), (analyze_new_pad),
      (find_compatibles):
      * gst/playback/gstplaybin.c:
      * gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
      (gst_play_bin_init), (gst_play_bin_finalize),
      (autoplug_factories_cb), (activate_group):
      * gst/playback/gstqueue2.c:
      * gst/playback/gsturidecodebin.c: (proxy_unknown_type_signal),
      (proxy_autoplug_continue_signal),
      (proxy_autoplug_factories_signal), (proxy_autoplug_select_signal),
      (proxy_drained_signal):
      Add some more debug info and use factor filtering code.
      2b5653dd
    • Wim Taymans's avatar
      gst/playback/: Add playbin2. · ca779938
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      * gst/playback/gstplayback.c: (plugin_init):
      * gst/playback/test7.c: (update_scale), (warning_cb), (error_cb),
      (eos_cb), (about_to_finish_cb), (main):
      Add playbin2.
      Added gapless playback example.
      * gst/playback/gstplaybasebin.c:
      * gst/playback/gstplaybasebin.h:
      * gst/playback/gstplaybin.c: (gst_play_bin_plugin_init):
      * gst/playback/gstqueue2.c:
      * gst/playback/test.c:
      * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init),
      (pad_removed_cb):
      * gst/playback/gststreaminfo.h:
      Change email.
      * gst/playback/gstplaybin2.c: (gst_play_bin_get_type),
      (gst_play_bin_class_init), (init_group), (gst_play_bin_init),
      (gst_play_bin_dispose), (gst_play_bin_set_uri),
      (gst_play_bin_set_suburi), (gst_play_bin_set_property),
      (gst_play_bin_get_property), (gst_play_bin_handle_message),
      (pad_added_cb), (pad_removed_cb), (no_more_pads_cb), (perform_eos),
      (drained_cb), (unlink_group), (activate_group),
      (setup_next_source), (gst_play_bin_change_state),
      (gst_play_bin2_plugin_init):
      Added raw first version of playbin2. Does chained oggs and gapless
      playback fine. No support for raw sinks yet. No visualisations or
      subtitles yet.
      * gst/playback/gstplaysink.c: (gst_play_sink_get_type),
      (gst_play_sink_class_init), (gst_play_sink_init),
      (gst_play_sink_dispose), (gst_play_sink_vis_unblocked),
      (gst_play_sink_vis_blocked), (gst_play_sink_set_video_sink),
      (gst_play_sink_set_audio_sink), (gst_play_sink_set_vis_plugin),
      (gst_play_sink_set_property), (gst_play_sink_get_property),
      (post_missing_element_message), (free_chain), (add_chain),
      (activate_chain), (gen_video_chain), (gen_text_element),
      (gen_audio_chain), (gen_vis_element), (gst_play_sink_get_mode),
      (gst_play_sink_set_mode), (gst_play_sink_request_pad),
      (gst_play_sink_release_pad), (gst_play_sink_send_event_to_sink),
      (gst_play_sink_send_event), (gst_play_sink_change_state):
      * gst/playback/gstplaysink.h:
      Added Element that abstracts the sinks and their pipelines for playbin2.
      ca779938
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Fix queue negotiation. See #486758. · 7d6d46fe
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_push_one):
      Fix queue negotiation. See #486758.
      7d6d46fe
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Fix compilation wrt printf arguments. · 73be0c35
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_push_one):
      Fix compilation wrt printf arguments.
      73be0c35
    • Jan Schmidt's avatar
      Fix a bunch of compile warnings shown with Forte. · a4614d8c
      Jan Schmidt authored
      Original commit message from CVS:
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
      (gst_text_overlay_set_property):
      * ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_render):
      * gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_ntp_to_unix),
      (gst_rtcp_unix_to_ntp):
      * gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_get_type):
      * gst/playback/gstqueue2.c:
      * tests/examples/seek/seek.c: (set_scale):
      Fix a bunch of compile warnings shown with Forte.
      * gst/audiorate/gstaudiorate.c:
      Always pull in config.h before including any system headers.
      a4614d8c
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Also fix #476514 for queue2. · ff4e3e7b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (update_buffering),
      (gst_queue_locked_flush), (gst_queue_locked_enqueue),
      (gst_queue_handle_sink_event), (gst_queue_chain),
      (gst_queue_push_one), (gst_queue_sink_activate_push),
      (gst_queue_src_activate_push), (gst_queue_src_activate_pull):
      Also fix #476514 for queue2.
      ff4e3e7b
    • Tim-Philipp Müller's avatar
      gst/: Printf format fixes (#465028). · 48d4fd8f
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c:
      * gst/videorate/gstvideorate.c:
      Printf format fixes (#465028).
      48d4fd8f
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Use other metrics as well when estimating the buffer level. · da7a699c
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (apply_segment), (update_buffering):
      Use other metrics as well when estimating the buffer level.
      da7a699c
    • Wim Taymans's avatar
      gst/playback/gstplaybasebin.c: Small debug improvement. · ee4e5d2b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (make_decoder), (setup_source):
      Small debug improvement.
      * gst/playback/gstqueue2.c: (apply_segment), (update_buffering),
      (plugin_init):
      Tweak the rate estimation period.
      When calculating the buffer filledness in rate estimation mode, don't
      mix it with other metrics.
      ee4e5d2b
    • David Schleef's avatar
      gst/playback/gstqueue2.c: Fix compile error from ignored return value. · 0b6ee4f4
      David Schleef authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c:
      Fix compile error from ignored return value.
      0b6ee4f4
    • Edward Hervey's avatar
      gst/playback/gstqueue2.c: Fix build on MacOSX. · 8fe34426
      Edward Hervey authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_create_read):
      Fix build on MacOSX.
      8fe34426
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Fix a division by zero when the max percent is <= 0.... · c26bff1a
      Wim Taymans authored
      gst/playback/gstqueue2.c: Fix a division by zero when the max percent is <= 0. Fixes #446572. also update the bufferi...
      
      Original commit message from CVS:
      Patches by: Thiago Sousa Santos <thiagossantos at gmail dot com>
      * gst/playback/gstqueue2.c: (update_buffering),
      (gst_queue_locked_enqueue):
      Fix a division by zero when the max percent is <= 0. Fixes #446572.
      also update the buffering status when receiving events. Fixes #446551.
      c26bff1a
    • Thiago Sousa Santos's avatar
      gst/playback/gstqueue2.c: Wait for preroll before attempting to forward a duration query upstream. · 27d8c584
      Thiago Sousa Santos authored
      Original commit message from CVS:
      Based on patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>
      * gst/playback/gstqueue2.c: (gst_queue_peer_query),
      (gst_queue_handle_src_query):
      Wait for preroll before attempting to forward a duration query upstream.
      Fixes #445505.
      27d8c584
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Fix compilation. · ee3f9d84
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_get_range):
      Fix compilation.
      ee3f9d84
    • Thiago Sousa Santos's avatar
      gst/playback/gstqueue2.c: Add pull based scheduling and fix some deadlocks. Fixes #444523. · 2d77f578
      Thiago Sousa Santos authored
      Original commit message from CVS:
      Patch by: Thiago Sousa Santos <thiagossantos at gmail dot com>
      * gst/playback/gstqueue2.c: (gst_queue_init),
      (gst_queue_handle_sink_event), (gst_queue_chain),
      (gst_queue_get_range), (gst_queue_src_checkgetrange_function),
      (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
      (gst_queue_src_activate_pull):
      Add pull based scheduling and fix some deadlocks. Fixes #444523.
      Does not yet completely work because duration queries upstream won't
      block yet.
      2d77f578