1. 18 May, 2007 1 commit
    • Marc-Andre Lureau's avatar
      gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed, set_option,... · 16b8bd4c
      Marc-Andre Lureau authored
      gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed, set_option, get_option, _gst_reserved):
      
      Original commit message from CVS:
      patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
      * gst-libs/gst/interfaces/mixer.h (mixer_type, option_changed,
      set_option, get_option, _gst_reserved):
      Revert reordering functions (keep ABI).
      16b8bd4c
  2. 17 May, 2007 8 commits
    • Jan Schmidt's avatar
      sys/: When we create our own window, indicate that we handle the · cbc95dfb
      Jan Schmidt authored
      Original commit message from CVS:
      * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put),
      (gst_ximagesink_xwindow_new), (gst_ximagesink_handle_xevents),
      (gst_ximagesink_show_frame):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
      (gst_xvimagesink_xwindow_new), (gst_xvimagesink_handle_xevents),
      (gst_xvimagesink_show_frame):
      When we create our own window, indicate that we handle the
      WM_DELETE client message from the window manager, so that it won't
      kill our window (and our app) along with it. Handle ClientMessage,
      post an error on the bus, and close the window. Further buffers
      arriving will result in a FlowError because the window has been
      destroyed.
      Fixes: #393975
      Clean up the X event handling loop and make them the same for
      both xvimagesink and ximagesink while I'm at it.
      cbc95dfb
    • Wim Taymans's avatar
      gst/playback/gstdecodebin2.c: Make decodebin2 autoplug depayloaders too. · a18a10e8
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstdecodebin2.c: (gst_decode_bin_factory_filter):
      Make decodebin2 autoplug depayloaders too.
      * gst/playback/gsturidecodebin.c: (source_new_pad):
      Set the newly created decoder in a usable state when autoplugging a
      dynamic source such as RTSP.
      a18a10e8
    • Tim-Philipp Müller's avatar
      gst/playback/gststreaminfo.c: Ignore video-codec tag for audio streams and... · 2cd5f527
      Tim-Philipp Müller authored
      gst/playback/gststreaminfo.c: Ignore video-codec tag for audio streams and ignore audio-codec tags for video streams....
      
      Original commit message from CVS:
      * gst/playback/gststreaminfo.c: (cb_probe):
      Ignore video-codec tag for audio streams and ignore audio-codec tags
      for video streams. Should make codec name collection a bit more
      robust against sloppy demuxers that send tag events containing both
      tags down each pad.
      2cd5f527
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: Tweak the buffering thresholds a little. · d3393980
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (update_rates):
      Tweak the buffering thresholds a little.
      Update the buffer size with the previously calculate rate instead of
      only when we calculate a new rate so that we get smoother buffering
      updates.
      * gst/playback/Makefile.am:
      * gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_base_init),
      (gst_uri_decode_bin_class_init), (gst_uri_decode_bin_init),
      (gst_uri_decode_bin_finalize), (gst_uri_decode_bin_set_property),
      (gst_uri_decode_bin_get_property), (unknown_type),
      (add_element_stream), (no_more_pads_full), (no_more_pads),
      (source_no_more_pads), (new_decoded_pad), (array_has_value),
      (gen_source_element), (has_all_raw_caps), (analyse_source),
      (remove_decoders), (make_decoder), (remove_source),
      (source_new_pad), (setup_source), (decoder_query_init),
      (decoder_query_duration_fold), (decoder_query_duration_done),
      (decoder_query_position_fold), (decoder_query_position_done),
      (decoder_query_latency_fold), (decoder_query_latency_done),
      (decoder_query_seeking_fold), (decoder_query_seeking_done),
      (decoder_query_generic_fold), (gst_uri_decode_bin_query),
      (gst_uri_decode_bin_change_state), (plugin_init):
      New element that intergrates a source, optional buffering element and
      decodebin.
      d3393980
    • Tim-Philipp Müller's avatar
      configure.ac: Bump libtheora requirement to 1.0alpha5 for the pixformat check... · 23396338
      Tim-Philipp Müller authored
      configure.ac: Bump libtheora requirement to 1.0alpha5 for the pixformat check (also has a .pc file, so we don't need ...
      
      Original commit message from CVS:
      * configure.ac:
      Bump libtheora requirement to 1.0alpha5 for the pixformat check
      (also has a .pc file, so we don't need the fallback check any
      longer). Fixes #438840.
      23396338
    • Wim Taymans's avatar
      gst/playback/gstqueue2.c: fix build. · fa972968
      Wim Taymans authored
      Original commit message from CVS:
      * gst/playback/gstqueue2.c: (gst_queue_get_type),
      (gst_queue_class_init), (gst_queue_finalize), (update_time_level),
      (apply_segment), (apply_buffer), (update_buffering),
      (reset_rate_timer), (update_rates), (gst_queue_locked_flush),
      (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
      (gst_queue_handle_sink_event), (gst_queue_is_filled),
      (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop),
      (plugin_init):
      fix build.
      fa972968
    • Wim Taymans's avatar
      gst/playback/: On our way to playbin2 this is the new network queue that does... · ae69903c
      Wim Taymans authored
      gst/playback/: On our way to playbin2 this is the new network queue that does buffering all by itself using high and ...
      
      Original commit message from CVS:
      * gst/playback/Makefile.am:
      * gst/playback/gstqueue2.c: (gst_queue_get_type),
      (gst_queue_class_init), (gst_queue_init), (gst_queue_finalize),
      (gst_queue_getcaps), (gst_queue_bufferalloc),
      (gst_queue_acceptcaps), (update_time_level), (apply_segment),
      (apply_buffer), (update_buffering), (reset_rate_timer),
      (update_rates), (gst_queue_locked_flush),
      (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
      (gst_queue_handle_sink_event), (gst_queue_is_empty),
      (gst_queue_is_filled), (gst_queue_chain), (gst_queue_push_one),
      (gst_queue_loop), (gst_queue_handle_src_event),
      (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
      (gst_queue_src_activate_push), (gst_queue_change_state),
      (gst_queue_set_property), (gst_queue_get_property), (plugin_init):
      On our way to playbin2 this is the new network queue that does buffering
      all by itself using high and low watermarks. It can also measure up and
      downstream bandwidth to optimally size the queue.
      ae69903c
    • Michael Smith's avatar
      gst/: Use the segment->last_stop value to calculate the next timestamp to... · ab76fa09
      Michael Smith authored
      gst/: Use the segment->last_stop value to calculate the next timestamp to generate after a seek; not the segment->sta...
      
      Original commit message from CVS:
      * gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_do_seek):
      * gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_do_seek):
      Use the segment->last_stop value to calculate the next timestamp to
      generate after a seek; not the segment->start value.
      ab76fa09
  3. 15 May, 2007 7 commits
    • David Schleef's avatar
      docs/Makefile.am: Install docs even when --disable-gtk-doc is disabled. This... · bd9d834b
      David Schleef authored
      docs/Makefile.am: Install docs even when --disable-gtk-doc is disabled.  This matches the behavior of gtk+.  Fixes #3...
      
      Original commit message from CVS:
      * docs/Makefile.am: Install docs even when --disable-gtk-doc
      is disabled.  This matches the behavior of gtk+.  Fixes #349099.
      bd9d834b
    • Wim Taymans's avatar
      ext/ogg/gstoggdemux.c: Some more chained streaming ogg timestamp fixes. · f8f9935d
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
      (gst_ogg_demux_perform_seek), (gst_ogg_demux_handle_page):
      Some more chained streaming ogg timestamp fixes.
      f8f9935d
    • Wim Taymans's avatar
      ext/ogg/gstoggdemux.c: Add some FIXMEs. · 8b90454e
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
      (gst_ogg_demux_activate_chain), (gst_ogg_demux_perform_seek),
      (gst_ogg_demux_handle_page):
      Add some FIXMEs.
      Fix chain start/stop segment handling based on patch by
      <ahalda at cs dot mcgill dot ca> see #320984.
      8b90454e
    • Michael Smith's avatar
      configure.ac: We don't require a C++ compiler. So don't require one. · 171fb33d
      Michael Smith authored
      Original commit message from CVS:
      * configure.ac:
      We don't require a C++ compiler. So don't require one.
      171fb33d
    • Stefan Kost's avatar
      ext/alsa/gstalsamixer.c (source, n_poll_fds, poll_fds, gst_alsa_mixer_check,... · 38da6419
      Stefan Kost authored
      ext/alsa/gstalsamixer.c (source, n_poll_fds, poll_fds, gst_alsa_mixer_check, gst_alsa_mixer_dispatch, gst_alsa_mixer_...
      
      Original commit message from CVS:
      * ext/alsa/gstalsamixer.c (source, n_poll_fds, poll_fds,
      gst_alsa_mixer_check, gst_alsa_mixer_dispatch,
      gst_alsa_mixer_finalize, gst_alsa_mixer_handle_source_callback,
      gst_alsa_mixer_handle_callback, gst_alsa_mixer_elem_handle_callback,
      gst_alsa_mixer_ensure_track_list, gst_alsa_mixer_update_option,
      gst_alsa_mixer_update_track):
      Apply some of the cleanup Tim suggested in #152864 afterwards.
      38da6419
    • Marc-Andre Lureau's avatar
      ext/alsa/gstalsamixer.c (main_context, GstAlsaMixerWatch, _GstAlsaMixerWatch,... · f2df2a69
      Marc-Andre Lureau authored
      ext/alsa/gstalsamixer.c (main_context, GstAlsaMixerWatch, _GstAlsaMixerWatch, source, n_poll_fds, poll_fds, gst_alsa_...
      
      Original commit message from CVS:
      patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
      * ext/alsa/gstalsamixer.c (main_context, GstAlsaMixerWatch,
      _GstAlsaMixerWatch, source, n_poll_fds, poll_fds,
      gst_alsa_mixer_watch_funcs, gst_alsa_mixer_prepare,
      gst_alsa_mixer_check, gst_alsa_mixer_dispatch,
      gst_alsa_mixer_finalize, gst_alsa_mixer_find_master_mixer,
      gst_alsa_mixer_handle_source_callback,
      gst_alsa_mixer_handle_callback, gst_alsa_mixer_elem_handle_callback,
      gst_alsa_mixer_ensure_track_list, gst_alsa_mixer_free,
      gst_alsa_mixer_get_volume, gst_alsa_mixer_set_volume,
      gst_alsa_mixer_set_mute, gst_alsa_mixer_set_record,
      gst_alsa_mixer_get_option, gst_alsa_mixer_update_option,
      gst_alsa_mixer_update_track, _gst_alsa_mixer_set_interface):
      * ext/alsa/gstalsamixer.h (handle_source, interface, dir):
      * ext/alsa/gstalsamixerelement.c (gst_alsa_mixer_element_details,
      gst_alsa_mixer_element_interface_supported,
      gst_alsa_mixer_element_finalize, gst_alsa_mixer_element_init,
      gst_alsa_mixer_element_set_property,
      gst_alsa_mixer_element_get_property,
      gst_alsa_mixer_element_change_state):
      * ext/alsa/gstalsamixertrack.c (gst_alsa_mixer_track_update):
      * gst-libs/gst/interfaces/mixer.c (gst_mixer_volume_changed,
      gst_mixer_option_changed):
      * gst-libs/gst/interfaces/mixer.h (set_option, get_option,
      volume_changed, option_changed, _gst_reserved):
      Implement notification for alsamixer. Fixes #152864
      f2df2a69
    • David Schleef's avatar
      gst/videotestsrc/videotestsrc.*: Add support for video/x-raw-bayer. · c655a27a
      David Schleef authored
      Original commit message from CVS:
      * gst/videotestsrc/videotestsrc.c:
      * gst/videotestsrc/videotestsrc.h:
      Add support for video/x-raw-bayer.
      c655a27a
  4. 13 May, 2007 1 commit
  5. 12 May, 2007 2 commits
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstbasertpdepayload.c: Parse and use additional caps fields... · 01b6f0b3
      Wim Taymans authored
      gst-libs/gst/rtp/gstbasertpdepayload.c: Parse and use additional caps fields as described in updated application/x-rt...
      
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstbasertpdepayload.c:
      (gst_base_rtp_depayload_setcaps),
      (gst_base_rtp_depayload_set_gst_timestamp):
      Parse and use additional caps fields as described in updated
      application/x-rtp caps spec.
      01b6f0b3
    • Wim Taymans's avatar
      ext/ogg/gstoggdemux.c: If there is a stream in a chain without any data... · 8532e91e
      Wim Taymans authored
      ext/ogg/gstoggdemux.c: If there is a stream in a chain without any data packets, ignore the stream in the total lengt...
      
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
      (gst_ogg_demux_collect_chain_info):
      If there is a stream in a chain without any data packets, ignore the
      stream in the total length calculations. Might be related to #436820.
      8532e91e
  6. 11 May, 2007 1 commit
    • Jan Schmidt's avatar
      gst/typefind/gsttypefindfunctions.c: Consolidate and re-work our mpeg system... · 1e2c3277
      Jan Schmidt authored
      gst/typefind/gsttypefindfunctions.c: Consolidate and re-work our mpeg system stream detection to probe more packets a...
      
      Original commit message from CVS:
      * gst/typefind/gsttypefindfunctions.c: (mpeg_sys_is_valid_pack),
      (mpeg_sys_is_valid_pes), (mpeg_sys_is_valid_sys),
      (mpeg_sys_type_find), (mpeg_ts_type_find), (mpeg4_video_type_find),
      (mpeg_video_type_find), (mpeg_video_stream_type_find),
      (plugin_init):
      Consolidate and re-work our mpeg system stream detection to probe
      more packets and produce a higher confidence result. Fixes a
      regression caused by lowering the typefind probability last year
      - related to bug #397810. Remove the redundant MPEG-1 specific
      typefind function, as the new one detects both MPEG-1 & MPEG-2
      happily.
      Also cleanup the MPEG elementary and MPEG-TS detection functions a
      little.
      Tested against my media test directory, with some improvements and
      no regressions.
      1e2c3277
  7. 10 May, 2007 1 commit
    • Wim Taymans's avatar
      gst/playback/gstplaybasebin.c: Connect to the new queue "pushing" signal... · 56f01bc0
      Wim Taymans authored
      gst/playback/gstplaybasebin.c: Connect to the new queue "pushing" signal instead of the broken "running" one.
      
      Original commit message from CVS:
      * gst/playback/gstplaybasebin.c: (fill_buffer), (check_queue),
      (queue_out_of_data):
      Connect to the new queue "pushing" signal instead of the broken
      "running" one.
      56f01bc0
  8. 09 May, 2007 3 commits
  9. 08 May, 2007 1 commit
    • Stefan Kost's avatar
      gst/adder/gstadder.c (gst_adder_src_event, gst_adder_collected,... · 736a5c08
      Stefan Kost authored
      gst/adder/gstadder.c (gst_adder_src_event, gst_adder_collected, gst_adder_change_state): gst/adder/gstadder.h (bps, o...
      
      Original commit message from CVS:
      * gst/adder/gstadder.c (gst_adder_src_event, gst_adder_collected,
      gst_adder_change_state):
      * gst/adder/gstadder.h (bps, offset, collect_event, segment,
      segment_pending, segment_position, segment_rate):
      Handle playback-rate on adder.
      736a5c08
  10. 07 May, 2007 1 commit
    • Michael Smith's avatar
      ext/theora/: Don't push events (newsegment, tags) before initialising the decoder. · db624feb
      Michael Smith authored
      Original commit message from CVS:
      * ext/theora/gsttheoradec.h:
      * ext/theora/theoradec.c: (gst_theora_dec_reset),
      (theora_dec_sink_event), (theora_handle_comment_packet),
      (theora_handle_type_packet), (theora_dec_change_state):
      Don't push events (newsegment, tags) before initialising the
      decoder.
      This is neccesary for seeking to work correctly in gnonlin.
      db624feb
  11. 04 May, 2007 4 commits
  12. 03 May, 2007 4 commits
    • Tim-Philipp Müller's avatar
      sys/ximage/ximagesink.c: When XShm is not available, we might get row strides... · cb73a6e7
      Tim-Philipp Müller authored
      sys/ximage/ximagesink.c: When XShm is not available, we might get row strides that are not rounded up to multiples of...
      
      Original commit message from CVS:
      * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new):
      When XShm is not available, we might get row strides that are not
      rounded up to multiples of four; this is bad, because virtually
      every RGB-processing element in GStreamer assumes rowstrides are
      rounded up to multiples of four, so let's allocate at least enough
      memory to avoid crashes in this case. The image will still be
      displayed distorted though if this happens, so that still needs
      fixing (maybe by allocating a bigger image with an 'even' width
      and then clipping it appropriately when rendering - something for
      Xlib aficionados in any case).
      cb73a6e7
    • Michael Smith's avatar
      gst/audiorate/gstaudiorate.c: If a buffer doesn't have a timestamp, assume... · 03e4592e
      Michael Smith authored
      gst/audiorate/gstaudiorate.c: If a buffer doesn't have a timestamp, assume it's contiguous with the previous buffer, ...
      
      Original commit message from CVS:
      * gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
      If a buffer doesn't have a timestamp, assume it's contiguous with
      the previous buffer, and synthesise timestamps appropriately.
      03e4592e
    • Edward Hervey's avatar
      tests/check/elements/videorate.c: Set buffer timestamp to a valid value in... · 14f2bca5
      Edward Hervey authored
      tests/check/elements/videorate.c: Set buffer timestamp to a valid value in order to test the buffer really does stay ...
      
      Original commit message from CVS:
      * tests/check/elements/videorate.c: (GST_START_TEST):
      Set buffer timestamp to a valid value in order to test the buffer
      really does stay in videorate.
      14f2bca5
    • Edward Hervey's avatar
      gst/videorate/gstvideorate.c: There is no sensible way to handle incoming... · 25d28aae
      Edward Hervey authored
      gst/videorate/gstvideorate.c: There is no sensible way to handle incoming buffers which don't have a valid timestamp....
      
      Original commit message from CVS:
      * gst/videorate/gstvideorate.c: (gst_video_rate_chain):
      There is no sensible way to handle incoming buffers which don't have a
      valid timestamp. We therefore discard them and wait for the next one.
      25d28aae
  13. 01 May, 2007 1 commit
  14. 29 Apr, 2007 1 commit
  15. 27 Apr, 2007 2 commits
    • Julien Moutte's avatar
      ext/theora/theoradec.c: Calculate buffer duration correctly to generate a perfect stream (#433888). · d299d1c0
      Julien Moutte authored
      Original commit message from CVS:
      2007-04-27  Julien MOUTTE  <julien@moutte.net>
      
      * ext/theora/theoradec.c: (_theora_granule_time),
      (theora_dec_push_forward), (theora_handle_data_packet),
      (theora_dec_decode_buffer): Calculate buffer duration correctly
      to generate a perfect stream (#433888).
      * gst/audioresample/gstaudioresample.c:
      (audioresample_check_discont): Glib provides ABS.
      d299d1c0
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstrtcpbuffer.*: Fix RB block parsing and writing. · f23356bd
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_get_rb),
      (gst_rtcp_packet_add_rb), (gst_rtcp_packet_sdes_add_item),
      (gst_rtcp_packet_sdes_add_entry), (gst_rtcp_packet_bye_add_ssrc),
      (gst_rtcp_packet_bye_add_ssrcs), (get_reason_offset),
      (gst_rtcp_packet_bye_set_reason):
      * gst-libs/gst/rtp/gstrtcpbuffer.h:
      Fix RB block parsing and writing.
      Add support for constructing BYE packets.
      f23356bd
  16. 25 Apr, 2007 2 commits
    • Tim-Philipp Müller's avatar
      When posting a warning message because samples were dropped, post something... · 9e873a3c
      Tim-Philipp Müller authored
      When posting a warning message because samples were dropped, post something more intelligible than he default error m...
      
      Original commit message from CVS:
      * gst-libs/gst/audio/gstbaseaudiosrc.c: (_do_init),
      (gst_base_audio_src_create):
      * po/POTFILES.in:
      When posting a warning message because samples were dropped, post
      something more intelligible than he default error message for clock
      errors which is just confusing in this context (#432984).
      9e873a3c
    • Wim Taymans's avatar
      gst-libs/gst/rtp/gstrtcpbuffer.*: Implement code to write SR, RR and SDES packets. · f5c743b0
      Wim Taymans authored
      Original commit message from CVS:
      * gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_buffer_new),
      (gst_rtcp_buffer_end), (gst_rtcp_buffer_get_packet_count),
      (read_packet_header), (gst_rtcp_packet_move_to_next),
      (gst_rtcp_buffer_add_packet), (gst_rtcp_packet_sr_set_sender_info),
      (gst_rtcp_packet_rr_set_ssrc), (gst_rtcp_packet_add_rb),
      (gst_rtcp_packet_sdes_get_item_count),
      (gst_rtcp_packet_sdes_first_item),
      (gst_rtcp_packet_sdes_next_item), (gst_rtcp_packet_sdes_get_ssrc),
      (gst_rtcp_packet_sdes_first_entry),
      (gst_rtcp_packet_sdes_next_entry),
      (gst_rtcp_packet_sdes_get_entry), (gst_rtcp_packet_sdes_add_item),
      (gst_rtcp_packet_sdes_add_entry):
      * gst-libs/gst/rtp/gstrtcpbuffer.h:
      Implement code to write SR, RR and SDES packets.
      f5c743b0