1. 12 May, 2007 1 commit
    • 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
  2. 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
  3. 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
  4. 09 May, 2007 3 commits
  5. 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
  6. 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
  7. 04 May, 2007 4 commits
  8. 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
  9. 01 May, 2007 1 commit
  10. 29 Apr, 2007 1 commit
  11. 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
  12. 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
  13. 24 Apr, 2007 3 commits
    • Christian Kirbach's avatar
      sys/ximage/ximagesink.c: Fix build if XShm is not available (#432362). · 80b16b3a
      Christian Kirbach authored
      Original commit message from CVS:
      Patch by: Christian Kirbach <Christian dot Kirbach at googlemail com>
      * sys/ximage/ximagesink.c:
      Fix build if XShm is not available (#432362).
      80b16b3a
    • Sebastian Dröge's avatar
      gst/audioconvert/gstaudioconvert.c: Initalize the AudioConvertCtx with zeroes,... · 84c824b9
      Sebastian Dröge authored
      gst/audioconvert/gstaudioconvert.c: Initalize the AudioConvertCtx with zeroes, otherwise it will contain pointers to ...
      
      Original commit message from CVS:
      * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init):
      Initalize the AudioConvertCtx with zeroes, otherwise it will contain
      pointers to random memory which are passed to g_free() when
      audio_convert_prepare_context() is called the first time.
      84c824b9
    • Dan Williams's avatar
      gst/videorate/gstvideorate.c: Don't leak incoming buffer if gst_pad_push()... · 37a334dd
      Dan Williams authored
      gst/videorate/gstvideorate.c: Don't leak incoming buffer if gst_pad_push() returns a non-OK flow. Fixes #432755.
      
      Original commit message from CVS:
      Patch by: Dan Williams <dcbw redhat com>
      * gst/videorate/gstvideorate.c: (gst_video_rate_chain):
      Don't leak incoming buffer if gst_pad_push() returns a
      non-OK flow. Fixes #432755.
      * tests/check/elements/videorate.c: (GST_START_TEST),
      (videorate_suite):
      Unit test for the above by Yours Truly.
      37a334dd
  14. 23 Apr, 2007 1 commit
  15. 21 Apr, 2007 6 commits
  16. 20 Apr, 2007 1 commit
    • Stefan Kost's avatar
      gst/subparse/: Use GST_DISABLE_XML here · 23a2a0e2
      Stefan Kost authored
      Original commit message from CVS:
      * gst/subparse/gstsubparse.c:
      * gst/subparse/samiparse.c:
      Use GST_DISABLE_XML here
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
      (gst_xvimagesink_xwindow_new), (gst_xvimagesink_get_xv_support),
      (gst_xvimagesink_buffer_alloc),
      (gst_xvimagesink_navigation_send_event):
      * sys/xvimage/xvimagesink.h:
      Include stdlib.h when using atoi.
      * tests/check/elements/playbin.c: (playbin_suite):
      Use GST_DISABLE_REGISTRY here
      23a2a0e2
  17. 19 Apr, 2007 1 commit
    • Michael Smith's avatar
      ext/theora/: Track initialisation state; don't try to use encoder state if... · 38db14cb
      Michael Smith authored
      ext/theora/: Track initialisation state; don't try to use encoder state if we're not initialised (it'll segfault).
      
      Original commit message from CVS:
      * ext/theora/gsttheoraenc.h:
      * ext/theora/theoraenc.c: (theora_enc_sink_setcaps),
      (theora_enc_sink_event), (theora_enc_change_state):
      Track initialisation state; don't try to use encoder state if we're
      not initialised (it'll segfault).
      38db14cb
  18. 18 Apr, 2007 1 commit
  19. 17 Apr, 2007 4 commits
  20. 16 Apr, 2007 1 commit
    • Vincent Torri's avatar
      ext/pango/gstclockoverlay.c: Fix unused variable warning if HAVE_LOCALTIME_R is undefinied · 0138ad7e
      Vincent Torri authored
      Original commit message from CVS:
      Patch by: Vincent Torri <vtorri at univ-evry dot fr>
      * ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time):
      Fix unused variable warning if HAVE_LOCALTIME_R is undefinied
      * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
      * gst/audioresample/gstaudioresample.c: (audioresample_do_output):
      Use the correct format strings for integer formats.
      0138ad7e