1. 25 Feb, 2007 1 commit
    • René Stadler's avatar
      gst-libs/gst/tag/gstvorbistag.c: Parse date strings in vorbis comments that... · 88e94fc2
      René Stadler authored
      gst-libs/gst/tag/gstvorbistag.c: Parse date strings in vorbis comments that have an invalid (zero) month or day (#410...
      
      Original commit message from CVS:
      Patch by: René Stadler <mail at renestadler de>
      * gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
      Parse date strings in vorbis comments that have an invalid (zero)
      month or day (#410396).
      * tests/check/libs/tag.c: (GST_START_TEST):
      Test case for the above.
      88e94fc2
  2. 23 Feb, 2007 1 commit
    • Tim-Philipp Müller's avatar
      Change GStreamer marker prefix in detail string from 'gstreamer.net' to just... · e8e648a7
      Tim-Philipp Müller authored
      Change GStreamer marker prefix in detail string from 'gstreamer.net' to just 'gstreamer'. Document the caps string co...
      
      Original commit message from CVS:
      * gst-libs/gst/utils/install-plugins.c:
      * gst-libs/gst/utils/missing-plugins.c:
      * tests/check/libs/utils.c: (missing_msg_check_getters):
      Change GStreamer marker prefix in detail string from 'gstreamer.net'
      to just 'gstreamer'. Document the caps string component of the
      decoder/encoder detail a bit better, since not everyone will be
      familiar with the GStreamer media type/caps system (but they better
      enjoy nested itemized lists).
      e8e648a7
  3. 22 Feb, 2007 2 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/netbuffer/gstnetbuffer.c: Fix copying of GstNetBuffer (would... · 011471db
      Tim-Philipp Müller authored
      gst-libs/gst/netbuffer/gstnetbuffer.c: Fix copying of GstNetBuffer (would crash before, or at least lead to invalid m...
      
      Original commit message from CVS:
      * gst-libs/gst/netbuffer/gstnetbuffer.c:
      (notgst_buffer_copy_fields_in_place), (gst_netbuffer_copy):
      Fix copying of GstNetBuffer (would crash before, or at least lead to
      invalid memory access, #410772), for now by copying the GstBuffer copy
      code from the core over here so we can copy the GstBuffer fields on a
      provided buffer instance (of type GstNetBuffer in this case). Would be
      better to fix this with some support by the core though (and in the long
      run change the broken GstBuffer/GstMiniObject copy semantics, #393099).
      * tests/check/Makefile.am:
      Enable unit test for GstNetBuffer.
      011471db
    • Stefan Kost's avatar
      Add float as an intermediate format, as well as float mixing. Enable test that... · 00d7c52d
      Stefan Kost authored
      Add float as an intermediate format, as well as float mixing. Enable test that was failing before. Fixes #339837
      
      Original commit message from CVS:
      * gst/audioconvert/audioconvert.c: (float), (double), (float_hq),
      (double_hq), (audio_convert_get_func_index),
      (audio_convert_prepare_context), (audio_convert_convert):
      * gst/audioconvert/audioconvert.h:
      * gst/audioconvert/gstchannelmix.c: (gst_channel_mix_setup_matrix),
      (gst_channel_mix_mix_int), (gst_channel_mix_mix_float):
      * gst/audioconvert/gstchannelmix.h:
      * tests/check/elements/audioconvert.c: (GST_START_TEST):
      Add float as an intermediate format, as well as float mixing. Enable
      test that was failing before. Fixes #339837
      00d7c52d
  4. 21 Feb, 2007 2 commits
  5. 10 Feb, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/subparse/gstsubparse.c: For SubRip (.srt) subtitles, ignore all markup... · 5f186351
      Tim-Philipp Müller authored
      gst/subparse/gstsubparse.c: For SubRip (.srt) subtitles, ignore all markup tags we don't handle (like font tags, for ...
      
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c: (subrip_remove_unhandled_tag),
      (subrip_remove_unhandled_tags), (parse_subrip):
      For SubRip (.srt) subtitles, ignore all markup tags we don't
      handle (like font tags, for example).
      * tests/check/elements/subparse.c:
      Add test for this.
      5f186351
  6. 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
  7. 04 Feb, 2007 2 commits
  8. 03 Feb, 2007 2 commits
    • Tim-Philipp Müller's avatar
      Lowering log level to see why things fail on the p5 build bot; fix some typos... · 7d78598f
      Tim-Philipp Müller authored
      Lowering log level to see why things fail on the p5 build bot; fix some typos in unit test messages.
      
      Original commit message from CVS:
      * gst-libs/gst/utils/install-plugins.c:
      (gst_install_plugins_spawn_child):
      * tests/check/libs/utils.c:
      (test_base_utils_install_plugins_do_callout):
      Lowering log level to see why things fail on the p5 build bot;
      fix some typos in unit test messages.
      7d78598f
    • Tim-Philipp Müller's avatar
      tests/check/libs/utils.c: Don't hard-code temp directory for test helper; use... · 92c11d5d
      Tim-Philipp Müller authored
      tests/check/libs/utils.c: Don't hard-code temp directory for test helper; use GLib functions to write out file and do...
      
      Original commit message from CVS:
      * tests/check/libs/utils.c:
      (test_base_utils_install_plugins_do_callout):
      Don't hard-code temp directory for test helper; use GLib functions
      to write out file and do error checking etc.
      92c11d5d
  9. 02 Feb, 2007 2 commits
    • Tim-Philipp Müller's avatar
      gst-libs/gst/utils/: API: add API for applications to initiate installation of... · 17a02da2
      Tim-Philipp Müller authored
      gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...
      
      Original commit message from CVS:
      * gst-libs/gst/utils/Makefile.am:
      * gst-libs/gst/utils/base-utils.h:
      * gst-libs/gst/utils/install-plugins.c:
      (gst_install_plugins_context_set_xid),
      (gst_install_plugins_context_new),
      (gst_install_plugins_context_free),
      (gst_install_plugins_get_helper),
      (gst_install_plugins_spawn_child),
      (gst_install_plugins_return_from_status),
      (gst_install_plugins_installer_exited),
      (gst_install_plugins_async), (gst_install_plugins_sync),
      (gst_install_plugins_return_get_name),
      (gst_install_plugins_installation_in_progress):
      * gst-libs/gst/utils/install-plugins.h:
      API: add API for applications to initiate installation of missing
      plugins, ie. gst_install_plugins_async() primarily.
      Based on libgimme-codec by Ryan Lortie.
      * configure.ac:
      Add --with-install-plugins-helper configure option so distros can specify
      the path of the helper script or program to call when plugin installation
      is requested (distros: please do any argument munging in this helper
      script instead of patching GStreamer to pass arguments differently
      to another program directly).
      * docs/libs/gst-plugins-base-libs-docs.sgml:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      Build and document new API.
      * tests/check/libs/utils.c: (result_cb),
      (test_base_utils_install_plugins_do_callout), (GST_START_TEST),
      (libgstbaseutils_suite):
      Some simple checks for the new API.
      17a02da2
    • Tim-Philipp Müller's avatar
      tests/check/elements/audioconvert.c: Add small test for 32bit float <=> 64bit... · 74399499
      Tim-Philipp Müller authored
      tests/check/elements/audioconvert.c: Add small test for 32bit float <=> 64bit float conversion (works only one way so...
      
      Original commit message from CVS:
      * tests/check/elements/audioconvert.c: (test_float_conversion):
      Add small test for 32bit float <=> 64bit float conversion (works
      only one way so far, 32=>64 produces structured noise).
      74399499
  10. 29 Jan, 2007 1 commit
  11. 24 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      ext/pango/gsttextoverlay.c: Don't unnecessarily ref (and then leak) upstream... · 5ed71164
      Tim-Philipp Müller authored
      ext/pango/gsttextoverlay.c: Don't unnecessarily ref (and then leak) upstream events if the text pad is not linked. Fi...
      
      Original commit message from CVS:
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event),
      (gst_text_overlay_text_event):
      Don't unnecessarily ref (and then leak) upstream events if the text
      pad is not linked. Fixes #399948.
      * tests/check/gst-plugins-base.supp:
      Add suppression for pango on edgy/x86 for textoverlay test.
      5ed71164
  12. 23 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/gstdecodebin2.c: Don't leak mutex. · b8d04c88
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_finalize):
      Don't leak mutex.
      * tests/check/elements/playbin.c:
      (test_sink_usage_video_only_stream),
      (test_suburi_error_unknowntype), (test_suburi_error_invalidfile),
      (test_suburi_error_wrongproto), (test_missing_urisource_handler),
      (test_missing_suburisource_handler),
      (test_missing_primary_decoder), (playbin_suite):
      Run all tests once with decodebin and once with decodebin2.
      One test does not pass yet with decodebin2.
      b8d04c88
  13. 22 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Don't go into an endless loop if the file... · 0da39602
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Don't go into an endless loop if the file starts with 00 00 01 2X, like quicktim...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg4_video_type_find):
      Don't go into an endless loop if the file starts with 00 00 01 2X,
      like quicktime redirect files might. Fixes #396042.
      * tests/check/Makefile.am:
      * tests/check/gst/.cvsignore:
      * tests/check/gst/typefindfunctions.c: (GST_START_TEST),
      (typefindfunctions_suite):
      Add unit test for the above.
      0da39602
  14. 19 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybasebin.c: Attempt at a better error message in case we don't have the required · acf3bcdf
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (setup_subtitle),
      (gen_source_element), (gst_play_base_bin_change_state):
      Attempt at a better error message in case we don't have the required
      URI handler installed; post missing-plugin message also when we're
      missing an URI handler for the subtitle URI; clean up properly also
      when an error occurs and we never made it to PAUSED state.
      * tests/check/elements/playbin.c: (GST_START_TEST),
      (playbin_suite):
      Check that we're also getting a missing-plugin messsage for a
      missing subtitle URI handler (and clean up properly).
      acf3bcdf
  15. 16 Jan, 2007 1 commit
    • Stefan Kost's avatar
      tests/examples/seek/seek.c: Allow to toggle looping while it plays. Fix... · 268dcb0a
      Stefan Kost authored
      tests/examples/seek/seek.c: Allow to toggle looping while it plays. Fix callback prototype. Clean up code a bit more....
      
      Original commit message from CVS:
      * tests/examples/seek/seek.c: (set_scale), (update_scale),
      (do_seek), (stop_seek), (pause_cb), (stop_cb), (loop_toggle_cb),
      (rate_spinbutton_changed_cb), (msg_eos), (msg_segment_done),
      (main):
      Allow to toggle looping while it plays. Fix callback prototype. Clean
      up code a bit more. Add copyright header.
      268dcb0a
  16. 09 Jan, 2007 2 commits
    • Tim-Philipp Müller's avatar
      gst/playback/: Post missing-plugin messages on the bus for missing sources and... · 686ad73b
      Tim-Philipp Müller authored
      gst/playback/: Post missing-plugin messages on the bus for missing sources and missing decoders/demuxers/depayloaders...
      
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      * gst/playback/gstplaybasebin.c: (string_arr_has_str),
      (unknown_type), (setup_subtitle), (gen_source_element):
      * gst/playback/gstplaybin.c: (plugin_init):
      Post missing-plugin messages on the bus for missing sources and
      missing decoders/demuxers/depayloaders; fix error code used when
      we're missing an URI handler source; for media types that we are not
      handling on purpose at the moment, don't print "don't know how to
      handle xyz" messages to the terminal or post missing-plugin
      messages on the bus.
      * tests/check/elements/playbin.c: (create_playbin),
      (GST_START_TEST), (gst_codec_src_uri_get_type),
      (gst_codec_src_uri_get_protocols), (gst_codec_src_uri_get_uri),
      (gst_codec_src_uri_set_uri), (gst_codec_src_uri_handler_init),
      (gst_codec_src_init_type), (gst_codec_src_base_init),
      (gst_codec_src_create), (gst_codec_src_class_init),
      (gst_codec_src_init), (plugin_init), (playbin_suite):
      Add some tests for the missing-plugin stuff.
      686ad73b
    • Tim-Philipp Müller's avatar
      API: add new libgstbaseutils library with functions · 1450f0fb
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * configure.ac:
      * gst-libs/gst/Makefile.am:
      * gst-libs/gst/utils/Makefile.am:
      * gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
      * gst-libs/gst/utils/base-utils.h:
      * gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
      (find_format_info), (caps_are_rtp_caps),
      (gst_base_utils_get_source_description),
      (gst_base_utils_get_sink_description),
      (gst_base_utils_get_decoder_description),
      (gst_base_utils_get_encoder_description),
      (gst_base_utils_get_element_description),
      (gst_base_utils_add_codec_description_to_tag_list),
      (gst_base_utils_get_codec_description), (gst_base_utils_list_all):
      * gst-libs/gst/utils/descriptions.h:
      * gst-libs/gst/utils/missing-plugins.c:
      (missing_structure_get_type), (copy_and_clean_caps),
      (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),
      (missing_structure_get_string_detail),
      (missing_structure_get_caps_detail),
      (gst_missing_plugin_message_get_installer_detail),
      (gst_missing_plugin_message_get_description),
      (gst_is_missing_plugin_message):
      * gst-libs/gst/utils/missing-plugins.h:
      API: add new libgstbaseutils library with functions
      - to create and parse missing-plugins messages
      - that provide (translated) descriptions for caps/decoders/sources/etc.
      Closes #392393.
      * pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
      * pkgconfig/gstreamer-plugins-base.pc.in:
      Add new lib.
      * docs/libs/gst-plugins-base-libs-docs.sgml:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      Generate docs for new lib and API.
      * tests/check/Makefile.am:
      * tests/check/libs/.cvsignore:
      * tests/check/libs/utils.c: (missing_msg_check_getters),
      (GST_START_TEST), (libgstbaseutils_suite):
      Add some basic unit tests.
      1450f0fb
  17. 08 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/subparse/gstsubparse.*: Remove spurious 1000 subtrahend when calculating... · 9052dc46
      Tim-Philipp Müller authored
      gst/subparse/gstsubparse.*: Remove spurious 1000 subtrahend when calculating the timestamp from the frame number and ...
      
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c: (parse_mdvdsub):
      * gst/subparse/gstsubparse.h:
      Remove spurious 1000 subtrahend when calculating the timestamp from
      the frame number and the frame rate . Also, use the frames/second
      value specified in the first line of the file, if one is specified
      there. Should fix #357503.
      * tests/check/elements/subparse.c: (do_test),
      (test_tmplayer_do_test), (test_microdvd_do_test), (GST_START_TEST),
      (subparse_suite):
      Add some basic unit tests for the microdvd subtitle format.
      9052dc46
  18. 07 Jan, 2007 1 commit
    • Julien Moutte's avatar
      sys/: Use flow_lock much more to protect every access to xwindow. · 50d428b9
      Julien Moutte authored
      Original commit message from CVS:
      2007-01-07  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
      (gst_ximagesink_handle_xerror), (gst_ximagesink_ximage_new),
      (gst_ximagesink_ximage_destroy), (gst_ximagesink_ximage_put),
      (gst_ximagesink_handle_xevents), (gst_ximagesink_setcaps),
      (gst_ximagesink_change_state), (gst_ximagesink_set_xwindow_id),
      (gst_ximagesink_expose), (gst_ximagesink_set_event_handling):
      * sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
      (gst_xvimage_buffer_finalize), (gst_xvimagesink_handle_xerror),
      (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
      (gst_xvimagesink_handle_xevents), (gst_xvimagesink_setcaps),
      (gst_xvimagesink_change_state),
      (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_expose), (gst_xvimagesink_set_event_handling):
      Use flow_lock much more to protect every access to xwindow.
      Try to catch erros while creating images in case some drivers
      are
      just generating an XError when the requested image is too big.
      Should fix : #354698, #384008, #384060.
      * tests/icles/stress-xoverlay.c: (cycle_window),
      (create_window):
      Implement some stress testing of setting window xid.
      50d428b9
  19. 05 Jan, 2007 3 commits
  20. 04 Jan, 2007 2 commits
    • Thomas Vander Stichele's avatar
      configure.ac: split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS... · 95ada439
      Thomas Vander Stichele authored
      configure.ac: split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS so that GST_BASE_CFLAGS can go inbetwe...
      
      Original commit message from CVS:
      * configure.ac:
      split out GST_CFLAGS into GST_PLUGINS_BASE_CFLAGS and GST_CFLAGS
      so that GST_BASE_CFLAGS can go inbetween them, making sure
      we use uninstalled gst-libs headers
      * docs/libs/Makefile.am:
      * ext/alsa/Makefile.am:
      * ext/cdparanoia/Makefile.am:
      * ext/gnomevfs/Makefile.am:
      * ext/libvisual/Makefile.am:
      * ext/ogg/Makefile.am:
      * ext/theora/Makefile.am:
      * ext/vorbis/Makefile.am:
      * gst-libs/gst/audio/Makefile.am:
      * gst-libs/gst/cdda/Makefile.am:
      * gst-libs/gst/interfaces/Makefile.am:
      * gst-libs/gst/riff/Makefile.am:
      * gst-libs/gst/rtp/Makefile.am:
      * gst-libs/gst/tag/Makefile.am:
      * gst/adder/Makefile.am:
      * gst/audioconvert/Makefile.am:
      * gst/audiorate/Makefile.am:
      * gst/audioresample/Makefile.am:
      * gst/playback/Makefile.am:
      * gst/tcp/Makefile.am:
      * gst/videoscale/Makefile.am:
      * gst/volume/Makefile.am:
      * sys/ximage/Makefile.am:
      * sys/xvimage/Makefile.am:
      * tests/icles/Makefile.am:
      adapt
      95ada439
    • Julien Moutte's avatar
      Add a method to the XOverlay interface to allow disabling of event handling in... · 163ec9ec
      Julien Moutte authored
      Add a method to the XOverlay interface to allow disabling of event handling in x[v]imagesink elements. This will let ...
      
      Original commit message from CVS:
      2007-01-04  Julien MOUTTE  <julien@moutte.net>
      
      * gst-libs/gst/interfaces/xoverlay.c:
      (gst_x_overlay_handle_events):
      * gst-libs/gst/interfaces/xoverlay.h:
      * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
      (gst_ximagesink_set_xwindow_id),
      (gst_ximagesink_set_event_handling),
      (gst_ximagesink_xoverlay_init), (gst_ximagesink_set_property),
      (gst_ximagesink_get_property), (gst_ximagesink_init),
      (gst_ximagesink_class_init):
      * sys/ximage/ximagesink.h:
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new),
      (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_set_event_handling),
      (gst_xvimagesink_xoverlay_init), (gst_xvimagesink_set_property),
      (gst_xvimagesink_get_property), (gst_xvimagesink_init),
      (gst_xvimagesink_class_init):
      * sys/xvimage/xvimagesink.h:
      * tests/icles/stress-xoverlay.c: (toggle_events),
      (create_window):
      Add a method to the XOverlay interface to allow disabling of
      event handling in x[v]imagesink elements. This will let X events
      propagate to parent windows which can be usefull in some cases.
      Be carefull that the application is then responsible of pushing
      navigation events and expose events to the video sink.
      Fixes: #387138.
      163ec9ec
  21. 03 Jan, 2007 1 commit
  22. 22 Dec, 2006 1 commit
    • Stefan Kost's avatar
      tests/check/elements/: Fix the dp tests, but activating the pads for the... · bd988b34
      Stefan Kost authored
      tests/check/elements/: Fix the dp tests, but activating the pads for the streamheader tests too and cleaning up condi...
      
      Original commit message from CVS:
      * tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
      (setup_gdpdepay_streamheader):
      * tests/check/elements/gdppay.c: (cleanup_gdppay),
      (setup_gdppay_streamheader):
      Fix the dp tests, but activating the pads for the streamheader tests
      too and cleaning up conditionaly
      bd988b34
  23. 21 Dec, 2006 1 commit
    • Stefan Kost's avatar
      tests/check/elements/: consistent pad (de)activation · 5f8d6ab7
      Stefan Kost authored
      Original commit message from CVS:
      * tests/check/elements/audioresample.c: (cleanup_audioresample):
      * tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc):
      * tests/check/elements/gdpdepay.c: (setup_gdpdepay),
      (cleanup_gdpdepay):
      * tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay):
      * tests/check/elements/subparse.c: (teardown_subparse):
      * tests/check/elements/textoverlay.c: (cleanup_textoverlay):
      * tests/check/elements/videorate.c: (cleanup_videorate):
      * tests/check/elements/videotestsrc.c: (cleanup_videotestsrc):
      * tests/check/elements/volume.c: (cleanup_volume):
      * tests/check/elements/vorbisdec.c: (setup_vorbisdec),
      (cleanup_vorbisdec):
      * tests/check/elements/vorbistag.c: (setup_vorbistag),
      (cleanup_vorbistag):
      consistent pad (de)activation
      5f8d6ab7
  24. 16 Dec, 2006 1 commit
    • 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
  25. 30 Nov, 2006 1 commit
    • Michael Smith's avatar
      tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont... · 0230754d
      Michael Smith authored
      tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer, we thought every single following...
      
      Original commit message from CVS:
      * tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
      (GST_START_TEST):
      It would be very bad if, after a discont buffer, we thought every
      single following buffer was also discont. So, add to the test to
      ensure that this isn't the case.
      
      * ext/theora/theoraenc.c: (theora_enc_is_discontinuous):
      ... it was the case. So fix it.
      0230754d
  26. 22 Nov, 2006 1 commit
    • Michael Smith's avatar
      ext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder. · 32500268
      Michael Smith authored
      Original commit message from CVS:
      * ext/theora/gsttheoraenc.h:
      * ext/theora/theoraenc.c: (gst_theora_enc_init),
      (theora_enc_reset), (theora_enc_clear), (theora_enc_sink_setcaps),
      (theora_buffer_from_packet), (theora_enc_is_discontinuous),
      (theora_enc_chain), (theora_enc_change_state):
      Mark discontinuities of > 3/4 of a frame, reinit encoder.
      
      * tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
      (GST_START_TEST), (theoraenc_suite):
      Enable discontinuity test, fix it.
      32500268
  27. 21 Nov, 2006 1 commit
    • Tim-Philipp Müller's avatar
      ext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video... · 60ad6677
      Tim-Philipp Müller authored
      ext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain function, actually wait for a text bu...
      
      Original commit message from CVS:
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
      (gst_text_overlay_text_pad_unlink), (gst_text_overlay_text_event),
      (gst_text_overlay_video_event), (gst_text_overlay_pop_text),
      (gst_text_overlay_text_chain), (gst_text_overlay_video_chain),
      (gst_text_overlay_change_state):
      * ext/pango/gsttextoverlay.h:
      Some textoverlay fixes: for one, in the video chain function,
      actually wait for a text buffer to come in if there is none at the
      moment and there should be one; also, deal more gracefully with
      incoming buffers that do not have a timestamp or duration; discard
      text buffer when not needed any longer. Fixes #341681.
      * tests/check/Makefile.am:
      * tests/check/elements/.cvsignore:
      * tests/check/elements/textoverlay.c:
      (notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2),
      (setup_textoverlay), (buffer_is_all_black), (create_black_buffer),
      (create_text_buffer), (cleanup_textoverlay), (GST_START_TEST),
      (test_video_waits_for_text_send_text_newsegment_thread),
      (test_video_waits_for_text_shutdown_element),
      (test_render_continuity_push_video_buffers_thread),
      (textoverlay_suite):
      Add some unit tests for textoverlay.
      60ad6677
  28. 20 Nov, 2006 1 commit
    • Tim-Philipp Müller's avatar
      tests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed... · 0c920e5f
      Tim-Philipp Müller authored
      tests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed (for now not for valgrinding though, si...
      
      Original commit message from CVS:
      * tests/check/Makefile.am:
      * tests/check/elements/ffmpegcolorspace.c:
      (ffmpegcolorspace_suite):
      Enable ffmpegcolorspace test now that the RGBA32 issue is fixed
      (for now not for valgrinding though, since it takes too long).
      0c920e5f
  29. 16 Nov, 2006 2 commits
    • Tim-Philipp Müller's avatar
      Make sure our checks and the videotestsrc plugin link against the local... · b194c942
      Tim-Philipp Müller authored
      Make sure our checks and the videotestsrc plugin link against the local uninstalled gst libs and not any installed gs...
      
      Original commit message from CVS:
      * gst/videotestsrc/Makefile.am:
      * tests/check/Makefile.am:
      Make sure our checks and the videotestsrc plugin link against the
      local uninstalled gst libs and not any installed gst libs that
      might happen to exist as well.
      * tests/check/elements/adder.c: (message_received),
      (test_event_message_received), (test_play_twice_message_received):
      * tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
      Fix compiler warnings when compiling against core with disabled
      debugging system.
      b194c942
    • Michael Smith's avatar
      gst/audiorate/gstaudiorate.c: Fix audiorate, so that it accurately sets offsets and timestamps. · 4ac9b64f
      Michael Smith authored
      Original commit message from CVS:
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
      (gst_audio_rate_sink_event), (gst_audio_rate_chain):
      Fix audiorate, so that it accurately sets offsets and timestamps.
      Doesn't change the fundamental algorithmic decisions; so should be
      safe.
      
      * tests/check/Makefile.am:
      Enable audiorate test now that it passes.
      4ac9b64f
  30. 15 Nov, 2006 1 commit