1. 17 Dec, 2007 2 commits
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosrc.c: Add debug info. · 2ea251a3
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_create), (gst_base_audio_src_change_state):
      Add debug info.
      When going from PLAYING to PAUSED, pause the ringbuffer before calling
      the parent state change function, just like the audiosink, because the
      parent waits for the element to finish its processing before completing
      the state change. This makes going to PAUSED a lot snappier.
      When going from READY to PAUSED, don't allow the ringbuffer to start
      yet.
      2ea251a3
    • Edward Hervey's avatar
      gst-libs/gst/riff/riff-media.c: Yet another fix for broken software that... · 80d1fbac
      Edward Hervey authored
      gst-libs/gst/riff/riff-media.c: Yet another fix for broken software that produce files with an empty blockalign field...
      
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
      Yet another fix for broken software that produce files with an empty
      blockalign field. Instead of completely failing, make a second attempt
      at guessing the width/depth by looking at strf->size.
      80d1fbac
  2. 16 Dec, 2007 2 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/: Turn a few g_assert_not_reached() into... · aa47d077
      Tim-Philipp Müller authored
      gst-libs/gst/: Turn a few g_assert_not_reached() into g_return_val_if_reached() to avoid compiler warnings (#503930).
      
      Original commit message from CVS:
      * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_do_seek),
      (gst_cdda_base_src_handle_track_seek), (gst_cdda_base_src_create):
      * gst-libs/gst/pbutils/install-plugins.c:
      (gst_install_plugins_spawn_child), (gst_install_plugins_supported):
      * gst-libs/gst/pbutils/missing-plugins.c:
      (gst_missing_plugin_message_get_installer_detail),
      (gst_missing_encoder_installer_detail_new):
      * gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_send):
      * gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_unset):
      Turn a few g_assert_not_reached() into g_return_val_if_reached() to
      avoid compiler warnings (#503930).
      aa47d077
    • Edward Hervey's avatar
      gst-libs/gst/riff/riff-media.c: Be apologetic of software that use the 'jpeg'... · ea931c47
      Edward Hervey authored
      gst-libs/gst/riff/riff-media.c: Be apologetic of software that use the 'jpeg' instead of 'JPEG' FOURCC for jpeg video...
      
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
      Be apologetic of software that use the 'jpeg' instead of 'JPEG' FOURCC
      for jpeg video streams.
      Add the 'avc1'/'AVC1' fourcc mapping for h264, same software-comment as
      for the above modification.
      ea931c47
  3. 15 Dec, 2007 2 commits
  4. 14 Dec, 2007 3 commits
    • Wim Taymans's avatar
      tests/examples/seek/seek.c: Don't go to READY on EOS as this avoids testing of... · d8e7a32a
      Wim Taymans authored
      tests/examples/seek/seek.c: Don't go to READY on EOS as this avoids testing of seeking and restarting after EOS, use ...
      
      Original commit message from CVS:
      * tests/examples/seek/seek.c: (msg_segment_done), (main):
      Don't go to READY on EOS as this avoids testing of seeking and
      restarting after EOS, use the stop button when you want to READY.
      Don't try to do a flushing seek in segment-done, it does not make
      sense to use this for gapless playback and is not needed.
      d8e7a32a
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Use separate timers for input and output rates. · 671d766d
      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.
      671d766d
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Pause the timer to measure the input rate when we... · 2da1bb25
      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.
      2da1bb25
  5. 13 Dec, 2007 4 commits
  6. 11 Dec, 2007 2 commits
  7. 10 Dec, 2007 3 commits
  8. 09 Dec, 2007 1 commit
  9. 08 Dec, 2007 1 commit
    • Robin Stocker's avatar
      gst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not... · 7bbbf15a
      Robin Stocker authored
      gst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk number 1, recognise and accept th...
      
      Original commit message from CVS:
      Patch by: Robin Stocker <robin dot stocker at gmx dot ch>
      * gst/subparse/gstsubparse.c: (gst_sub_parse_data_format_autodetect):
      Some .srt files start with chunk number 0 and not chunk number 1,
      recognise and accept those as well (fixes #502497).
      * tests/check/elements/subparse.c: (srt_input), (srt_input0),
      (test_src):
      Add unit test for the above.
      7bbbf15a
  10. 06 Dec, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/gstplay-enum.*: Add missing files. · 35697115
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstplay-enum.c:
      (register_gst_autoplug_select_result),
      (gst_autoplug_select_result_get_type):
      * gst/playback/gstplay-enum.h:
      Add missing files.
      35697115
  11. 05 Dec, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same... · f2f9bf04
      Wim Taymans authored
      gst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same plugin so that they can share the GEnumType.
      
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      Group decodebin2 and uridecodebin into the same plugin so that they
      can share the GEnumType.
      * gst/playback/gstdecodebin2.c: (_gst_array_accumulator),
      (_gst_select_accumulator), (gst_decode_bin_class_init),
      (gst_decode_bin_init), (gst_decode_bin_autoplug_sort),
      (gst_decode_bin_autoplug_select), (gst_decode_bin_autoplug_add),
      (analyze_new_pad), (connect_pad), (gst_decode_bin_plugin_init):
      Add signal to sort factories instead of the more awkward autoplug-select
      signal.
      Modify autoplug_select so that we can try, skip or expose the
      autopluggin of an element on a pad.
      * gst/playback/gstfactorylists.c: (compare_ranks),
      (decoders_filter), (sinks_filter), (gst_factory_list_is_type),
      (element_filter), (gst_factory_list_get_elements),
      (gst_factory_list_debug), (gst_factory_list_filter):
      * gst/playback/gstfactorylists.h:
      Simplify the API, allow getting elements based on mask.
      * gst/playback/gstplay-marshal.list:
      Add some more marshallers.
      * gst/playback/gstplaybin2.c: (init_group), (gst_play_bin_init),
      (gst_play_bin_finalize), (pad_removed_cb), (autoplug_factories_cb),
      (autoplug_select_cb), (activate_group):
      Add support for managing non-raw sinks by providing a custom element and
      sink list to decodebin2.
      Try to plug non-raw sinks when decodebin2 using autoplug-select of
      decodebin2.
      * gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
      (gst_play_sink_set_mode), (gst_play_sink_request_pad):
      * gst/playback/gstplaysink.h:
      Add support for raw and non-raw sinks.
      Add support to force sinks selected by playbin2.
      Don't plug raw converters for non-raw sinks.
      * gst/playback/gsturidecodebin.c: (_gst_array_accumulator),
      (_gst_select_accumulator), (gst_uri_decode_bin_class_init),
      (proxy_autoplug_select_signal), (gst_uri_decode_bin_plugin_init),
      (plugin_init):
      Use right accumulators.
      Proxy new signal.
      f2f9bf04
  12. 03 Dec, 2007 3 commits
  13. 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
  14. 26 Nov, 2007 1 commit
    • Stefan Kost's avatar
      gst/: Add GAP-flag support. · 1cfef609
      Stefan Kost authored
      Original commit message from CVS:
      * gst/audiotestsrc/gstaudiotestsrc.c:
      * gst/volume/gstvolume.c:
      * gst/volume/gstvolume.h:
      Add GAP-flag support.
      1cfef609
  15. 24 Nov, 2007 1 commit
    • Julien Moutte's avatar
      tests/examples/seek/seek.c: Increase the range of the rate selector as I would... · 1e20dcab
      Julien Moutte authored
      tests/examples/seek/seek.c: Increase the range of the rate selector as I would like to test QOS behavior at higher fo...
      
      Original commit message from CVS:
      2007-11-24  Julien MOUTTE  <julien@moutte.net>
      
      * tests/examples/seek/seek.c: (main): Increase the range of the
      rate selector as I would like to test QOS behavior at higher
      forward and reverse playback speed like say 64x.
      1e20dcab
  16. 23 Nov, 2007 1 commit
  17. 21 Nov, 2007 2 commits
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c: Our EOS time contains the base_time,... · ac1cc821
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosink.c: Our EOS time contains the base_time, _wait_eos() expects a running_time so we ...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_drain):
      Our EOS time contains the base_time, _wait_eos() expects a running_time
      so we have to subtract the base_time again before calling the function.
      This fixes an EOS regression where the base_time was added twice and EOS
      took longer and longer in certain situations.
      Fixes #498767.
      ac1cc821
    • Wim Taymans's avatar
      Expose methods for some object properties so that subclasses can more easily configure them. · 157a65b1
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      * gst-libs/gst/audio/gstbaseaudiosink.c: (slave_method_get_type),
      (gst_base_audio_sink_set_provide_clock),
      (gst_base_audio_sink_get_provide_clock),
      (gst_base_audio_sink_set_slave_method),
      (gst_base_audio_sink_get_slave_method),
      (gst_base_audio_sink_set_property),
      (gst_base_audio_sink_get_property), (gst_base_audio_sink_drain),
      (gst_base_audio_sink_none_slaving),
      (gst_base_audio_sink_handle_slaving):
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      Expose methods for some object properties so that subclasses can more
      easily configure them.
      Added slave method none, that completely disables slaving to the
      internal clock.
      API: gst_base_audio_sink_set_provide_clock()
      API: gst_base_audio_sink_get_provide_clock()
      API: gst_base_audio_sink_set_slave_method()
      API: gst_base_audio_sink_get_slave_method()
      * gst-libs/gst/audio/gstbaseaudiosrc.c:
      (gst_base_audio_src_set_provide_clock),
      (gst_base_audio_src_get_provide_clock),
      (gst_base_audio_src_set_property),
      (gst_base_audio_src_get_property), (gst_base_audio_src_create):
      * gst-libs/gst/audio/gstbaseaudiosrc.h:
      Expose methods for some object properties so that subclasses can more
      easily configure them.
      API: gst_base_audio_src_set_provide_clock()
      API: gst_base_audio_src_get_provide_clock()
      157a65b1
  18. 20 Nov, 2007 1 commit
  19. 19 Nov, 2007 3 commits
  20. 17 Nov, 2007 1 commit
  21. 16 Nov, 2007 4 commits
    • Wim Taymans's avatar
      tests/examples/seek/seek.c: Add playbin2 seek pipeline. · 64b9bf4a
      Wim Taymans authored
      Original commit message from CVS:
      * tests/examples/seek/seek.c: (make_playerbin2_pipeline), (main):
      Add playbin2 seek pipeline.
      64b9bf4a
    • Wim Taymans's avatar
      gst/playback/: Add playbin2. · b75b5525
      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.
      b75b5525
    • Wim Taymans's avatar
      gst/playback/gststreamselector.*: Improve streamselector, make it select and... · 3f43bfac
      Wim Taymans authored
      gst/playback/gststreamselector.*: Improve streamselector, make it select and unselect the current pad more intelligen...
      
      Original commit message from CVS:
      * gst/playback/gststreamselector.c: (gst_selector_pad_get_type),
      (gst_selector_pad_class_init), (gst_selector_pad_init),
      (gst_selector_pad_finalize), (gst_selector_pad_reset),
      (gst_selector_pad_get_linked_pads), (gst_selector_pad_event),
      (gst_selector_pad_getcaps), (gst_selector_pad_bufferalloc),
      (gst_selector_pad_chain), (gst_stream_selector_get_type),
      (gst_stream_selector_base_init), (gst_stream_selector_class_init),
      (gst_stream_selector_init), (gst_stream_selector_set_property),
      (gst_stream_selector_get_linked_pad),
      (gst_stream_selector_getcaps),
      (gst_stream_selector_is_active_sinkpad),
      (gst_stream_selector_activate_sinkpad),
      (gst_stream_selector_get_linked_pads),
      (gst_stream_selector_request_new_pad),
      (gst_stream_selector_release_pad):
      * gst/playback/gststreamselector.h:
      Improve streamselector, make it select and unselect the current pad more
      intelligently.
      Subclass GstPad for the sinkpads of the selector.
      Handle segments more correctly.
      Fix caps negotiation.
      Implement release_pad.
      3f43bfac
    • Wim Taymans's avatar
      gst/playback/gstdecodebin2.c: Add drained signal fired when decodebin finishes decoding the data. · 0df5f5b2
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
      (gst_decode_group_check_if_drained), (source_pad_event_probe),
      (remove_fakesink):
      Add drained signal fired when decodebin finishes decoding the data.
      Remove deprecated STATE_DIRTY message.
      * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init),
      (unknown_type_cb), (new_decoded_pad_cb), (pad_removed_cb),
      (analyse_source), (proxy_drained_signal), (make_decoder),
      (source_new_pad), (value_list_append_structure_list),
      (handle_redirect_message), (handle_message):
      Proxy the new drained signal.
      Handle pad removed from decodebin.
      Handle redirect messages by sorting multiple redirections based on the
      connection speed.
      0df5f5b2