1. 02 Feb, 2004 3 commits
    • Jeremy Simon's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 caps flag properties · 86c19594
      Jeremy Simon authored
      Original commit message from CVS:
      2004-02-02  Jeremy Simon  <jesimon@libertysurf.fr>
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_caps_to_extradata):
      Fix SVQ3 caps flag properties
      Use glib macro for bytes swap
      86c19594
    • David Schleef's avatar
      Fix memory leaks: · 8e29a788
      David Schleef authored
      Original commit message from CVS:
      reviewed by: David Schleef  <ds@schleef.org>
      Fix memory leaks:
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_register):
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_register):
      8e29a788
    • Thomas Vander Stichele's avatar
      change NULL to (NULL) for GST_ELEMENT_ERROR · 9e6362dd
      Thomas Vander Stichele authored
      Original commit message from CVS:
      change NULL to (NULL) for GST_ELEMENT_ERROR
      Make sure errors end with "."
      9e6362dd
  2. 30 Jan, 2004 1 commit
    • Benjamin Otte's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: removee video/x-theora from vp3 decoder, it... · 2b07da86
      Benjamin Otte authored
      ext/ffmpeg/gstffmpegcodecmap.c: removee video/x-theora from vp3 decoder, it doesn't handle raw theora streams
      
      Original commit message from CVS:
      2004-01-30  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
      removee video/x-theora from vp3 decoder, it doesn't handle raw
      theora streams
      * ext/ogg/gstoggdemux.c: (gst_ogg_demux_init):
      fix bug with finalizing element that never went to PAUSED
      * ext/ogg/gstoggdemux.c: (gst_ogg_demux_src_query):
      length and position queries were swapped
      * ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
      (vorbis_dec_from_granulepos), (vorbis_dec_src_query),
      (vorbis_dec_src_event):
      implement querying time and bytes
      2b07da86
  3. 29 Jan, 2004 1 commit
  4. 26 Jan, 2004 2 commits
    • Jeremy Simon's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: Fix SVQ3 decoding on PPC · f1c371a3
      Jeremy Simon authored
      Original commit message from CVS:
      2004-01-26  Jeremy Simon  <jesimon@libertysurf.fr>
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_to_extradata):
      Fix SVQ3 decoding on PPC
      f1c371a3
    • Jeremy Simon's avatar
      Add SVQ3 specific flags to qtdemux and ffmpeg · 2a56f1ce
      Jeremy Simon authored
      Original commit message from CVS:
      2004-01-26  Jeremy Simon  <jesimon@libertysurf.fr>
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
      (gst_ffmpeg_caps_to_extradata), (gst_ffmpeg_caps_to_pixfmt):
      * gst/qtdemux/qtdemux.c: (plugin_init), (qtdemux_parse_trak),
      (qtdemux_video_caps):
      * gst/qtdemux/qtdemux.h:
      Add SVQ3 specific flags to qtdemux and ffmpeg
      2a56f1ce
  5. 20 Jan, 2004 1 commit
  6. 18 Jan, 2004 1 commit
  7. 16 Jan, 2004 2 commits
  8. 12 Jan, 2004 1 commit
    • David Schleef's avatar
      Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H · 2b031526
      David Schleef authored
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpeg.c:
      * ext/ffmpeg/gstffmpegcodecmap.c:
      * ext/ffmpeg/gstffmpegdec.c:
      * ext/ffmpeg/gstffmpegenc.c:
      * ext/ffmpeg/gstffmpegprotocol.c:
      * ext/gdk_pixbuf/gstgdkanimation.c:
      * ext/jpeg/gstjpeg.c:
      * ext/libpng/gstpng.c:
      * ext/mpeg2dec/perftest.c:
      * ext/speex/gstspeex.c:
      * gst-libs/gst/resample/dtos.c:
      * gst/intfloat/gstintfloatconvert.c:
      * gst/oneton/gstoneton.c:
      * gst/rtjpeg/RTjpeg.c:
      * gst/rtp/gstrtp.c:
      * sys/dxr3/dxr3init.c:
      * sys/glsink/gstgl_nvimage.c:
      * sys/glsink/gstgl_pdrimage.c:
      * sys/glsink/gstglsink.c:
      * testsuite/gst-lint:
      Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
      2b031526
  9. 11 Jan, 2004 2 commits
    • Julien Moutte Moutte's avatar
      ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad · ad60e7cb
      Julien Moutte Moutte authored
      Original commit message from CVS:
      2004-01-11  Julien MOUTTE  <julien@moutte.net>
      
      * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain): Fixing the
      pad_alloc_buffer implementation to use ->srcpad
      * ext/hermes/gstcolorspace.c: (gst_colorspace_chain): Fixing the
      pad_alloc_buffer implementation to use ->srcpad
      * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):  Fixing the
      pad_alloc_buffer implementation to use ->srcpad
      * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
      (gst_ximagesink_chain), (gst_ximagesink_buffer_free),
      (gst_ximagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
      a reference to everything we need.
      * sys/ximage/ximagesink.h: adding a reference to the sink in the image.
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
      (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
      (gst_xvimagesink_buffer_alloc): Now only use GST_BUFFER_PRIVATE to keep
      a reference to everything we need.
      * sys/xvimage/xvimagesink.h: adding a reference to the sink in the image
      ad60e7cb
    • Benjamin Otte's avatar
      ext/ffmpeg/gstffmpegcodecmap.c: fix SVQ3 caps · 11f45f94
      Benjamin Otte authored
      Original commit message from CVS:
      2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):
      fix SVQ3 caps
      11f45f94
  10. 09 Jan, 2004 2 commits
    • Julien Moutte Moutte's avatar
      ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use... · 217e2b3e
      Julien Moutte Moutte authored
      ext/ffmpeg/gstffmpegcolorspace.c: Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_chain):
      Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
      * gst-libs/gst/xoverlay/xoverlay.c:
      (gst_x_overlay_got_desired_size): Updating doc for the xid being 0.
      * gst/videoscale/gstvideoscale.c: (gst_videoscale_chain):
      Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
      * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
      Implementing gst_pad_alloc_buffer to use optimized buffer allocation.
      * sys/ximage/ximagesink.c: (gst_ximagesink_chain),
      (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc),
      (gst_ximagesink_set_xwindow_id), (gst_ximagesink_init): Implementing
      the bufferalloc_function to replace bufferpools, fixing the XOverlay
      interface implementation to handle xid being 0 and fix some bugs
      triggered by Benjamin's testcase.
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
      (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
      (gst_xvimagesink_set_xwindow_id), (gst_xvimagesink_init): Implementing
      the bufferalloc_function to replace bufferpools, fixing the XOverlay
      interface implementation to handle xid being 0 and fix some bugs
      triggered by Benjamin's testcase.
      217e2b3e
    • David Schleef's avatar
      ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg... · 2e20e4cc
      David Schleef authored
      ext/ffmpeg/gstffmpegenc.c: Fix pad_link function to handle formats that ffmpeg returns as multiple caps structures.
      
      Original commit message from CVS:
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect):
      Fix pad_link function to handle formats that ffmpeg returns
      as multiple caps structures.
      * gst/videofilter/gstvideofilter.c: (gst_videofilter_chain):
      Only complain if source buffer is _smaller_ than expected.
      * gst/videoscale/gstvideoscale.c: (gst_videoscale_init),
      (gst_videoscale_handle_src_event): Resize navigation events
      when passing them upstream.
      * gst/videotestsrc/gstvideotestsrc.c:
      * gst/videotestsrc/gstvideotestsrc.h:
      * gst/videotestsrc/videotestsrc.c:
      * gst/videotestsrc/videotestsrc.h:
      Rewrite many of the buffer painting functions to handle odd
      sizes (for many formats, size%4!=0 or size%8!=0).  Most have
      been verified to work with my video card.
      * testsuite/gst-lint:  Add check for elements calling
      gst_pad_get_caps() instead of gst_pad_get_allowed_caps().
      2e20e4cc
  11. 02 Jan, 2004 4 commits
  12. 01 Jan, 2004 1 commit
    • Ronald S. Bultje's avatar
      configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of... · e1c922ec
      Ronald S. Bultje authored
      configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1....
      
      Original commit message from CVS:
      2004-01-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * configure.ac:
      Fix configure check for mpeg2enc. We need 1.6.1.93 instead of
      1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and
      it therefore uses the wrong include paths. Too bad... Note
      that 1.6.1.93 is not release yet. ;).
      Also add a check for mplex, which is now using the lib'ified
      mplex from mjpegtools, too.
      * ext/ffmpeg/gstffmpegcodecmap.c:
      Add codec_tag for 3ivx/xvid. For xvid, this should fix playback
      issues. I don't think ffmpeg handles 3ivx correctly, so this
      probably won't work. But it won't hurt either.
      * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
      (gst_ffmpegdec_chain):
      * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
      (gst_ffmpegenc_chain_audio):
      Fix memleak in audio encoding. Close codec if open fails, this
      calls the cleanup routines so we can re-use the context.
      * ext/mpeg2enc/gstmpeg2enc.cc:
      Fix pad template names/types, fix memory issue with getcaps().
      * ext/mpeg2enc/gstmpeg2encoder.cc:
      * ext/mpeg2enc/gstmpeg2encoder.hh:
      Fix compile issue with new caps system (const thingy).
      * ext/mpeg2enc/gstmpeg2encpicturereader.cc:
      * ext/mpeg2enc/gstmpeg2encpicturereader.hh:
      We read a first frame right on initing, so that we have a caps
      when we init the output. This caps is cached in padprivate and
      read as first frame.
      * ext/mplex/Makefile.am:
      * ext/mplex/gstmplex.cc:
      * ext/mplex/gstmplex.h:
      * ext/mplex/gstmplex.hh:
      * ext/mplex/gstmplexibitstream.cc:
      * ext/mplex/gstmplexibitstream.hh:
      * ext/mplex/gstmplexjob.cc:
      * ext/mplex/gstmplexjob.hh:
      * ext/mplex/gstmplexoutputstream.cc:
      * ext/mplex/gstmplexoutputstream.hh:
      We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin
      had issues, didn't do capsnego, supported only a subset of the
      mplex features and required a mplex fork in our local CVS. Plus
      that it worked agaist a very old mplex version. Rewriting was
      faster than updating it.
      * gst-libs/ext/Makefile.am:
      * gst-libs/ext/mplex/INSTRUCT:
      * gst-libs/ext/mplex/Makefile.am:
      * gst-libs/ext/mplex/README:
      * gst-libs/ext/mplex/TODO:
      * gst-libs/ext/mplex/ac3strm_in.cc:
      * gst-libs/ext/mplex/audiostrm.hh:
      * gst-libs/ext/mplex/audiostrm_out.cc:
      * gst-libs/ext/mplex/aunit.hh:
      * gst-libs/ext/mplex/bits.cc:
      * gst-libs/ext/mplex/bits.hh:
      * gst-libs/ext/mplex/buffer.cc:
      * gst-libs/ext/mplex/buffer.hh:
      * gst-libs/ext/mplex/fastintfns.h:
      * gst-libs/ext/mplex/format_codes.h:
      * gst-libs/ext/mplex/inputstrm.cc:
      * gst-libs/ext/mplex/inputstrm.hh:
      * gst-libs/ext/mplex/lpcmstrm_in.cc:
      * gst-libs/ext/mplex/mjpeg_logging.cc:
      * gst-libs/ext/mplex/mjpeg_logging.h:
      * gst-libs/ext/mplex/mjpeg_types.h:
      * gst-libs/ext/mplex/mpastrm_in.cc:
      * gst-libs/ext/mplex/mpegconsts.cc:
      * gst-libs/ext/mplex/mpegconsts.h:
      * gst-libs/ext/mplex/mplexconsts.hh:
      * gst-libs/ext/mplex/multplex.cc:
      * gst-libs/ext/mplex/outputstream.hh:
      * gst-libs/ext/mplex/padstrm.cc:
      * gst-libs/ext/mplex/padstrm.hh:
      * gst-libs/ext/mplex/stillsstream.cc:
      * gst-libs/ext/mplex/stillsstream.hh:
      * gst-libs/ext/mplex/systems.cc:
      * gst-libs/ext/mplex/systems.hh:
      * gst-libs/ext/mplex/vector.cc:
      * gst-libs/ext/mplex/vector.hh:
      * gst-libs/ext/mplex/videostrm.hh:
      * gst-libs/ext/mplex/videostrm_in.cc:
      * gst-libs/ext/mplex/videostrm_out.cc:
      * gst-libs/ext/mplex/yuv4mpeg.cc:
      * gst-libs/ext/mplex/yuv4mpeg.h:
      * gst-libs/ext/mplex/yuv4mpeg_intern.h:
      * gst-libs/ext/mplex/yuv4mpeg_ratio.cc:
      We don't fork mjpegtools' mplex in our CVS anymore.
      * gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps),
      (gst_avi_demux_add_stream):
      * gst/avi/gstavidemux.h:
      Add getcaps() function for proper caps nego. This makes some
      parts of AVI playback/reading work.
      * sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
      Resize window on new capsnego. This is probably wrong, but
      I'm still committing it because with current capsnego, the
      first successfull capsnego is auto-fixated, therefore rounded
      down to the lowest values in the caps. this results in a 16x16
      XWindow that is not reized when real capsnego finishes.
      Dave, I see more cases of this, do you know a proper solution?
      * tools/gst-launch-ext.in:
      Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.
      e1c922ec
  13. 31 Dec, 2003 1 commit
  14. 24 Dec, 2003 1 commit
    • Ronald S. Bultje's avatar
      ext/ffmpeg/: fix typo in RGB masks, and move back to "old" colorspace capsnego... · 2a754af3
      Ronald S. Bultje authored
      ext/ffmpeg/: fix typo in RGB masks, and move back to "old" colorspace capsnego code until whoever wrote this new crap...
      
      Original commit message from CVS:
      2003-12-24  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * ext/ffmpeg/gstffmpegcodecmap.c:
      * ext/ffmpeg/gstffmpegcolorspace.c: (gst_ffmpegcsp_getcaps),
      (gst_ffmpegcsp_srcconnect_func), (gst_ffmpegcsp_sinkconnect),
      (gst_ffmpegcsp_srcconnect), (gst_ffmpegcsp_get_type),
      (gst_ffmpegcsp_base_init), (gst_ffmpegcsp_class_init),
      (gst_ffmpegcsp_init), (gst_ffmpegcsp_chain),
      (gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
      (gst_ffmpegcsp_get_property), (gst_ffmpegcsp_register):
      fix typo in RGB masks, and move back to "old" colorspace
      capsnego code until whoever wrote this new crap has actually
      tested it so that it works.
      And yes, this works, keep it that way please.
      2a754af3
  15. 22 Dec, 2003 1 commit
  16. 18 Dec, 2003 2 commits
  17. 17 Dec, 2003 1 commit
  18. 12 Dec, 2003 1 commit
  19. 09 Dec, 2003 2 commits
  20. 05 Dec, 2003 1 commit
  21. 28 Nov, 2003 1 commit
  22. 27 Nov, 2003 1 commit
  23. 25 Nov, 2003 3 commits
  24. 16 Nov, 2003 1 commit
  25. 12 Nov, 2003 2 commits
    • Ronald S. Bultje's avatar
      Oops, some pretty bad memleaks · ebbae798
      Ronald S. Bultje authored
      Original commit message from CVS:
      Oops, some pretty bad memleaks
      ebbae798
    • Ronald S. Bultje's avatar
      Several encoding changes: for video, double check the pix_fmt after opening... · 199e7f14
      Ronald S. Bultje authored
      Several encoding changes: for video, double check the pix_fmt after opening the AVCodec. The pix_fmt will be changed ...
      
      Original commit message from CVS:
      Several encoding changes:
      * for video, double check the pix_fmt after opening the AVCodec. The pix_fmt
      will be changed to the preferred pix_fmt instead of that opening the
      codec fails. We fail when it has changed (then, ffmpeg doesn't like it).
      * for video, set the correct timestamp.
      * for audio, do *not* set the frame_size: most codecs don't like it. Instead,
      keep a cache of buffers and always give data of size "frame_size". Maybe
      I should have used bytestream here, I'm not sure. This works, though.
      I can now create mpeg1 video, mp2 and ac3 audio. I didn't test any others yet.
      I also didn't start working on integration with any of the muxers yet, that's
      all one big TODO. One thing at a time, please. :).
      199e7f14
  26. 10 Nov, 2003 1 commit
    • Benjamin Otte's avatar
      some fixes: · d26aa5ad
      Benjamin Otte authored
      Original commit message from CVS:
      some fixes:
      - put back a fix to make generic audio caps fixed.
      - read out all of the flags when constructing wma extradata
      d26aa5ad