1. 07 Aug, 2007 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Improve debugging of codec data. realvideo... · 144b4260
      Wim Taymans authored
      ext/ffmpeg/gstffmpegcodecmap.c: Improve debugging of codec data. realvideo caps are underspecified, use fields of alt...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
      Improve debugging of codec data.
      realvideo caps are underspecified, use fields of alternative variant
      before we settle this.
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
      (gst_ffmpegdec_video_frame):
      Add more debugging of used parsers.
      Setup the realvideo slices correctly before calling the decoder, fixed
      realvideo in matroska.
      144b4260
  2. 01 Aug, 2007 2 commits
    • Stefan Kost's avatar
      ext/ffmpeg/: Free strings atleast when finalizing elements. · 907d7e40
      Stefan Kost authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_install_property),
      (gst_ffmpeg_cfg_finalize):
      * ext/ffmpeg/gstffmpegcfg.h:
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_finalize),
      (ffmpegenc_setup_working_buf), (gst_ffmpegenc_chain_video),
      (gst_ffmpegenc_flush_buffers):
      Free strings atleast when finalizing elements.
      * tests/check/generic/libavcodec-locking.c: (GST_START_TEST),
      (simple_launch_lines_suite):
      Fix some leaks.
      907d7e40
    • Stefan Kost's avatar
      Check for libm and link against it (ffmpeg is using sqrt). · 8e16a398
      Stefan Kost authored
      Original commit message from CVS:
      * configure.ac:
      * ext/ffmpeg/Makefile.am:
      Check for libm and link against it (ffmpeg is using sqrt).
      8e16a398
  3. 25 Jul, 2007 1 commit
    • Julien Moutte Moutte's avatar
      ext/ffmpeg/: Handle buffers with invalid duration correctly even in the case... · 4c6045a0
      Julien Moutte Moutte authored
      ext/ffmpeg/: Handle buffers with invalid duration correctly even in the case where we have a demuxer AND a decoder fr...
      
      Original commit message from CVS:
      2007-07-25  Julien MOUTTE  <julien@moutte.net>
      
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_video_frame):
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop): Handle
      buffers with invalid duration correctly even in the case where
      we have a demuxer AND a decoder from ffmpeg linked.
      Fixes: #460274.
      4c6045a0
  4. 13 Jul, 2007 1 commit
    • Jan Schmidt's avatar
      Remove bogus check for libcheck, since we check for gstreamer-check and it... · 489e66f5
      Jan Schmidt authored
      Remove bogus check for libcheck, since we check for gstreamer-check and it pulls in the required info from there, and...
      
      Original commit message from CVS:
      * configure.ac:
      * tests/Makefile.am:
      Remove bogus check for libcheck, since we check for
      gstreamer-check and it pulls in the required info from there, and we
      weren't actually _using_ the information for libcheck ourselves
      anyway.
      489e66f5
  5. 12 Jul, 2007 1 commit
  6. 05 Jul, 2007 1 commit
    • Jan Schmidt's avatar
      ext/ffmpeg/gstffmpegenc.c: Fix the encoders by actually copying the encoded... · 5f02c0eb
      Jan Schmidt authored
      ext/ffmpeg/gstffmpegenc.c: Fix the encoders by actually copying the encoded output data from the working area into th...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video),
      (gst_ffmpegenc_flush_buffers):
      Fix the encoders by actually copying the encoded output data from the
      working area into the output buffer.
      Fixes: #453135.
      5f02c0eb
  7. 22 Jun, 2007 1 commit
    • Jan Schmidt's avatar
      ext/ffmpeg/gstffmpegenc.*: Instead of allocating 512KB buffers and then... · b0aa56c7
      Jan Schmidt authored
      ext/ffmpeg/gstffmpegenc.*: Instead of allocating 512KB buffers and then setting BUFFER_SIZE to what ffmpeg produced, ...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegenc.c: (ffmpegenc_setup_working_buf),
      (gst_ffmpegenc_chain_video), (gst_ffmpegenc_flush_buffers),
      (gst_ffmpegenc_change_state):
      * ext/ffmpeg/gstffmpegenc.h:
      Instead of allocating 512KB buffers and then setting BUFFER_SIZE
      to what ffmpeg produced, we're better off by far to use a single
      working buffer and copy data out into neat little buffers.
      This prevents exhorbitant virtual memory wastage in the form
      of allocated but untouched buffers.
      b0aa56c7
  8. 20 Jun, 2007 1 commit
  9. 19 Jun, 2007 1 commit
    • Stefan Kost's avatar
      ext/ffmpeg/gstffmpeg.c: Cut off double \n. · 603caa34
      Stefan Kost authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_log_callback):
      Cut off double \n.
      * ext/ffmpeg/gstffmpegcodecmap.c:
      (gst_ffmpeg_formatid_get_codecids):
      Enable more codecs in containers.
      603caa34
  10. 15 Jun, 2007 1 commit
  11. 05 Jun, 2007 4 commits
  12. 25 May, 2007 1 commit
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Be a bit smarter when clipping the frame without a... · c413858f
      Wim Taymans authored
      ext/ffmpeg/gstffmpegdec.c: Be a bit smarter when clipping the frame without a duration, we don't want the frame to ex...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (clip_video_buffer),
      (gst_ffmpegdec_video_frame):
      Be a bit smarter when clipping the frame without a duration, we don't
      want the frame to extend to the end of the segment in this case.
      c413858f
  13. 24 May, 2007 1 commit
    • Tim-Philipp Müller's avatar
      configure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs... · 6b482542
      Tim-Philipp Müller authored
      configure.ac: Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs will be built or installed on MingW fo...
      
      Original commit message from CVS:
      * configure.ac:
      Add -no-undefined to GST_ALL_LDFLAGS; without it, no shared libs
      will be built or installed on MingW for our plugins in ext/; also,
      it looks like the right thing to do and we do it for all our other
      plugin modules as well. Fixes #440253.
      6b482542
  14. 21 May, 2007 1 commit
  15. 17 May, 2007 1 commit
    • Edward Hervey's avatar
      Fix the build on MacOSX. since the one shipped by Apple is from the middle... · bdadc136
      Edward Hervey authored
      Fix the build on MacOSX. since the one shipped by Apple is from the middle ages and is packed with issues.
      
      Original commit message from CVS:
      * configure.ac:
      * ext/ffmpeg/Makefile.am:
      * ext/libpostproc/Makefile.am:
      Fix the build on MacOSX.
      This requires a recent enough version of libtool (ex : 1.5.22), since
      the one shipped by Apple is from the middle ages and is packed with
      issues.
      Fixes #435742
      bdadc136
  16. 09 May, 2007 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/: Protect calls to ffmpeg functions that will implicitly call... · cc9a75ad
      Edward Hervey authored
      ext/ffmpeg/: Protect calls to ffmpeg functions that will implicitly call avcodec_open/close with the avcodec mutex.
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpeg.c: (gst_ffmpeg_av_find_stream_info):
      * ext/ffmpeg/gstffmpeg.h:
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_open):
      Protect calls to ffmpeg functions that will implicitly call
      avcodec_open/close with the avcodec mutex.
      Fixes #433245
      cc9a75ad
  17. 02 May, 2007 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegdec.c: Fix timestamping for out-of-order incoming buffers.... · 0fcacdde
      Edward Hervey authored
      ext/ffmpeg/gstffmpegdec.c: Fix timestamping for out-of-order incoming buffers. Instead of blindly copying the incomin...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_init),
      (gst_ffmpegdec_open), (gst_ffmpegdec_save_incoming_values),
      (gst_ffmpegdec_get_best_values), (gst_ffmpegdec_video_frame),
      (gst_ffmpegdec_sink_event):
      Fix timestamping for out-of-order incoming buffers. Instead of blindly
      copying the incoming buffer timestamps on the outgoing buffers we cache
      the latest 2 incoming buffer timestamps and duration and make a wise
      choice as to what the outgoing buffer timestamp and duration should be.
      Fixes #342962
      0fcacdde
  18. 25 Apr, 2007 1 commit
  19. 20 Apr, 2007 1 commit
  20. 12 Apr, 2007 2 commits
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/: Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes... · ed36eb0f
      Mark Nauwelaerts authored
      ext/ffmpeg/: Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such configurable as a property. ...
      
      Original commit message from CVS:
      Patch by: Mark Nauwelaerts <manauw at skynet dot be> and
      Thomas Vander Stichele  <thomas at apestaart dot org>
      * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_flags_get_type):
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_caps_to_codecid),
      (gst_ffmpeg_get_codecid_longname):
      Add the CODEC_FLAG_GLOBAL_HEADER to the exposed flags, and makes it as such
      configurable as a property. Fixes #393187.
      ed36eb0f
    • Yves Lefebvre's avatar
      ext/ffmpeg/gstffmpegdec.c: Draw edges for h264. Fixes #364139. · eff0fefa
      Yves Lefebvre authored
      Original commit message from CVS:
      Patch by: Yves Lefebvre <ivanohe at abacom dot com>
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps):
      Draw edges for h264. Fixes #364139.
      Set the error resilience flag just in case...
      eff0fefa
  21. 17 Mar, 2007 1 commit
  22. 02 Mar, 2007 1 commit
    • Edward Hervey's avatar
      ext/ffmpeg/gstffmpegcfg.c: Add mpeg1video and mpeg2video to the list of... · efaa80f6
      Edward Hervey authored
      ext/ffmpeg/gstffmpegcfg.c: Add mpeg1video and mpeg2video to the list of mpeg-derivatives for configuration settings.
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcfg.c: (gst_ffmpeg_cfg_init):
      Add mpeg1video and mpeg2video to the list of mpeg-derivatives for
      configuration settings.
      Renamed the mpeg4 category to mpeg.
      Fixes #403739
      efaa80f6
  23. 01 Mar, 2007 1 commit
  24. 16 Feb, 2007 1 commit
    • Tim-Philipp Müller's avatar
      ext/ffmpeg/: Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this... · 2a3785b2
      Tim-Philipp Müller authored
      ext/ffmpeg/: Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this can break horribly if sizeof(GType) happ...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_base_init),
      (gst_ffmpegdec_register):
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_base_init),
      (gst_ffmpegdemux_register):
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_base_init),
      (gst_ffmpegenc_register):
      * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_base_init),
      (gst_ffmpegmux_register):
      Don't use GINT_TO_POINTER and GPOINTER_TO_INT with GTypes, this
      can break horribly if sizeof(GType) happens to be bigger than
      sizeof(int), because GPOINTER_TO_INT might then chop off some bits
      of our GType (the reason this seems to works nevertheless is the
      put-current-type-also-as-value-0-into-the-hash-table-as-fallback
      hack used in the current code).
      In any case, instead of just fixing this, let's not use a hash table
      with GTypes here at all. g_type_{set|get}_qdata() seems to do the
      job just as well.
      2a3785b2
  25. 14 Feb, 2007 1 commit
  26. 09 Feb, 2007 3 commits
    • Thomas Vander Stichele's avatar
      ext/ffmpeg/gstffmpegdec.c: My console is not your TODO list. · 4840c718
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
      My console is not your TODO list.
      If it were your TODO list, you would have DONE it by now.
      4840c718
    • Tim-Philipp Müller's avatar
      ext/ffmpeg/gstffmpegmux.c: ffmux_flv only accepts mpeg audio with a sample... · b0d8e2f7
      Tim-Philipp Müller authored
      ext/ffmpeg/gstffmpegmux.c: ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050 or 11025. Fix up the ...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_register):
      ffmux_flv only accepts mpeg audio with a sample rate of 44100, 22050
      or 11025. Fix up the caps in the sink pad template accordingly, so
      that encoding piplines at least have a chance to automatically
      negotiate to one of the allowed rates.
      b0d8e2f7
    • Tim-Philipp Müller's avatar
      ext/ffmpeg/gstffmpegmux.c: Only set the mux->opened flag after we've... · a2311478
      Tim-Philipp Müller authored
      ext/ffmpeg/gstffmpegmux.c: Only set the mux->opened flag after we've successfully written the header. This way we don...
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_request_new_pad),
      (gst_ffmpegmux_setcaps), (gst_ffmpegmux_collected):
      Only set the mux->opened flag after we've successfully written the
      header. This way we don't crash in mysterious ways if we can't write
      the header for some reason (e.g. due to having accepted caps the
      format doesn't really allow), then return a GST_FLOW_ERROR, and
      then still receive another buffer afterwards despite having previously
      returned FLOW_ERROR (#403168).
      Also some minor logging improvements.
      a2311478
  27. 26 Jan, 2007 1 commit
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/gstffmpegdemux.c: register yuv4mpegpipe demuxer with MARGINAL rank... · 5ad0d8bf
      Mark Nauwelaerts authored
      ext/ffmpeg/gstffmpegdemux.c: register yuv4mpegpipe demuxer with MARGINAL rank to make it also typically available for...
      
      Original commit message from CVS:
      Patch by: Mark Nauwelaerts <manauw@skynet.be>
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
      register yuv4mpegpipe demuxer with MARGINAL rank to
      make it also typically available for auto-plugging. Fixes #399108.
      5ad0d8bf
  28. 22 Jan, 2007 1 commit
  29. 11 Jan, 2007 1 commit
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Internally, ffmpeg (demuxer) expects YUV4MPEG... · 6ff00e8d
      Mark Nauwelaerts authored
      ext/ffmpeg/gstffmpegcodecmap.c: Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets the caps cor...
      
      Original commit message from CVS:
      Patch by: Mark Nauwelaerts <manauw@skynet.be>
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_formatid_to_caps):
      Internally, ffmpeg (demuxer) expects YUV4MPEG version 2, this patch sets
      the caps correctly. Fixes #394071.
      6ff00e8d
  30. 10 Jan, 2007 2 commits
    • Edward Hervey's avatar
      Forgot number of bug fixed · 8b2f7145
      Edward Hervey authored
      Original commit message from CVS:
      Forgot number of bug fixed
      8b2f7145
    • Mark Nauwelaerts's avatar
      ext/ffmpeg/gstffmpegdemux.c: Check the aggregated return value of pushes... · 701144b3
      Mark Nauwelaerts authored
      ext/ffmpeg/gstffmpegdemux.c: Check the aggregated return value of pushes downstream to figure out if we really need t...
      
      Original commit message from CVS:
      Patch by: Mark Nauwelaerts <manauw@skynet.be>
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_perform_seek),
      (gst_ffmpegdemux_aggregated_flow), (gst_ffmpegdemux_get_stream),
      (gst_ffmpegdemux_loop):
      Check the aggregated return value of pushes downstream to figure out if
      we really need to stop the task or not.
      701144b3
  31. 09 Jan, 2007 2 commits
    • Wim Taymans's avatar
      ext/ffmpeg/: Use codecid as extra parameter when getting caps. · 304641fd
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette),
      (gst_ffmpeg_set_palette), (gst_ff_vid_caps_new),
      (gst_ff_aud_caps_new), (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_smpfmt_to_caps),
      (gst_ffmpeg_codectype_to_caps), (gst_ffmpeg_caps_to_pixfmt),
      (gst_ffmpeg_caps_with_codecid), (gst_ffmpeg_formatid_to_caps),
      (gst_ffmpeg_formatid_get_codecids), (gst_ffmpeg_caps_to_codecid),
      (gst_ffmpeg_init_pix_fmt_info), (gst_ffmpeg_avpicture_fill),
      (gst_ffmpeg_img_convert):
      * ext/ffmpeg/gstffmpegcodecmap.h:
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_getcaps),
      (gst_ffmpegenc_register):
      Use codecid as extra parameter when getting caps.
      Restrict H263 caps to allowed sizes for better negotiation.
      MP4/3gp can contain AMR-WB as well.
      * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_register):
      Indent.
      304641fd
    • Wim Taymans's avatar
      ext/ffmpeg/gstffmpegdec.c: Use caps to clip output images. Fixes #341736 · 421a02db
      Wim Taymans authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_open),
      (gst_ffmpegdec_setcaps), (gst_ffmpegdec_negotiate),
      (get_output_buffer), (gst_ffmpegdec_video_frame),
      (clip_audio_buffer), (gst_ffmpegdec_audio_frame),
      (gst_ffmpegdec_frame), (gst_ffmpegdec_chain),
      (gst_ffmpegdec_register):
      Use caps to clip output images. Fixes #341736
      421a02db