1. 12 Jan, 2004 3 commits
    • David Schleef's avatar
      Remove all usage of gst_pad_get_caps(), and replace it with... · d33b0d62
      David Schleef authored
      Remove all usage of gst_pad_get_caps(), and replace it with gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
      
      Original commit message from CVS:
      Remove all usage of gst_pad_get_caps(), and replace it with
      gst_pad_get_allowed_caps() or gst_pad_get_negotiated_cap().
      d33b0d62
    • David Schleef's avatar
      Fixes to make ext/libcaca compile. · 538adea7
      David Schleef authored
      Original commit message from CVS:
      * configure.ac:
      * ext/Makefile.am: Fixes to make ext/libcaca compile.
      * ext/divx/gstdivxdec.c:
      * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_link),
      (gst_gdk_pixbuf_init), (gst_gdk_pixbuf_chain): Make gdkpixbufdec
      handle images that span multiple buffers.  Now work with both
      filesrc ! gdkpixbufdec and qtdemux ! gdkpixbufdec.
      * ext/gdk_pixbuf/gstgdkpixbuf.h:
      * ext/libcaca/gstcacasink.h: Fixes needed due to recent
      video/video.h changes
      * ext/xvid/gstxvid.c: (gst_xvid_csp_to_caps): same
      * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
      (gst_v4lmjpegsrc_buffer_free): Use buffer free function instead
      of GstData free function.
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
      same.
      538adea7
    • Benjamin Otte's avatar
      gst-libs/gst/video/video.h: Fix caps template names to be understandable. · f768ab94
      Benjamin Otte authored
      Original commit message from CVS:
      2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * gst-libs/gst/video/video.h:
      Fix caps template names to be understandable.
      Prefix everything with GST_VIDEO.
      * ext/aalib/gstaasink.c:
      * ext/divx/gstdivxdec.c:
      * ext/divx/gstdivxenc.c:
      * ext/gdk_pixbuf/gstgdkpixbuf.c:
      * ext/hermes/gstcolorspace.c: (gst_colorspace_base_init):
      * ext/jpeg/gstjpegdec.c: (raw_caps_factory):
      * ext/jpeg/gstjpegenc.c: (raw_caps_factory):
      * ext/libcaca/gstcacasink.c:
      * ext/libpng/gstpngenc.c: (raw_caps_factory):
      * ext/snapshot/gstsnapshot.c:
      * ext/swfdec/gstswfdec.c:
      * ext/xvid/gstxviddec.c:
      * ext/xvid/gstxvidenc.c:
      * gst/chart/gstchart.c:
      * gst/deinterlace/gstdeinterlace.c:
      * gst/effectv/gsteffectv.c:
      * gst/flx/gstflxdec.c: (gst_flxdec_loop):
      * gst/goom/gstgoom.c:
      * gst/median/gstmedian.c:
      * gst/monoscope/gstmonoscope.c: (gst_monoscope_init),
      (gst_monoscope_srcconnect), (gst_monoscope_chain):
      * gst/overlay/gstoverlay.c:
      * gst/smooth/gstsmooth.c:
      * gst/smpte/gstsmpte.c:
      * gst/synaesthesia/gstsynaesthesia.c:
      * gst/videocrop/gstvideocrop.c:
      * gst/videodrop/gstvideodrop.c:
      * gst/y4m/gsty4mencode.c:
      * sys/qcam/gstqcamsrc.c:
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps):
      Make them work with new video.h file.
      * sys/ximage/ximagesink.c: (gst_ximagesink_chain),
      (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
      (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
      Make it work with new buffer allocation system.
      f768ab94
  2. 11 Jan, 2004 2 commits
    • Julien Moutte Moutte's avatar
      ext/ffmpeg/gstffmpegcolorspace.c: Fixing the pad_alloc_buffer implementation to use ->srcpad · f4acaab1
      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
      f4acaab1
    • David Schleef's avatar
      ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test · fc6fd546
      David Schleef authored
      Original commit message from CVS:
      * ext/divx/gstdivxenc.c: remove bogus gst_caps_is_fixed() test
      * gst/debug/efence.c: (gst_efence_chain), (gst_fenced_buffer_new),
      (gst_fenced_buffer_default_copy): Fix for rename of buffer private
      structure members.
      * gst/effectv/gstwarp.c: (gst_warptv_setup): Don't reset the time
      value during a resize/renegotiation.
      * gst/videofilter/gstvideofilter.c: (gst_videofilter_chain): use
      gst_pad_alloc_buffer();
      * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get),
      (gst_v4lmjpegsrc_buffer_free): Fix for rename of buffer private
      structure members.
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get), (gst_v4lsrc_buffer_free):
      Fix for rename of buffer private structure members.
      * sys/ximage/ximagesink.c: (gst_ximagesink_chain),
      (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc):
      Fix for rename of buffer private structure members.
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
      (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc):
      Fix for rename of buffer private structure members.
      fc6fd546
  3. 09 Jan, 2004 2 commits
  4. 08 Jan, 2004 1 commit
  5. 07 Jan, 2004 2 commits
    • Ronald S. Bultje's avatar
      Fix for instantiate-test (see core). Also remove dead code from jpegenc (which... · 1b63854c
      Ronald S. Bultje authored
      Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower o...
      
      Original commit message from CVS:
      2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain),
      (gst_afsink_handle_event):
      * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init):
      * gst/avi/gstavimux.c: (gst_avimux_request_new_pad):
      * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init):
      * sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
      * sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
      Fix for instantiate-test (see core). Also remove dead code from
      jpegenc (which still needs fixing, but that's lower on my TODO
      list...).
      * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
      Never return NULL as caps.
      1b63854c
    • David Schleef's avatar
      New source plugin based on librfb-0.1. RFB (remote framebuffer) is the protocol used by VNC. · 11207007
      David Schleef authored
      Original commit message from CVS:
      New source plugin based on librfb-0.1.  RFB (remote framebuffer)
      is the protocol used by VNC.
      11207007
  6. 06 Jan, 2004 2 commits
  7. 04 Jan, 2004 1 commit
  8. 03 Jan, 2004 1 commit
    • Ronald S. Bultje's avatar
      Update xvid plugin to latest xvid (1.0.0-beta3) API. · 47d4010a
      Ronald S. Bultje authored
      Original commit message from CVS:
      2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      reviewed by: <delete if not using a buddy>
      
      * configure.ac:
      * ext/xvid/gstxvid.c: (gst_xvid_init), (gst_xvid_error),
      (gst_xvid_structure_to_csp), (gst_xvid_csp_to_caps):
      * ext/xvid/gstxvid.h:
      * ext/xvid/gstxviddec.c: (gst_xviddec_class_init),
      (gst_xviddec_init), (gst_xviddec_setup), (gst_xviddec_chain),
      (gst_xviddec_src_link), (gst_xviddec_sink_link),
      (gst_xviddec_change_state):
      * ext/xvid/gstxviddec.h:
      * ext/xvid/gstxvidenc.c: (gst_xvidenc_profile_get_type),
      (gst_xvidenc_base_init), (gst_xvidenc_class_init),
      (gst_xvidenc_init), (gst_xvidenc_setup), (gst_xvidenc_chain),
      (gst_xvidenc_link), (gst_xvidenc_set_property),
      (gst_xvidenc_get_property), (gst_xvidenc_change_state):
      * ext/xvid/gstxvidenc.h:
      Update xvid plugin to latest xvid (1.0.0-beta3) API.
      47d4010a
  9. 02 Jan, 2004 2 commits
  10. 01 Jan, 2004 2 commits
    • Ronald S. Bultje's avatar
      Remove left-over g_print · 9e9bd201
      Ronald S. Bultje authored
      Original commit message from CVS:
      Remove left-over g_print
      9e9bd201
    • Ronald S. Bultje's avatar
      configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of... · 9003ed34
      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.
      9003ed34
  11. 29 Dec, 2003 1 commit
  12. 27 Dec, 2003 1 commit
  13. 23 Dec, 2003 1 commit
    • Ronald S. Bultje's avatar
      Fix caps breakage after Dave's caps branch merge. · 0475cf26
      Ronald S. Bultje authored
      Original commit message from CVS:
      2003-12-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * ext/divx/gstdivxdec.c: (gst_divxdec_base_init),
      (gst_divxdec_init), (gst_divxdec_negotiate):
      * ext/divx/gstdivxdec.h:
      * ext/divx/gstdivxenc.c: (gst_divxenc_base_init),
      (gst_divxenc_init):
      * ext/faac/gstfaac.c: (gst_faac_base_init), (gst_faac_init),
      (gst_faac_sinkconnect), (gst_faac_srcconnect):
      * ext/mpeg2enc/gstmpeg2enc.cc:
      * ext/mpeg2enc/gstmpeg2encoder.cc:
      * ext/mpeg2enc/gstmpeg2encpicturereader.cc:
      * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_base_init),
      (dxr3audiosink_init), (dxr3audiosink_pcm_sinklink):
      * sys/dxr3/dxr3spusink.c: (dxr3spusink_base_init),
      (dxr3spusink_init):
      * sys/dxr3/dxr3videosink.c: (dxr3videosink_base_init),
      (dxr3videosink_init):
      Fix caps breakage after Dave's caps branch merge.
      0475cf26
  14. 22 Dec, 2003 4 commits
  15. 21 Dec, 2003 1 commit
    • Ronald S. Bultje's avatar
      configure.ac: Improve mpeg2enc detection. This is for distributions that do... · 967aca77
      Ronald S. Bultje authored
      configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
      
      Original commit message from CVS:
      2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * configure.ac:
      Improve mpeg2enc detection. This is for distributions that do
      ship mjpegtools, but without mpeg2enc. Also does object check
      for might there ever be ABI incompatibility.
      * ext/mpeg2enc/gstmpeg2enc.cc:
      Add Andrew as second maintainer (he's helping me), and also add
      an error if no caps was set. This happens if I pull before capsnego
      and that's something I should solve sometime else.
      * gst/matroska/matroska-demux.c:
      (gst_matroska_demux_parse_blockgroup):
      Fix time parsing.
      * gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
      (gst_matroska_mux_track_header):
      Add caps to templates.
      * gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
      Add mpegversion=1 to prevent confusion with MPEG/AAC.
      * gst/mpegstream/gstmpegdemux.c:
      Remove layer since it causes warnings about unfixed caps.
      * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
      Fix obvious typo (we error out if caps were set, we should of
      course error out if *no* caps were set).
      * sys/oss/gstosselement.c: (gst_osselement_convert):
      Fix format conversion, we confused bits/bytes.
      * sys/oss/gstosselement.h:
      Improve documentation for 'bps'.
      * sys/v4l/TODO:
      Remove stuff about plugins that need removing - this was done
      ages ago.
      * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
      (gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
      (gst_v4lsrc_src_query):
      * sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
      (gst_v4l2src_src_convert), (gst_v4l2src_src_query):
      Add get_query_types(), get_formats() and query() functions.
      967aca77
  16. 18 Dec, 2003 1 commit
  17. 13 Dec, 2003 2 commits
  18. 11 Dec, 2003 1 commit
    • Ronald S. Bultje's avatar
      This is a first attempt at a wrapper for the lib'ified mpeg2enc of mjpegtools.... · aa9969db
      Ronald S. Bultje authored
      This is a first attempt at a wrapper for the lib'ified mpeg2enc of mjpegtools. Currently, there's a few release candi...
      
      Original commit message from CVS:
      This is a first attempt at a wrapper for the lib'ified mpeg2enc of
      mjpegtools. Currently, there's a few release candidates for mjpegtools-1.6.2
      available, but no stable version yet.
      I've made 4 small subclasses to wrap input, output, options and generic
      encoding model. The last .cc file is the GStreamer plugin element.
      
      Note that it doesn't actually work yet, I'm doing something wrong with
      header parsing and Andrew asked me to commit so he could help debugging
      that. Apart from that, we should soon be able to make top-quality MPEG
      encodes! :).
      
      mpeg2enc licensing is tricky, btw, I don't even want to start discussing
      that...
      aa9969db
  19. 07 Dec, 2003 2 commits
  20. 05 Dec, 2003 1 commit
  21. 04 Dec, 2003 1 commit
  22. 25 Nov, 2003 1 commit
  23. 24 Nov, 2003 3 commits
    • Benjamin Otte's avatar
      ooops, those files shouldn't have been committed in the latest commit. · 36c6d7ee
      Benjamin Otte authored
      Original commit message from CVS:
      ooops, those files shouldn't have been committed in the latest commit.
      36c6d7ee
    • Benjamin Otte's avatar
      use GDK_PIXBUF_CONFDIR · fe7d4f55
      Benjamin Otte authored
      Original commit message from CVS:
      use GDK_PIXBUF_CONFDIR
      fe7d4f55
    • Benjamin Otte's avatar
      tagging stuff and build fixes. In detail: · 803ff8f4
      Benjamin Otte authored
      Original commit message from CVS:
      tagging stuff and build fixes. In detail:
      - make gdk-pixbuf loader work when distchecking
      - fix invalid syntax in ffmpeg Makefile. wildcards for EXTRA_DIST are not allowed. This broke builds where distdir != srcdir
      - fix ffmpeg cvs grabbing when srcdir != distdir
      - new id3tag plugin for id3 tag reading/writing (uses mad's libid3tag)
      - mad and libid3tag require mad/libid3tag v0.15. Fixed configure to require that
      - added ogg demuxer in ext/ogg. The demuxer does not handle events yet. Especially getting seeking right will require some effort or code copying from libvorbis.
      - added raw vorbis detection to typefinding. oggdemux requires a typefind function to detect its contents.
      - tags plugin in gst/tags. Provides API in <gst/tags/gsttagediting.h>. API includes tag matching GStreamer <=> ID3 and GStreamer <=> vorbis and writing/reading vorbiscomments or ID3v1 tags. Also included is a simple vorbiscomment reader/writer. Writing will not really work though until someone writes oggmux.
      - various build fixes. Mostly missing (DIST)CLEANFILES.
      - vorbisenc handles tag writing.
      
      Now it's YOUR turn to fix and write more plugins that handle writing/reading of tags. :)
      803ff8f4
  24. 22 Nov, 2003 2 commits