1. 12 Nov, 2007 1 commit
    • Stefan Kost's avatar
      gst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the element... · 8ae866e5
      Stefan Kost authored
      gst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when we should, but not when we its no...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c:
      * gst/qtdemux/qtdemux.c:
      Sync _handle_src_event() with oggdemux. In avidemux also ref the
      element when we should, but not when we its not needed.
      8ae866e5
  2. 10 Sep, 2007 1 commit
  3. 03 Sep, 2007 1 commit
  4. 30 May, 2007 2 commits
    • Tim-Philipp Müller's avatar
      gst/avi/gstavidemux.*: Parse subtitle text streams instead of erroring out... · 3127a32c
      Tim-Philipp Müller authored
      gst/avi/gstavidemux.*: Parse subtitle text streams instead of erroring out (#442034). Still needs a parser for the su...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_base_init),
      (gst_avi_demux_reset), (gst_avi_demux_parse_stream):
      * gst/avi/gstavidemux.h:
      Parse subtitle text streams instead of erroring out (#442034). Still
      needs a parser for the subtitles to actually show up.
      3127a32c
    • Tim-Philipp Müller's avatar
      gst/avi/gstavidemux.c: Make _push_event() return TRUE if the event could be... · f91649ed
      Tim-Philipp Müller authored
      gst/avi/gstavidemux.c: Make _push_event() return TRUE if the event could be pushed on at least one pad and not only i...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_push_event),
      (gst_avi_demux_loop):
      Make _push_event() return TRUE if the event could be pushed on at
      least one pad and not only if it could be pushed on all pads,
      otherwise we'll end up posting an error message on EOS if one or
      more source pads are not connected.
      f91649ed
  5. 10 Apr, 2007 1 commit
    • Peter Kjellerstedt's avatar
      gst/: Fix some compiler warnings. Fixes #428182. · 50f88db3
      Peter Kjellerstedt authored
      Original commit message from CVS:
      Patch by: Peter Kjellerstedt  <pkj at axis com>
      * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index):
      * gst/rtp/gstrtpL16depay.c:
      * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process):
      * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode),
      (gst_rtp_speex_depay_setcaps):
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
      (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp):
      * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send):
      Fix some compiler warnings. Fixes #428182.
      50f88db3
  6. 05 Apr, 2007 1 commit
    • Julien Moutte Moutte's avatar
      gst/avi/gstavidemux.c: Don't leave the offsets defined by upstream element on... · d42fcc86
      Julien Moutte Moutte authored
      gst/avi/gstavidemux.c: Don't leave the offsets defined by upstream element on the compressed data buffer we are pushi...
      
      Original commit message from CVS:
      2007-04-05  Julien MOUTTE  <julien@moutte.net>
      
      * gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry):
      Don't leave the offsets defined by upstream element on the
      compressed data buffer we are pushing downstream. Make them
      GST_BUFFER_OFFSET_NONE.
      d42fcc86
  7. 04 Apr, 2007 1 commit
    • Stefan Kost's avatar
      gst/avi/: Don't abort on out-of-memory. Use stream-nr as unsigned integer only. · 30df72cc
      Stefan Kost authored
      Original commit message from CVS:
      * gst/avi/README:
      * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
      (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index),
      (gst_avi_demux_stream_index), (gst_avi_demux_sync),
      (gst_avi_demux_stream_scan), (gst_avi_demux_massage_index),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_stream_header_push),
      (gst_avi_demux_stream_header_pull), (gst_avi_demux_combine_flows),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data):
      Don't abort on out-of-memory. Use stream-nr as unsigned integer only.
      30df72cc
  8. 10 Mar, 2007 1 commit
  9. 09 Mar, 2007 1 commit
  10. 08 Mar, 2007 1 commit
    • René Stadler's avatar
      gst/avi/gstavidemux.c: Make avidemux accept optional header chunks in any order. · 654ad41f
      René Stadler authored
      Original commit message from CVS:
      Patch by: René Stadler <mail at renestadler dot de>
      * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
      (gst_avi_demux_push_event), (gst_avi_demux_process_next_entry),
      (gst_avi_demux_stream_data), (gst_avi_demux_chain):
      Make avidemux accept optional header chunks in any order.
      Fixes #415446.
      654ad41f
  11. 28 Feb, 2007 1 commit
  12. 13 Feb, 2007 1 commit
    • Stefan Kost's avatar
      gst/avi/gstavidemux.c: Put debug stuff into #ifndef GST_DISABLE_DEBUG #endif · 5116ff60
      Stefan Kost authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
      (gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
      (gst_avi_demux_sync), (gst_avi_demux_massage_index),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_push_event), (gst_avi_demux_stream_header_pull),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
      (gst_avi_demux_loop):
      Put debug stuff into #ifndef GST_DISABLE_DEBUG #endif
      5116ff60
  13. 12 Feb, 2007 1 commit
    • Stefan Kost's avatar
      gst/avi/gstavidemux.*: Save some memory (8%) by repacking the index entry... · 114afecd
      Stefan Kost authored
      gst/avi/gstavidemux.*: Save some memory (8%) by repacking the index entry structure (more to come). Add more FIXMEs t...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
      (gst_avi_demux_reset), (gst_avi_demux_index_entry_for_time),
      (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_superindex),
      (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream),
      (gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
      (gst_avi_demux_sync), (gst_avi_demux_next_data_buffer),
      (gst_avi_demux_stream_scan), (gst_avi_demux_massage_index),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_push_event), (gst_avi_demux_stream_header_pull),
      (gst_avi_demux_do_seek), (gst_avi_demux_process_next_entry),
      (gst_avi_demux_stream_data), (gst_avi_demux_loop):
      * gst/avi/gstavidemux.h:
      Save some memory (8%) by repacking the index entry structure (more to
      come). Add more FIXMEs to questionable parts.
      114afecd
  14. 22 Jan, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/avi/gstavidemux.c: Error out properly when pull_range fails while we're... · a10f2478
      Tim-Philipp Müller authored
      gst/avi/gstavidemux.c: Error out properly when pull_range fails while we're reading the headers, instead of just paus...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_stream_header_pull):
      Error out properly when pull_range fails while we're reading the
      headers, instead of just pausing the task silently. Fixes #399338.
      a10f2478
  15. 09 Jan, 2007 1 commit
  16. 24 Nov, 2006 1 commit
    • Stefan Kost's avatar
      gst/avi/gstavidemux.c: remove dead code, tweak debugs statements, add... · 90431d78
      Stefan Kost authored
      gst/avi/gstavidemux.c: remove dead code, tweak debugs statements, add comments, use _uint64_scale instead _uint64_sca...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_index_entry_for_time),
      (gst_avi_demux_src_convert), (gst_avi_demux_handle_src_query),
      (gst_avi_demux_peek_chunk), (gst_avi_demux_parse_subindex),
      (gst_avi_demux_read_subindexes_push),
      (gst_avi_demux_read_subindexes_pull), (gst_avi_demux_parse_stream),
      (gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
      (gst_avi_demux_sync), (gst_avi_demux_next_data_buffer),
      (gst_avi_demux_massage_index),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_stream_header_pull), (gst_avi_demux_do_seek),
      (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry),
      (gst_avi_demux_stream_data), (gst_avi_demux_loop):
      remove dead code, tweak debugs statements, add comments, use
      _uint64_scale instead _uint64_scale_int when using guint64 values,
      small optimizations, reflow some error handling
      90431d78
  17. 16 Nov, 2006 1 commit
  18. 14 Nov, 2006 1 commit
  19. 31 Oct, 2006 1 commit
  20. 28 Oct, 2006 1 commit
    • Wim Taymans's avatar
      gst/avi/gstavidemux.c: Fix position query for audio. also fixes timestamps in... · c152d13c
      Wim Taymans authored
      gst/avi/gstavidemux.c: Fix position query for audio. also fixes timestamps in streaming mode and bug #364958.
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
      (gst_avi_demux_parse_file_header),
      (gst_avi_demux_stream_init_push), (gst_avi_demux_parse_stream),
      (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_data),
      (gst_avi_demux_chain):
      Fix position query for audio. also fixes timestamps in streaming
      mode and bug #364958.
      Small cleanups.
      c152d13c
  21. 05 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Printf format fixes. · 82f5a350
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * ext/cairo/gsttimeoverlay.c:
      (gst_cairo_time_overlay_update_font_height):
      * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_transform_caps):
      * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_parse_image_data):
      * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain):
      * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain):
      * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
      * ext/libpng/gstpngdec.c: (user_endrow_callback):
      * gst/auparse/gstauparse.c: (gst_au_parse_parse_header):
      * gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex),
      (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream),
      (gst_avi_demux_stream_data):
      * gst/cutter/gstcutter.c: (gst_cutter_chain):
      * gst/debug/efence.c: (gst_efence_buffer_alloc),
      (gst_fenced_buffer_copy):
      * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame):
      * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream):
      * gst/matroska/matroska-mux.c: (gst_matroska_mux_start):
      * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send),
      (gst_rtspsrc_handle_message):
      * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
      * sys/ximage/ximageutil.c: (ximageutil_xcontext_get):
      Printf format fixes.
      82f5a350
  22. 22 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/avi/gstavidemux.c: Don't check for a tag that is never there and check if... · aeec395c
      Wim Taymans authored
      gst/avi/gstavidemux.c: Don't check for a tag that is never there and check if we read the correct tag. Fixes seeking ...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_stream_index):
      Don't check for a tag that is never there and check if we read the
      correct tag. Fixes seeking again.
      We must post an error when all pads are unlinked.
      aeec395c
  23. 13 Sep, 2006 1 commit
    • Stefan Kost's avatar
      gst/avi/gstavidemux.c: More code reuse and better logging in _peek_chunk().... · 13a332da
      Stefan Kost authored
      gst/avi/gstavidemux.c: More code reuse and better logging in _peek_chunk(). Reintroduce check for chunk sizes before ...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_peek_chunk),
      (gst_avi_demux_stream_index), (gst_avi_demux_sync),
      (gst_avi_demux_stream_header_push),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
      (gst_avi_demux_loop):
      More code reuse and better logging in _peek_chunk(). Reintroduce check
      for chunk sizes before reading them (avoid oom). Better handling for
      invalid chunksizes when streaming.
      13a332da
  24. 06 Sep, 2006 1 commit
  25. 27 Aug, 2006 1 commit
  26. 25 Aug, 2006 1 commit
    • Wim Taymans's avatar
      gst/avi/gstavidemux.*: More attempts to turn this into readable code. · bb823048
      Wim Taymans authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
      (gst_avi_demux_init), (gst_avi_demux_finalize),
      (gst_avi_demux_reset), (gst_avi_demux_index_last),
      (gst_avi_demux_index_next), (gst_avi_demux_index_entry_for_time),
      (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_index),
      (gst_avi_demux_stream_index), (gst_avi_demux_peek_tag),
      (gst_avi_demux_next_data_buffer), (gst_avi_demux_stream_scan),
      (gst_avi_demux_massage_index),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_stream_header_pull), (gst_avi_demux_do_seek),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_loop),
      (gst_avi_demux_chain), (gst_avi_demux_sink_activate),
      (gst_avi_demux_change_state):
      * gst/avi/gstavidemux.h:
      More attempts to turn this into readable code.
      Don't leak adapters.
      Calculate duration according to index more efficiently.
      Don't try to act like we drive the pipeline in chain mode.
      bb823048
  27. 24 Aug, 2006 2 commits
    • Stefan Kost's avatar
      gst/avi/gstavidemux.c: unbreak AVI index handling, some more debug, remove an... · 8ee132e9
      Stefan Kost authored
      gst/avi/gstavidemux.c: unbreak AVI index handling, some more debug, remove an obsolete adapter_flush that caused stre...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),
      (gst_avi_demux_sync), (gst_avi_demux_stream_header_push),
      (gst_avi_demux_stream_header_pull),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
      (gst_avi_demux_chain):
      unbreak AVI index handling, some more debug, remove an obsolete
      adapter_flush that caused streaming to wander off in the wild
      8ee132e9
    • Wim Taymans's avatar
      gst/avi/gstavidemux.*: Some more cleanups. · bf6a231f
      Wim Taymans authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
      (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_subindex),
      (gst_avi_demux_parse_stream), (gst_avi_demux_parse_odml),
      (gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_stream_header_push),
      (gst_avi_demux_stream_header_pull):
      * gst/avi/gstavidemux.h:
      Some more cleanups.
      Fix totalFrames parsing in ODML.
      Disable use of index for length calculation in case of ODML as this is
      broken now.
      bf6a231f
  28. 23 Aug, 2006 1 commit
    • Stefan Kost's avatar
      gst/avi/gstavidemux.*: Initial streaming support for avidemux (fixes #336465) · e91b7679
      Stefan Kost authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_class_init),
      (gst_avi_demux_init), (gst_avi_demux_dispose),
      (gst_avi_demux_reset), (gst_avi_demux_index_next),
      (gst_avi_demux_index_entry_for_time), (gst_avi_demux_src_convert),
      (gst_avi_demux_handle_src_query), (gst_avi_demux_handle_src_event),
      (gst_avi_demux_peek_chunk_info), (gst_avi_demux_peek_chunk),
      (gst_avi_demux_stream_init_push), (gst_avi_demux_stream_init_pull),
      (gst_avi_demux_parse_subindex),
      (gst_avi_demux_read_subindexes_push),
      (gst_avi_demux_read_subindexes_pull), (gst_avi_demux_parse_stream),
      (sort), (gst_avi_demux_parse_index), (gst_avi_demux_stream_index),
      (gst_avi_demux_sync), (gst_avi_demux_peek_tag),
      (gst_avi_demux_massage_index), (gst_avi_demux_stream_header_push),
      (gst_avi_demux_stream_header_pull),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
      (push_tag_lists), (gst_avi_demux_loop), (gst_avi_demux_chain),
      (gst_avi_demux_sink_activate), (gst_avi_demux_activate_push),
      (gst_avi_demux_change_state):
      * gst/avi/gstavidemux.h:
      Initial streaming support for avidemux (fixes #336465)
      e91b7679
  29. 22 Aug, 2006 2 commits
    • Wim Taymans's avatar
      gst/avi/gstavidemux.*: Mark DISCONT. · 2bd16585
      Wim Taymans authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
      (gst_avi_demux_do_seek), (gst_avi_demux_handle_seek),
      (gst_avi_demux_process_next_entry):
      * gst/avi/gstavidemux.h:
      Mark DISCONT.
      Remove old unused fields and reorder the struct a bit.
      2bd16585
    • Wim Taymans's avatar
      gst/avi/gstavidemux.*: Precalc most of the duration query for each stream. · 1eff7868
      Wim Taymans authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_reset),
      (gst_avi_demux_index_entry_for_time),
      (gst_avi_demux_handle_src_query), (gst_avi_demux_handle_src_event),
      (gst_avi_demux_stream_init), (gst_avi_demux_parse_stream),
      (gst_avi_demux_stream_index), (gst_avi_demux_peek_tag),
      (gst_avi_demux_next_data_buffer),
      (gst_avi_demux_calculate_durations_from_index),
      (gst_avi_demux_stream_header), (gst_avi_demux_do_seek),
      (gst_avi_demux_handle_seek), (gst_avi_demux_aggregated_flow),
      (gst_avi_demux_process_next_entry), (gst_avi_demux_loop),
      (gst_avi_demux_sink_activate_pull), (gst_avi_demux_change_state):
      * gst/avi/gstavidemux.h:
      Precalc most of the duration query for each stream.
      Make seeking more correct.
      Use GstSegment to track position and duration.
      Code cleanups and leak fixes.
      Calculate correct total duration based on index length.
      1eff7868
  30. 28 Jul, 2006 1 commit
  31. 25 Jul, 2006 1 commit
    • Stefan Kost's avatar
      gst/avi/gstavidemux.c: Moved win32 variant of GST_DEBUG_CATEGORY_EXTERN to... · c0514b02
      Stefan Kost authored
      gst/avi/gstavidemux.c: Moved win32 variant of GST_DEBUG_CATEGORY_EXTERN to gstinfo.h. Fixed indentation and spacing.
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes),
      (gst_avi_demux_parse_stream):
      Moved win32 variant of GST_DEBUG_CATEGORY_EXTERN to gstinfo.h. Fixed
      indentation and spacing.
      c0514b02
  32. 21 Jul, 2006 1 commit
    • Wim Taymans's avatar
      gst/avi/gstavidemux.c: Fix some leaks. · c9b86e0a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
      (gst_avi_demux_process_next_entry):
      Fix some leaks.
      * gst/id3demux/id3tags.c: (id3demux_id3v2_frames_to_tag_list):
      Don't use \n in debug lines.
      c9b86e0a
  33. 10 Jul, 2006 1 commit
  34. 03 Jul, 2006 1 commit
    • Edward Hervey's avatar
      gst/avi/gstavidemux.*: Proper aggregation of each stream's GstFlowReturn in... · 663856a5
      Edward Hervey authored
      gst/avi/gstavidemux.*: Proper aggregation of each stream's GstFlowReturn in order to figure out whether the task shou...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_reset),
      (gst_avi_demux_read_subindexes), (gst_avi_demux_parse_stream),
      (gst_avi_demux_handle_seek), (gst_avi_demux_aggregated_flow),
      (gst_avi_demux_process_next_entry), (push_tag_lists),
      (gst_avi_demux_stream_data), (gst_avi_demux_loop):
      * gst/avi/gstavidemux.h:
      Proper aggregation of each stream's GstFlowReturn in order to figure out
      whether the task should stop or not.
      Don't send inline events before pushing out a NEW_SEGMENT, more
      specifically for GST_TAG_EVENT.
      Change a GST_ERROR to a GST_WARNING for a non-fatal situation in reading
      sub-indexes.
      663856a5
  35. 13 Jun, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/avi/gstavidemux.c: Prevent out of bounds array access when scrubbing... · a1d0655f
      Tim-Philipp Müller authored
      gst/avi/gstavidemux.c: Prevent out of bounds array access when scrubbing towards the end of the file between the last...
      
      Original commit message from CVS:
      * gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
      Prevent out of bounds array access when scrubbing towards
      the end of the file between the last index entry and the
      end. Fixes occasional 'start <= stop' newsegment event
      assertions when scrubbing in MJPEG files.
      a1d0655f
  36. 30 May, 2006 1 commit
  37. 12 May, 2006 1 commit