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 4 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
    • Christian Schaller's avatar
      update spec file and add two missing files for disting · 9153699f
      Christian Schaller authored
      Original commit message from CVS:
      update spec file and add two missing files for disting
      9153699f
    • 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 3 commits
    • Julien Moutte's avatar
      configure.ac: Add QuickTime Wrapper plug-in. · 06251604
      Julien Moutte authored
      Original commit message from CVS:
      2007-11-26  Julien Moutte  <julien@fluendo.com>
      
      * configure.ac: Add QuickTime Wrapper plug-in.
      * gst/speexresample/gstspeexresample.c:
      (gst_speex_resample_push_drain), (gst_speex_resample_process): Fix
      build on Mac OS X Leopard. Incorrect printf format arguments.
      * sys/Makefile.am:
      * sys/qtwrapper/Makefile.am:
      * sys/qtwrapper/audiodecoders.c:
      (qtwrapper_audio_decoder_base_init),
      (qtwrapper_audio_decoder_class_init),
      (qtwrapper_audio_decoder_init),
      (clear_AudioStreamBasicDescription), (fill_indesc_mp3),
      (fill_indesc_aac), (fill_indesc_samr), (fill_indesc_generic),
      (make_samr_magic_cookie), (open_decoder),
      (qtwrapper_audio_decoder_sink_setcaps), (process_buffer_cb),
      (qtwrapper_audio_decoder_chain),
      (qtwrapper_audio_decoder_sink_event),
      (qtwrapper_audio_decoders_register):
      * sys/qtwrapper/codecmapping.c: (audio_caps_from_string),
      (fourcc_to_caps):
      * sys/qtwrapper/codecmapping.h:
      * sys/qtwrapper/imagedescription.c: (image_description_for_avc1),
      (image_description_for_mp4v), (image_description_from_stsd_buffer),
      (image_description_from_codec_data):
      * sys/qtwrapper/imagedescription.h:
      * sys/qtwrapper/qtutils.c: (get_name_info_from_component),
      (get_output_info_from_component), (dump_avcc_atom),
      (dump_image_description), (dump_codec_decompress_params),
      (addSInt32ToDictionary), (dump_cvpixel_buffer),
      (DestroyAudioBufferList), (AllocateAudioBufferList):
      * sys/qtwrapper/qtutils.h:
      * sys/qtwrapper/qtwrapper.c: (plugin_init):
      * sys/qtwrapper/qtwrapper.h:
      * sys/qtwrapper/videodecoders.c:
      (qtwrapper_video_decoder_base_init),
      (qtwrapper_video_decoder_class_init),
      (qtwrapper_video_decoder_init), (qtwrapper_video_decoder_finalize),
      (fill_image_description), (new_image_description), (close_decoder),
      (open_decoder), (qtwrapper_video_decoder_sink_setcaps),
      (decompressCb), (qtwrapper_video_decoder_chain),
      (qtwrapper_video_decoder_sink_event),
      (qtwrapper_video_decoders_register): Initial import of QuickTime
      wrapper jointly developped by Songbird authors (Pioneers of the
      Inevitable) and Fluendo.
      06251604
    • 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
    • Sebastian Dröge's avatar
      gst/speexresample/: Update speex resampler to latest SVN. We're now down to... · dacc06a5
      Sebastian Dröge authored
      gst/speexresample/: Update speex resampler to latest SVN. We're now down to only the changes noted in README again.
      
      Original commit message from CVS:
      * gst/speexresample/README:
      * gst/speexresample/arch.h:
      * gst/speexresample/resample.c: (resampler_basic_direct_single),
      (resampler_basic_direct_double),
      (resampler_basic_interpolate_single),
      (resampler_basic_interpolate_double),
      (speex_resampler_process_native), (speex_resampler_process_float),
      (speex_resampler_process_int),
      (speex_resampler_process_interleaved_float),
      (speex_resampler_process_interleaved_int),
      (speex_resampler_get_input_latency),
      (speex_resampler_get_output_latency):
      * gst/speexresample/speex_resampler.h:
      Update speex resampler to latest SVN. We're now down to only the
      changes noted in README again.
      * gst/speexresample/speex_resampler_wrapper.h:
      * gst/speexresample/gstspeexresample.c:
      (gst_speex_resample_push_drain), (gst_speex_resample_query):
      Adjust to API changes.
      dacc06a5
  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 4 commits
    • Sebastian Dröge's avatar
      gst/speexresample/gstspeexresample.c: Only post the latency message if we have... · 155d1b12
      Sebastian Dröge authored
      gst/speexresample/gstspeexresample.c: Only post the latency message if we have a resampler state already.
      
      Original commit message from CVS:
      * gst/speexresample/gstspeexresample.c:
      (gst_speex_resample_update_state):
      Only post the latency message if we have a resampler state already.
      155d1b12
    • Sebastian Dröge's avatar
      gst/audioresample/gstaudioresample.c: Implement latency query. · 8edd45db
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/audioresample/gstaudioresample.c: (gst_audioresample_init),
      (audioresample_query), (audioresample_query_type),
      (gst_audioresample_set_property):
      Implement latency query.
      8edd45db
    • Sebastian Dröge's avatar
      gst/speexresample/gstspeexresample.c: Also post GST_MESSAGE_LATENCY if the latency changes. · 816466b6
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/speexresample/gstspeexresample.c:
      (gst_speex_resample_update_state):
      Also post GST_MESSAGE_LATENCY if the latency changes.
      816466b6
    • Sebastian Dröge's avatar
      gst/speexresample/: Add functions to push the remaining samples and to get the... · f564ebf8
      Sebastian Dröge authored
      gst/speexresample/: Add functions to push the remaining samples and to get the latency of the resampler. These will g...
      
      Original commit message from CVS:
      * gst/speexresample/resample.c: (speex_resampler_get_latency),
      (speex_resampler_drain_float), (speex_resampler_drain_int),
      (speex_resampler_drain_interleaved_float),
      (speex_resampler_drain_interleaved_int):
      * gst/speexresample/speex_resampler.h:
      * gst/speexresample/speex_resampler_wrapper.h:
      Add functions to push the remaining samples and to get the latency
      of the resampler. These will get added to Speex SVN in this or a
      slightly changed form at some point too and should get merged then
      again.
      * gst/speexresample/gstspeexresample.c: (gst_speex_resample_init),
      (gst_speex_resample_init_state),
      (gst_speex_resample_transform_size),
      (gst_speex_resample_push_drain), (gst_speex_resample_event),
      (gst_speex_fix_output_buffer), (gst_speex_resample_process),
      (gst_speex_resample_query), (gst_speex_resample_query_type):
      Drop the prepending zeroes and output the remaining samples on EOS.
      Also properly implement the latency query for this. speexresample
      should be completely ready for production use now.
      f564ebf8
  17. 21 Nov, 2007 3 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
    • Sebastian Dröge's avatar
      gst/speexresample/README: Add README explaining where the resampling code was... · d834d1cb
      Sebastian Dröge authored
      gst/speexresample/README: Add README explaining where the resampling code was taken from and which changes were done.
      
      Original commit message from CVS:
      * gst/speexresample/README:
      Add README explaining where the resampling code was taken from
      and which changes were done.
      * gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
      (speex_free):
      Use g_malloc() and friends instead of malloc() to achieve higher
      portability and define the functions inline.
      * gst/speexresample/speex_resampler.h:
      Add back some useless preprocessor stuff to keep the diff between
      our version and the one from the Speex SVN repository lower.
      d834d1cb
  18. 20 Nov, 2007 2 commits