1. 07 Jul, 2008 1 commit
  2. 06 Jul, 2008 1 commit
    • Evgeniy Stepanov's avatar
      gst/playback/gstdecodebin.c: Add a queue after a demuxer if the demuxer... · bddd224b
      Evgeniy Stepanov authored
      gst/playback/gstdecodebin.c: Add a queue after a demuxer if the demuxer outputs raw data. This was done before only f...
      
      Original commit message from CVS:
      Patch by: Evgeniy Stepanov <eugeni dot stepanov at gmail dot com>
      * gst/playback/gstdecodebin.c: (add_raw_queue), (close_pad_link):
      Add a queue after a demuxer if the demuxer outputs raw data. This was
      done before only for non-raw data but is required in this case too.
      Fixes bug #540215.
      decodebin2 doesn't have this issue because all streams of a group
      go through multiqueue.
      bddd224b
  3. 22 May, 2008 2 commits
    • Jan Schmidt's avatar
      Add some documentation comments, and some new headers to be scanned. · d58def62
      Jan Schmidt authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * 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/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-gio.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/cdparanoia/gstcdparanoiasrc.c:
      * ext/ogg/gstoggdemux.c:
      * ext/ogg/gstoggdemux.h:
      * ext/ogg/gstoggmux.c:
      * ext/ogg/gstoggmux.h:
      * gst/audioconvert/audioconvert.c:
      * gst/audioconvert/audioconvert.h:
      * gst/audioconvert/gstaudioconvert.h:
      * gst/gdp/gstgdpdepay.h:
      * gst/gdp/gstgdppay.h:
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstdecodebin2.c:
      * gst/playback/gstplaybin.c:
      * gst/playback/gstplaybin2.c:
      * gst/playback/gsturidecodebin.c:
      * gst/tcp/gstmultifdsink.c:
      * gst/tcp/gstmultifdsink.h:
      * gst/tcp/gsttcp.h:
      Add some documentation comments, and some new headers to be scanned.
      Rename some internal enum declarations (audioconvert's DitherType and
      NoiseShapingType, GstUnitType from the TCP elements) to match the
      documented GObject type names so that the docs pick them up.
      Name the playbin2 docs markups properly so they get picked up. They'll
      need renaming back when/if playbin2 becomes playbin.
      100% symbol coverage for the plugin docs, booya.
      d58def62
    • Sjoerd Simons's avatar
      gst/playback/gstdecodebin.c: Lock the fakesink before setting the state to... · 1c424d9d
      Sjoerd Simons authored
      gst/playback/gstdecodebin.c: Lock the fakesink before setting the state to NULL and removing it from the bin so that ...
      
      Original commit message from CVS:
      Patch by: Sjoerd Simons <sjoerd at luon dot net>
      * gst/playback/gstdecodebin.c: (remove_fakesink):
      Lock the fakesink before setting the state to NULL and removing it from
      the bin so that a concurrent state change cannot interfere.
      Fixes #534331.
      1c424d9d
  4. 21 May, 2008 1 commit
    • Wim Taymans's avatar
      Don't use bad gst_element_get_pad(). · c6b54c3d
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
      * gst/playback/decodetest.c: (new_decoded_pad_cb):
      * gst/playback/gstdecodebin.c: (gst_decode_bin_init),
      (try_to_link_1), (elem_is_dynamic), (close_link), (type_found),
      (cleanup_decodebin):
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
      (connect_element), (gst_decode_group_control_demuxer_pad):
      * gst/playback/gstplaybasebin.c: (queue_remove_probe),
      (queue_out_of_data), (gen_preroll_element), (preroll_unlinked),
      (mute_group_type):
      * gst/playback/gstplaybin.c: (gst_play_bin_vis_blocked),
      (gst_play_bin_set_property), (handoff), (gen_video_element),
      (gen_text_element), (gen_audio_element), (gen_vis_element),
      (remove_sinks), (add_sink), (setup_sinks):
      * gst/playback/gstplaybin2.c: (pad_added_cb), (no_more_pads_cb):
      * gst/playback/gstplaysink.c: (gst_play_sink_get_video_sink),
      (gst_play_sink_get_audio_sink), (gst_play_sink_vis_unblocked),
      (gst_play_sink_vis_blocked), (gst_play_sink_set_vis_plugin),
      (gst_play_sink_get_vis_plugin), (gst_play_sink_set_mute),
      (gen_video_chain), (gen_text_chain), (gen_audio_chain),
      (gen_vis_chain), (gst_play_sink_reconfigure),
      (gst_play_sink_set_font_desc), (gst_play_sink_get_font_desc),
      (gst_play_sink_request_pad):
      * gst/playback/gsturidecodebin.c: (type_found), (setup_source):
      * gst/playback/test.c: (gen_video_element), (gen_audio_element),
      (cb_newpad):
      * gst/playback/test6.c: (new_decoded_pad_cb):
      * tests/check/elements/audioconvert.c: (GST_START_TEST):
      * tests/check/elements/audiorate.c: (test_injector_chain),
      (do_perfect_stream_test):
      * tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
      * tests/check/elements/gdpdepay.c: (GST_START_TEST):
      * tests/check/elements/gnomevfssink.c:
      * tests/check/elements/textoverlay.c:
      (notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2):
      * tests/check/elements/videotestsrc.c: (GST_START_TEST):
      * tests/check/libs/cddabasesrc.c: (GST_START_TEST):
      * tests/check/pipelines/oggmux.c: (test_pipeline):
      * tests/check/pipelines/streamheader.c: (GST_START_TEST):
      * tests/check/pipelines/theoraenc.c: (GST_START_TEST):
      * tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
      * tests/examples/seek/scrubby.c: (make_wav_pipeline):
      * tests/examples/seek/seek.c: (make_mod_pipeline),
      (make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline),
      (make_sid_pipeline), (make_parse_pipeline), (make_vorbis_pipeline),
      (make_theora_pipeline), (make_vorbis_theora_pipeline),
      (make_avi_msmpeg4v3_mp3_pipeline), (make_mp3_pipeline),
      (make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline),
      (update_fill), (msg_buffering):
      Don't use bad gst_element_get_pad().
      c6b54c3d
  5. 13 May, 2008 1 commit
  6. 01 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/gstdecodebin.c: If we can't activate one of the decoders we... · ea0d78e8
      Tim-Philipp Müller authored
      gst/playback/gstdecodebin.c: If we can't activate one of the decoders we plugged in (such as, say, musepackdec) for s...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (free_pad_probe_for_element),
      (try_to_link_1):
      If we can't activate one of the decoders we plugged in (such as,
      say, musepackdec) for some reason (it might not support push mode,
      for example), remove any pad probes that close_pad_link() might
      have set up. This makes sure we later don't try to remove a probe
      for a pad that doesn't exist any longer, and avoids nast warnings
      and probably other things too.
      ea0d78e8
  7. 08 Jan, 2008 1 commit
  8. 30 Nov, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/: Refactor some common code to filter factories and check caps compat. · 11bf488b
      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.
      11bf488b
  9. 30 Oct, 2007 1 commit
  10. 16 Oct, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/gstdecodebin.c: Make the window for a race in typefind and... · d33d2be0
      Wim Taymans authored
      gst/playback/gstdecodebin.c: Make the window for a race in typefind and shutting down smaller until we figure out the...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (new_pad), (type_found):
      Make the window for a race in typefind and shutting down smaller until
      we figure out the right locking here. Avoids #485753 usually.
      * gst/playback/gstdecodebin2.c: (type_found), (pad_added_group_cb):
      Remove unneeded lock causing a race in typefind and shutting down.
      Fixes #485753.
      * gst/playback/gstplaybin.c: (gst_play_bin_change_state):
      Also remove sinks when going to NULL because we might not complete the
      state change to PAUSED, causing the PAUSED->READY state change not to
      happen.
      d33d2be0
  11. 08 Oct, 2007 2 commits
    • Wim Taymans's avatar
      gst/playback/: Don't disconnect the have_type signal because we never... · d0897a35
      Wim Taymans authored
      gst/playback/: Don't disconnect the have_type signal because we never reconnect it later on. Instead keep a variable ...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (type_found),
      (gst_decode_bin_change_state):
      * gst/playback/gstdecodebin2.c: (type_found),
      (gst_decode_bin_change_state):
      Don't disconnect the have_type signal because we never reconnect it
      later on. Instead keep a variable to see if we already detected a type.
      d0897a35
    • Wim Taymans's avatar
      gst/playback/: Unlink the signal handler when we found the type, we're not... · ecb6c197
      Wim Taymans authored
      gst/playback/: Unlink the signal handler when we found the type, we're not going to do anything sensible with more ty...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (add_fakesink), (type_found):
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
      (type_found):
      Unlink the signal handler when we found the type, we're not going to do
      anything sensible with more type_found signals anyway.
      ecb6c197
  12. 27 Aug, 2007 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: We need to set up delayed-linking whenever the... · 973bbf88
      Jan Schmidt authored
      gst/playback/gstdecodebin.c: We need to set up delayed-linking whenever the caps are non-fixed, not just when there a...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (close_pad_link):
      We need to set up delayed-linking whenever the caps are non-fixed,
      not just when there are multiple types - use gst_pad_is_fixed()
      to test.
      973bbf88
  13. 23 Jun, 2007 1 commit
  14. 21 May, 2007 1 commit
    • Wim Taymans's avatar
      Small cleanups. · 9b188adc
      Wim Taymans authored
      Original commit message from CVS:
      * ext/cdparanoia/gstcdparanoiasrc.c:
      (gst_cd_paranoia_src_read_sector):
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create):
      Small cleanups.
      * ext/theora/theoradec.c: (theora_dec_sink_event):
      Fix typo.
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_set_gst_timestamp):
      Add some FIXME
      * gst/playback/gstdecodebin.c: (queue_underrun_cb):
      And some debug info when a FIXME path is hit.
      9b188adc
  15. 18 May, 2007 1 commit
    • Stefan Kost's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c · e7c3ddf3
      Stefan Kost authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c
      (gst_base_audio_sink_change_state):
      Fix typo in comment.
      * gst/playback/gstdecodebin.c (gst_decode_bin_class_init,
      free_dynamics, pad_probe, close_pad_link, try_to_link_1,
      get_our_ghost_pad, remove_element_chain, queue_underrun_cb,
      close_link):
      * gst/playback/gstplaybin.c (gst_play_bin_set_property,
      gen_audio_element, remove_sinks, gst_play_bin_send_event_to_sink):
      Remove trailing whitespaces in comments.
      * gst/volume/Makefile.am:
      Fix tabs.
      e7c3ddf3
  16. 01 May, 2007 1 commit
  17. 19 Mar, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/gstdecodebin.c: Don't post STATE_DIRTY anymore. · d24780a0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (remove_fakesink):
      Don't post STATE_DIRTY anymore.
      * gst/playback/gstplaybin.c: (add_sink), (gst_play_bin_send_event),
      (gst_play_bin_change_state):
      Remove stream_time reset in seek handling, core does that now.
      Disable clocking for live pipelines by forcing a NULL clock to the
      complete pipeline, core is too smart now for our previous hack.
      We can always autoplug in PAUSED now.
      d24780a0
  18. 04 Mar, 2007 1 commit
    • Thomas Vander Stichele's avatar
      rename utils to pbutils · f6bd20e5
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * configure.ac:
      * docs/libs/gst-plugins-base-libs-docs.sgml:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/Makefile.am:
      * gst-libs/gst/interfaces/mixer.c:
      * gst-libs/gst/pbutils/Makefile.am:
      * gst-libs/gst/pbutils/descriptions.c:
      (gst_pb_utils_get_source_description),
      (gst_pb_utils_get_sink_description),
      (gst_pb_utils_get_decoder_description),
      (gst_pb_utils_get_encoder_description),
      (gst_pb_utils_get_element_description),
      (gst_pb_utils_add_codec_description_to_tag_list),
      (gst_pb_utils_get_codec_description), (gst_pb_utils_list_all):
      * gst-libs/gst/pbutils/descriptions.h:
      * gst-libs/gst/pbutils/install-plugins.c:
      * gst-libs/gst/pbutils/install-plugins.h:
      * gst-libs/gst/pbutils/missing-plugins.c:
      (gst_missing_uri_source_message_new),
      (gst_missing_uri_sink_message_new),
      (gst_missing_element_message_new),
      (gst_missing_decoder_message_new),
      (gst_missing_encoder_message_new),
      (gst_missing_plugin_message_get_description):
      * gst-libs/gst/pbutils/missing-plugins.h:
      * gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
      * gst-libs/gst/pbutils/pbutils.h:
      * gst-libs/gst/utils/Makefile.am:
      * gst-libs/gst/utils/base-utils.c:
      * gst-libs/gst/utils/base-utils.h:
      * gst-libs/gst/utils/descriptions.c:
      * gst-libs/gst/utils/descriptions.h:
      * gst-libs/gst/utils/install-plugins.c:
      * gst-libs/gst/utils/install-plugins.h:
      * gst-libs/gst/utils/missing-plugins.c:
      * gst-libs/gst/utils/missing-plugins.h:
      * gst-plugins-base.spec.in:
      * gst/playback/Makefile.am:
      * gst/playback/gstdecodebin.c:
      * gst/playback/gstdecodebin2.c:
      * gst/playback/gstplaybasebin.c: (setup_subtitle),
      (gen_source_element):
      * gst/playback/gstplaybin.c: (plugin_init):
      * tests/check/Makefile.am:
      * tests/check/libs/pbutils.c: (GST_START_TEST),
      (test_pb_utils_install_plugins_do_callout), (libgstpbutils_suite):
      * tests/check/libs/utils.c:
      rename utils to pbutils
      f6bd20e5
  19. 09 Feb, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/: Don't error out if there is no fakesink in the READY to NULL... · 12f5dd47
      Tim-Philipp Müller authored
      gst/playback/: Don't error out if there is no fakesink in the READY to NULL state change, since when decodebin is re-...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (add_fakesink),
      (gst_decode_bin_change_state):
      * gst/playback/gstdecodebin2.c: (add_fakesink),
      (gst_decode_bin_change_state):
      Don't error out if there is no fakesink in the READY to NULL state
      change, since when decodebin is re-used, we're only adding the
      fakesink element in READY to PAUSED.
      * tests/check/elements/decodebin.c:
      (new_decoded_pad_plug_fakesink_cb), (GST_START_TEST),
      (decodebin_suite):
      Minimal unit test to make sure we can use the same decodebin
      instance twice (at least with audiotestsrc input).
      12f5dd47
  20. 17 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/: Let decodebin be the element to post missing-plugin messages... · 5262208d
      Tim-Philipp Müller authored
      gst/playback/: Let decodebin be the element to post missing-plugin messages for missing decoders (rather than playbin...
      
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      * gst/playback/gstdecodebin.c: (close_pad_link):
      * gst/playback/gstdecodebin2.c: (analyze_new_pad):
      * gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
      (gst_play_base_bin_handle_message_func), (unknown_type):
      Let decodebin be the element to post missing-plugin messages for
      missing decoders (rather than playbin); make playbin implement
      GstBin::handle_message so we can suppress missing-plugin messages
      for types we're not handling on purpose (don't want to bring up an
      installer in those cases).
      5262208d
  21. 10 Jan, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/: Fix the case where we try to ref a NULL element when we delay a... · 3f147830
      Wim Taymans authored
      gst/playback/: Fix the case where we try to ref a NULL element when we delay a link because of unfixed caps.
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (dynamic_add), (close_pad_link),
      (is_demuxer_element), (new_caps):
      * gst/playback/gstplaybasebin.c: (source_new_pad):
      Fix the case where we try to ref a NULL element when we delay a link
      because of unfixed caps.
      Set the state of autoplugged decodebins to PAUSED.
      RTSP now works in playbin, we can remove it from the blacklist.
      3f147830
  22. 16 Dec, 2006 2 commits
    • Tim-Philipp Müller's avatar
      gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only... · a4c0d0b8
      Tim-Philipp Müller authored
      gst/playback/gstdecodebin.c: Special-case the text/plain media type: we only want to recognise it as a 'raw' decoded ...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (type_found):
      Special-case the text/plain media type: we only want to recognise it
      as a 'raw' decoded media type if it comes from a demuxer or subtitle
      parser, but not if the entire stream is of text/plain type. If the
      entire stream is text/plain, we should just error out.
      This fixes playback of audio files with lyrics in totem. Totem can't
      distinguish between text files and subtitle files and passes any
      .txt file with the same basename as the main file to playbin as
      suburi, and playbin will then throw a 'subtitle found, but no video
      stream' error, which isn't entirely helpful. See #380342.
      Also, with this change we'll show a slightly more correct error
      message in case totem passes a playlist file to us (although a
      custom error message wording instead of the default text would
      probably not be a bad idea either).
      Same problem also needs to be fixed for playbin+decodebin2.
      * tests/check/Makefile.am:
      * tests/check/elements/decodebin.c: (src_handoff_cb),
      (decodebin_new_decoded_pad_cb), (GST_START_TEST),
      (decodebin_suite):
      Add simple unit test for decodebin for the above.
      a4c0d0b8
    • Tim-Philipp Müller's avatar
      gst/playback/: Refuse to change state to READY when we failed to create any of... · 95f46c1f
      Tim-Philipp Müller authored
      gst/playback/: Refuse to change state to READY when we failed to create any of the required elements in our instance ...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (gst_decode_bin_change_state):
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_change_state):
      Refuse to change state to READY when we failed to create any of the
      required elements in our instance init function.
      95f46c1f
  23. 05 Dec, 2006 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: Handle the case where an element has multiple... · 35fa7a7f
      Jan Schmidt authored
      gst/playback/gstdecodebin.c: Handle the case where an element has multiple pads with unfixed caps as well as still po...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (find_dynamic), (dynamic_add),
      (close_pad_link), (elem_is_dynamic), (unlinked), (close_link):
      Handle the case where an element has multiple pads with
      unfixed caps as well as still possibly producing more dynamic
      pads by storing each case as a distinct entry in the dynamic list.
      Fixes #38223 again.
      35fa7a7f
  24. 04 Dec, 2006 1 commit
  25. 17 Oct, 2006 1 commit
    • 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
  26. 10 Oct, 2006 1 commit
    • 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
  27. 06 Oct, 2006 1 commit
  28. 30 Sep, 2006 1 commit
    • 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
  29. 29 Sep, 2006 2 commits
  30. 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
  31. 25 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/playback/gstdecodebin.c: Cleanups and small leak fixes. · f5a74b26
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter),
      (add_fakesink), (remove_fakesink), (pad_probe), (close_pad_link),
      (is_demuxer_element), (try_to_link_1), (get_our_ghost_pad),
      (new_pad):
      Cleanups and small leak fixes.
      Added Depayloaders to valid list of autopluggable elements.
      f5a74b26
  32. 13 Jul, 2006 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: Fix a caps leak when linking (#347304) · 435fd245
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (find_compatibles):
      Fix a caps leak when linking (#347304)
      * sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
      (gst_ximagesink_ximage_destroy), (gst_ximagesink_xcontext_clear),
      (gst_ximagesink_change_state):
      * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
      (gst_xvimage_buffer_finalize), (gst_xvimagesink_check_xshm_calls),
      (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
      (gst_xvimagesink_xcontext_clear), (gst_xvimagesink_change_state):
      Don't leak shared memory resources. Use the object lock to protect
      against the xcontext disappearing while returning a buffer from the
      pipeline. (#347304)
      435fd245
  33. 10 Jul, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/gstdecodebin.c: Also emit 'unknown-type' signal (which should... · 089a7c72
      Tim-Philipp Müller authored
      gst/playback/gstdecodebin.c: Also emit 'unknown-type' signal (which should really be called unhandled-type) if we fou...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (close_pad_link):
      Also emit 'unknown-type' signal (which should really be
      called unhandled-type) if we found potential decoders/demuxers
      in the registry but none of them worked in the end (as in the
      case where the plugins don't exist any longer but are still
      listed in the registry). Fixes #329798.
      089a7c72
  34. 23 Jun, 2006 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: Protect remove_fakesink using a mutex, so that we... · 91ee7188
      Jan Schmidt authored
      gst/playback/gstdecodebin.c: Protect remove_fakesink using a mutex, so that we don't try and remove the fakesink simu...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
      (gst_decode_bin_init), (gst_decode_bin_finalize), (add_fakesink),
      (remove_fakesink), (pad_probe), (gst_decode_bin_change_state):
      Protect remove_fakesink using a mutex, so that we don't try and
      remove the fakesink simultaneously from multiple threads.
      When going from READY to PAUSED, restore the fakesink, so that
      it is there when decodebin gets reused.
      91ee7188
  35. 25 May, 2006 1 commit
    • Jan Schmidt's avatar
      gst/playback/gstdecodebin.c: When there is only one unfinished pad and it... · 0d9b6389
      Jan Schmidt authored
      gst/playback/gstdecodebin.c: When there is only one unfinished pad and it receives an event that doesn't match our re...
      
      Original commit message from CVS:
      * gst/playback/gstdecodebin.c: (remove_fakesink), (pad_probe):
      When there is only one unfinished pad and it receives an event that
      doesn't match our requirements, we need to set alldone=FALSE so that
      the fakesink is not removed yet.
      0d9b6389
  36. 15 May, 2006 1 commit
    • Julien Moutte's avatar
      gst/playback/gstdecodebin.c: Make decodebin reusable when going from... · 2e02bce5
      Julien Moutte authored
      gst/playback/gstdecodebin.c: Make decodebin reusable when going from PAUSE_TO_READY and then back to PAUSED.
      
      Original commit message from CVS:
      2006-05-15  Julien MOUTTE  <julien@moutte.net>
      
      * gst/playback/gstdecodebin.c: (cleanup_decodebin),
      (gst_decode_bin_change_state): Make decodebin reusable
      when going from PAUSE_TO_READY and then back to PAUSED.
      Fixes #331678.
      2e02bce5