1. 25 Jan, 2007 5 commits
  2. 24 Jan, 2007 2 commits
  3. 23 Jan, 2007 4 commits
    • Tim-Philipp Müller's avatar
      ext/ogg/gstoggdemux.c: Error out properly if we get an error from libogg while reading the · c135f896
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_demux_read_chain):
      Error out properly if we get an error from libogg while reading the
      BOS page(s). Fixes crash parsing 'fuzzed' ogg file (#399340).
      c135f896
    • 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
    • Edward Hervey's avatar
      ext/ogg/gstoggmux.c: Fix the cases where oggmux doesn't properly figure out... · 0fcb92f2
      Edward Hervey authored
      ext/ogg/gstoggmux.c: Fix the cases where oggmux doesn't properly figure out that all sinkpads have gone EOS, and ther...
      
      Original commit message from CVS:
      * ext/ogg/gstoggmux.c: (all_pads_eos), (gst_ogg_mux_collected):
      Fix the cases where oggmux doesn't properly figure out that all
      sinkpads have gone EOS, and therefore doesn't push out the remaining
      buffers and the final EOS event.
      Fixes #363379
      0fcb92f2
    • Julien Moutte's avatar
      sys/: Don't lock on navigation event push, just on keysym to string. · 60dad35d
      Julien Moutte authored
      Original commit message from CVS:
      2007-01-23  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
      Don't lock on navigation event push, just on keysym to string.
      Fixes #397673 again.
      60dad35d
  4. 22 Jan, 2007 6 commits
    • Edward Hervey's avatar
      gst/playback/gstdecodebin2.c: Cleanups. · a5146c90
      Edward Hervey authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin2.c: (gst_decode_group_new),
      (get_current_group), (group_demuxer_event_probe),
      (gst_decode_group_expose), (deactivate_free_recursive),
      (gst_decode_group_free):
      Cleanups.
      Don't forget to emit 'no-more-pads' once a group is exposed.
      Cleanup elements from a DecodeGroup once we remove it.
      Protect call to gst_decode_group_expose() with the decodebin lock.
      a5146c90
    • Julien Moutte's avatar
      sys/: Looking at Xorg code i can't figure out if that XKeysymToString function... · 78616838
      Julien Moutte authored
      sys/: Looking at Xorg code i can't figure out if that XKeysymToString function is thread sensible or not. Lock it jus...
      
      Original commit message from CVS:
      2007-01-22  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
      Looking at Xorg code i can't figure out if that XKeysymToString
      function is thread sensible or not. Lock it just in case as
      recommended by Radek Doulik <rodo at ximian dot com>.
      78616838
    • Julien Moutte's avatar
      sys/: Lock that X Call as well. Fixes #397673. · 34af6e72
      Julien Moutte authored
      Original commit message from CVS:
      2007-01-22  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
      Lock that X Call as well. Fixes #397673.
      34af6e72
    • 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
    • Tim-Philipp Müller's avatar
      gst-libs/gst/riff/riff-media.c: On second thought, use "depth" field rather than "bpp" field. · 58e6e134
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
      On second thought, use "depth" field rather than "bpp" field.
      58e6e134
    • Tim-Philipp Müller's avatar
      gst-libs/gst/riff/riff-media.c: Camtasia caps apparently need a bpp field (#398875). · 439b3193
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
      Camtasia caps apparently need a bpp field (#398875).
      439b3193
  5. 19 Jan, 2007 4 commits
    • 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
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybasebin.c: Plug a few reference leaks. · 638dbd7b
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (analyse_source), (setup_source):
      Plug a few reference leaks.
      638dbd7b
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Lower probability a bit if the marker... · 91773593
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Lower probability a bit if the marker isn't right at the start, to decrease the ...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
      Lower probability a bit if the marker isn't right at the start,
      to decrease the chance of false positives.
      91773593
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Small mpeg2 system stream typefinding... · c4707437
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Small mpeg2 system stream typefinding improvement: make typefinder probe a bit i...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
      Small mpeg2 system stream typefinding improvement: make typefinder
      probe a bit into the stream instead of just looking for a marker
      at the beginning. Fixes #397810.
      c4707437
  6. 18 Jan, 2007 1 commit
  7. 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
  8. 16 Jan, 2007 3 commits
    • Tim-Philipp Müller's avatar
      gst/: Fix potentially unaligned access (#397207). · 0eac6231
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
      * gst-libs/gst/tag/gstvorbistag.c:
      (gst_tag_list_to_vorbiscomment_buffer):
      * gst/typefind/gsttypefindfunctions.c: (vorbis_type_find):
      Fix potentially unaligned access (#397207).
      0eac6231
    • 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
    • Stefan Kost's avatar
      sys/xvimage/xvimagesink.c: Red and blue mask was swapped (spotted by Dan Williams). · bc62bb15
      Stefan Kost authored
      Original commit message from CVS:
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
      Red and blue mask was swapped (spotted by Dan Williams).
      bc62bb15
  9. 15 Jan, 2007 2 commits
  10. 12 Jan, 2007 5 commits
    • Andy Wingo's avatar
      gst-libs/gst/audio/gstbaseaudiosink.c · d853b238
      Andy Wingo authored
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * gst-libs/gst/audio/gstbaseaudiosink.c
      (gst_base_audio_sink_fixate): Implement, stolen from baseaudiosrc.
      (gst_base_audio_sink_activate_pull): Remove the handwavey nego
      stuff, as the base class handles this now. Actually tell the ring
      buffer to start.
      (gst_base_audio_sink_callback): Cast the ring buffer correctly.
      How did this work before? Maybe I'm not as awesome a programmer as
      I think.
      
      * gst-libs/gst/audio/gstbaseaudiosrc.c
      (gst_base_audio_src_fixate): Rework as a basesrc vmethod instead
      of a pad function.
      d853b238
    • Tim-Philipp Müller's avatar
      gst-libs/gst/utils/missing-plugins.c: Remove more fields so that the... · b93a9176
      Tim-Philipp Müller authored
      gst-libs/gst/utils/missing-plugins.c: Remove more fields so that the application can better blacklist formats that ha...
      
      Original commit message from CVS:
      * gst-libs/gst/utils/missing-plugins.c: (copy_and_clean_caps):
      Remove more fields so that the application can better blacklist
      formats that have been tried before.
      b93a9176
    • Christian Schaller's avatar
      add latest files · 64734cf0
      Christian Schaller authored
      Original commit message from CVS:
      add latest files
      64734cf0
    • Tim-Philipp Müller's avatar
      gst-libs/gst/audio/mixerutils.h: Add G_BEGIN_DECLS and G_END_DECLS guards so... · ddf40c24
      Tim-Philipp Müller authored
      gst-libs/gst/audio/mixerutils.h: Add G_BEGIN_DECLS and G_END_DECLS guards so these helpers can be used when compiling...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/mixerutils.h:
      Add G_BEGIN_DECLS and G_END_DECLS guards so these helpers can be
      used when compiling with c++ compilers as well.
      ddf40c24
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Fix comment. · 69a3ef4f
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c:
      Fix comment.
      69a3ef4f
  11. 11 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/playback/gstplaybin.c: Post missing-plugin messages also when we error out... · 9de43e8b
      Tim-Philipp Müller authored
      gst/playback/gstplaybin.c: Post missing-plugin messages also when we error out because converters, textoverlay or aut...
      
      Original commit message from CVS:
      * gst/playback/gstplaybin.c: (post_missing_element_message),
      (gen_video_element), (gen_text_element), (gen_audio_element),
      (gen_vis_element):
      Post missing-plugin messages also when we error out because
      converters, textoverlay or auto*sinks are missing (#161922).
      9de43e8b
  12. 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
  13. 09 Jan, 2007 5 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
    • Tim-Philipp Müller's avatar
      ext/ogg/Makefile.am: Dist gstoggdemux.h to fix 'make distcheck'. · 056723b9
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/ogg/Makefile.am:
      Dist gstoggdemux.h to fix 'make distcheck'.
      * sys/v4l/Makefile.am:
      Fix 'make distcheck' even more.
      056723b9
    • Wim Taymans's avatar
      Added docs. · 80d666f3
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-docs.sgml:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * ext/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
      (gst_ogg_pad_query_types), (gst_ogg_pad_submit_page),
      (gst_ogg_chain_reset), (gst_ogg_chain_new_stream),
      (gst_ogg_demux_perform_seek):
      * ext/ogg/gstoggdemux.h:
      Added docs.
      Add some more comments.
      Small cleanups.
      80d666f3
    • Wim Taymans's avatar
      Small documentation updates/fixes · 62ef7da7
      Wim Taymans authored
      Original commit message from CVS:
      * ext/theora/theoradec.c:
      * ext/vorbis/vorbisdec.c:
      * gst-libs/gst/audio/gstringbuffer.c:
      (gst_ring_buffer_commit_full):
      * gst-libs/gst/audio/gstringbuffer.h:
      * gst-libs/gst/rtp/gstrtpbuffer.c:
      * gst-libs/gst/tag/gstvorbistag.c:
      Small documentation updates/fixes
      62ef7da7