1. 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
  2. 15 Dec, 2006 2 commits
    • Tim-Philipp Müller's avatar
      docs/libs/gst-plugins-base-libs-sections.txt: Small docs fixes/updates. · 20862a85
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      Small docs fixes/updates.
      * gst-libs/gst/video/gstvideosink.h:
      Remove nonfunctional GST_VIDEO_SINK_CLOCK macro which is a leftover
      from the 0.9 days (GST_BASE_SINK_CLOCK, which it points to, was
      removed from the base sink API between 0.9.6 and 0.9.7).
      API: add GST_VIDEO_SINK_CAST and use it for the height/width
      accessor macros, so we don't do a runtime GObject type check every
      time we use them.
      20862a85
    • Thomas Vander Stichele's avatar
      add doap file · 3f1b92db
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * Makefile.am:
      * gst-plugins-base.doap:
      * gst-plugins-base.spec.in:
      add doap file
      3f1b92db
  3. 09 Dec, 2006 1 commit
    • Jens Granseuer's avatar
      Declare variables at the beginning of a block. Fixes #383195. · 595217e8
      Jens Granseuer authored
      Original commit message from CVS:
      Patch by: Jens Granseuer <jensgr at gmx net>
      * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
      * gst-libs/gst/rtp/gstbasertpaudiopayload.c:
      (gst_base_rtp_audio_payload_handle_frame_based_buffer),
      (gst_base_rtp_audio_payload_handle_sample_based_buffer):
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
      Declare variables at the beginning of a block. Fixes #383195.
      595217e8
  4. 07 Dec, 2006 2 commits
  5. 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
  6. 04 Dec, 2006 1 commit
  7. 01 Dec, 2006 2 commits
    • Michael Smith's avatar
      gst/audiorate/gstaudiorate.c: Delete bad debug code. · ff480c70
      Michael Smith authored
      Original commit message from CVS:
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
      Delete bad debug code.
      Fixes #381219
      ff480c70
    • Sergey Scobich's avatar
      Fix compilation on win32 under VS8 · 748960f9
      Sergey Scobich authored
      Original commit message from CVS:
      * gst/videoscale/vs_4tap.c:
      * win32/MANIFEST:
      * win32/common/config.h:
      * win32/vs8/libgstvideoscale.vcproj:
      Fix compilation on win32 under VS8
      Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
      Partially fixes #381175
      748960f9
  8. 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
  9. 28 Nov, 2006 4 commits
    • Wim Taymans's avatar
      gst/playback/gstplaybasebin.c: Improve debug. · 4c0af72b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (check_queue_event):
      Improve debug.
      * gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps):
      Fix width and height range from 16 - 4096 to 1 - MAXINT, just like the
      padtemplate caps. Refixes #357577.
      4c0af72b
    • Wim Taymans's avatar
      gst/playback/gstplaybasebin.c: Add event probe to see when EOS is in a queue... · 0288dcea
      Wim Taymans authored
      gst/playback/gstplaybasebin.c: Add event probe to see when EOS is in a queue and we can disable the underrun signals....
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (check_queue_event),
      (queue_threshold_reached), (queue_out_of_data),
      (gen_preroll_element):
      Add event probe to see when EOS is in a queue and we can disable the
      underrun signals. Fixes #357577.
      0288dcea
    • Edward Hervey's avatar
      gst/playback/: New decodebin2 element. · b8423f25
      Edward Hervey authored
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_get_type),
      (_gst_boolean_accumulator), (gst_decode_bin_class_init),
      (gst_decode_bin_factory_filter), (compare_ranks), (print_feature),
      (gst_decode_bin_init), (gst_decode_bin_dispose),
      (gst_decode_bin_finalize), (gst_decode_bin_set_property),
      (gst_decode_bin_get_property), (gst_decode_bin_set_caps),
      (gst_decode_bin_get_caps), (gst_decode_bin_autoplug_continue),
      (gst_decode_bin_autoplug_sort), (analyze_new_pad), (connect_pad),
      (connect_element), (expose_pad), (type_found),
      (pad_added_group_cb), (pad_removed_group_cb),
      (no_more_pads_group_cb), (pad_added_cb), (pad_removed_cb),
      (no_more_pads_cb), (find_compatibles), (is_demuxer_element),
      (are_raw_caps), (multi_queue_overrun_cb),
      (multi_queue_underrun_cb), (gst_decode_group_new),
      (get_current_group), (group_demuxer_event_probe),
      (gst_decode_group_control_demuxer_pad),
      (gst_decode_group_control_source_pad),
      (gst_decode_group_check_if_blocked),
      (gst_decode_group_check_if_drained), (gst_decode_group_expose),
      (gst_decode_group_hide), (gst_decode_group_free),
      (gst_decode_group_set_complete), (source_pad_blocked_cb),
      (source_pad_event_probe), (gst_decode_pad_new), (add_fakesink),
      (remove_fakesink), (find_sink_pad), (gst_decode_bin_change_state),
      (plugin_init):
      New decodebin2 element.
      Closes #370092
      * gst/playback/gstplay-marshal.list:
      Added marshallers for new signals in decodebin2
      * gst/playback/gstplaybasebin.c: (setup_subtitle), (make_decoder):
      Use decodebin2 if *and only if* the USE_DECODEBIN2 environment variable
      is set.
      b8423f25
    • Wim Taymans's avatar
      gst/playback/gstplaybasebin.c: Disable rtsp:// uris for the release, it's not good enough yet. · ce6c9ab6
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (setup_source),
      (gst_play_base_bin_change_state):
      Disable rtsp:// uris for the release, it's not good enough yet.
      Remove unused var.
      ce6c9ab6
  10. 26 Nov, 2006 1 commit
    • Wim Taymans's avatar
      ext/theora/theoradec.c: Implement reverse playback. · 0a5978df
      Wim Taymans authored
      Original commit message from CVS:
      * ext/theora/theoradec.c: (gst_theora_dec_reset),
      (theora_dec_push_forward), (theora_dec_push_reverse),
      (theora_handle_data_packet), (theora_dec_decode_buffer),
      (theora_dec_flush_decode), (theora_dec_chain_reverse),
      (theora_dec_chain_forward), (theora_dec_chain):
      Implement reverse playback.
      * ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
      (vorbis_dec_decode_buffer), (vorbis_dec_flush_decode),
      (vorbis_dec_chain_forward):
      Clear buffers used for reverse playback in _reset.
      No need to set the eos flag, we clip samples using the segment.
      0a5978df
  11. 24 Nov, 2006 4 commits
    • Wim Taymans's avatar
      ext/ogg/gstoggdemux.c: Some cleanups. · b8583561
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
      (gst_ogg_pad_init), (gst_ogg_pad_dispose), (gst_ogg_pad_reset),
      (gst_ogg_pad_stream_out), (gst_ogg_pad_submit_page),
      (gst_ogg_chain_reset), (gst_ogg_demux_perform_seek):
      Some cleanups.
      Handle continued pages in reverse mode.
      b8583561
    • Wim Taymans's avatar
      ext/vorbis/vorbisdec.c: Small cleanups. · 22411eeb
      Wim Taymans authored
      Original commit message from CVS:
      * ext/vorbis/vorbisdec.c: (vorbis_dec_push_forward),
      (vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
      (vorbis_dec_flush_decode):
      Small cleanups.
      Don't try to add invalid timestamps.
      Clipping will unref the buffer.
      22411eeb
    • Stefan Kost's avatar
      gst/: remove obsolete _factory_init protos · fae581d5
      Stefan Kost authored
      Original commit message from CVS:
      * gst/adder/gstadder.h:
      * gst/audiotestsrc/gstaudiotestsrc.h:
      remove obsolete _factory_init protos
      fae581d5
    • Stefan Kost's avatar
      sys/xvimage/xvimagesink.c: Fix spacing in debug message. · dd9dbbc6
      Stefan Kost authored
      Original commit message from CVS:
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc):
      Fix spacing in debug message.
      dd9dbbc6
  12. 23 Nov, 2006 2 commits
  13. 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
  14. 21 Nov, 2006 3 commits
    • 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
    • Tim-Philipp Müller's avatar
      gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found... · 67e6bb5a
      Tim-Philipp Müller authored
      gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probability for mp3 is smaller than the '...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
      Avoid integer underflow when the found probability for mp3 is
      smaller than the 'penalty' we subtract if there's not a clean
      mp3 header sync at offset 0.
      67e6bb5a
    • Stefan Kost's avatar
      docs/libs/gst-plugins-base-libs-sections.txt: Add some new symbols to the docs · 4607e3d1
      Stefan Kost authored
      Original commit message from CVS:
      * docs/libs/gst-plugins-base-libs-sections.txt:
      Add some new symbols to the docs
      4607e3d1
  15. 20 Nov, 2006 3 commits
  16. 19 Nov, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst-libs/gst/rtp/gstbasertpaudiopayload.h: Fix GstBaseRTPAudioPayload... · 23df03b7
      Tim-Philipp Müller authored
      gst-libs/gst/rtp/gstbasertpaudiopayload.h: Fix GstBaseRTPAudioPayload structure so the whole GObject inheritance busi...
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertpaudiopayload.h:
      Fix GstBaseRTPAudioPayload structure so the whole GObject
      inheritance business actually works (parent class instance structure
      must always come first in the derived class instance structure).
      23df03b7
  17. 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
  18. 15 Nov, 2006 1 commit
  19. 14 Nov, 2006 3 commits
    • David Schleef's avatar
      configure.ac: Bump liboil requirement to 0.3.8. · 12bfb95f
      David Schleef authored
      Original commit message from CVS:
      * configure.ac:
      Bump liboil requirement to 0.3.8.
      * gst-libs/gst/riff/riff-media.c:
      Add Dirac fourcc.
      * gst/videoscale/vs_image.h:
      * gst/videoscale/vs_scanline.h:
      Use liboil's stdint.h.
      * gst/videotestsrc/videotestsrc.c:
      Remove liboil related ifdef's, since they aren't needed now, and
      won't work with future versions.
      12bfb95f
    • David Schleef's avatar
      gst/videoscale/: Add a 4-tap image scaler. Theoretically looks much prettier. · 25d874ec
      David Schleef authored
      Original commit message from CVS:
      * gst/videoscale/Makefile.am:
      * gst/videoscale/gstvideoscale.c:
      * gst/videoscale/gstvideoscale.h:
      * gst/videoscale/vs_4tap.c:
      * gst/videoscale/vs_4tap.h:
      * gst/videoscale/vs_image.c:
      * gst/videoscale/vs_image.h:
      * gst/videoscale/vs_scanline.c:
      * gst/videoscale/vs_scanline.h:
      Add a 4-tap image scaler.  Theoretically looks much prettier.
      The tap calculation could use some improvement.
      25d874ec
    • Jan David Mol's avatar
      Various gsize and gssize printf fixes. Fixes #372507. · d24ad6ac
      Jan David Mol authored
      Original commit message from CVS:
      Patch by: Jan David Mol <j dot j dot d dot mol at tudelft dot nl>
      * gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds),
      (gst_riff_parse_strf_iavs):
      * gst/subparse/gstsubparse.c: (convert_encoding):
      * gst/tcp/gstmultifdsink.c:
      (gst_multi_fd_sink_handle_client_write):
      * gst/tcp/gsttcp.c: (gst_tcp_socket_write), (gst_tcp_socket_read),
      (gst_tcp_read_buffer), (gst_tcp_gdp_read_caps),
      (gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
      * gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_render):
      * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
      (gst_ximagesink_ximage_new):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
      Various gsize and gssize printf fixes. Fixes #372507.
      d24ad6ac
  20. 13 Nov, 2006 3 commits
    • Wim Taymans's avatar
      ext/vorbis/vorbisdec.*: First stab at vorbis reverse playback. · cadc8811
      Wim Taymans authored
      Original commit message from CVS:
      * ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
      (vorbis_dec_push_forward), (vorbis_dec_push_reverse),
      (vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
      (vorbis_dec_flush_decode), (vorbis_dec_chain_reverse),
      (vorbis_dec_chain_forward), (vorbis_dec_chain):
      * ext/vorbis/vorbisdec.h:
      First stab at vorbis reverse playback.
      cadc8811
    • Wim Taymans's avatar
      gst-libs/gst/audio/gstbaseaudiosink.*: Make the clock sync code more accurate... · 0990cbf2
      Wim Taymans authored
      gst-libs/gst/audio/gstbaseaudiosink.*: Make the clock sync code more accurate wrt resampling and playback at differen...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosink.c:
      (gst_base_audio_sink_event), (gst_base_audio_sink_render):
      * gst-libs/gst/audio/gstbaseaudiosink.h:
      Make the clock sync code more accurate wrt resampling and playback
      at different rates.
      * gst-libs/gst/audio/gstringbuffer.c:
      (gst_ring_buffer_commit_full), (gst_ring_buffer_commit):
      * gst-libs/gst/audio/gstringbuffer.h:
      Use better algorithm to interpolate sample rates.
      0990cbf2
    • Michael Smith's avatar
      ext/ogg/gstoggdemux.c: Improve a debug line slightly. · 410bb3fe
      Michael Smith authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page):
      Improve a debug line slightly.
      
      * ext/ogg/gstogmparse.c: (gst_ogm_parse_plugin_init):
      Call gst_riff_init() in plugin_init, to avoid getting errors from
      the debug system (unrelated changes to another plugin made this turn
      up; not sure why).
      410bb3fe