1. 07 May, 2008 8 commits
    • Haakon Sporsheim's avatar
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do... · acb8ba64
      Haakon Sporsheim authored and Ole Andre Vadla Ravnaas's avatar Ole Andre Vadla Ravnaas committed
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawClipper_SetHWnd() if the window I...
      
      Original commit message from CVS:
      patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
      * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw):
      Do IDirectDrawClipper_SetHWnd() if the window ID has already been
      set after creating the clipper.
      acb8ba64
    • Haakon Sporsheim's avatar
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added... · 368834ab
      Haakon Sporsheim authored and Ole Andre Vadla Ravnaas's avatar Ole Andre Vadla Ravnaas committed
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added checking of surface lost case after an uns...
      
      Original commit message from CVS:
      patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
      * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame):
      Added checking of surface lost case after an unsuccessful
      IDirectDrawSurface7_Lock() call.
      If surface is lost, return GST_FLOW_OK.
      368834ab
    • Haakon Sporsheim's avatar
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame, · dd1f932e
      Haakon Sporsheim authored and Ole Andre Vadla Ravnaas's avatar Ole Andre Vadla Ravnaas committed
      Original commit message from CVS:
      patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
      * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
      WndProc, gst_directdraw_sink_window_thread):
      Improved Windows message loop and fixed window destruction issue.
      When the window which DirectDraw is rendering to is destroyed, the
      render/show_frame function will return GST_FLOW_ERROR.
      Partially fixes #520885.
      dd1f932e
    • Haakon Sporsheim's avatar
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid... · da78d8dc
      Haakon Sporsheim authored and Ole Andre Vadla Ravnaas's avatar Ole Andre Vadla Ravnaas committed
      sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream resolution change bug, the offscr...
      
      Original commit message from CVS:
      patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
      * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps):
      Fixed mid stream resolution change bug, the offscreen surface is now
      released when set_caps is called.
      Partially fixes #520885.
      da78d8dc
    • Ole Andre Vadla Ravnaas's avatar
      sys/directdraw/gstdirectdrawsink.c · deab3d26
      Ole Andre Vadla Ravnaas authored
      Original commit message from CVS:
      * sys/directdraw/gstdirectdrawsink.c
      (gst_directdraw_sink_buffer_alloc):
      Make it so that gst_directdraw_sink_buffer_alloc uses the right
      width/height.
      Especially when looking through the pool of buffers, make sure that
      the width/height of caps is used instead of the already negotiated
      dimensions.
      For example if a buffer with different caps is requested, i.e.
      higher resolution, the caller would get a buffer with the old
      dimensions and thus corrupt the heap.
      deab3d26
    • Ole Andre Vadla Ravnaas's avatar
      sys/directdraw/gstdirectdrawsink.c · c02e043b
      Ole Andre Vadla Ravnaas authored
      Original commit message from CVS:
      * sys/directdraw/gstdirectdrawsink.c
      (gst_directdraw_sink_buffer_alloc):
      Clear the flags on recycled buffers from buffer_alloc.
      Partially fixes #520885.
      The right fix this time.
      c02e043b
    • Ole Andre Vadla Ravnaas's avatar
      sys/directdraw/gstdirectdrawsink.c · b0638c5f
      Ole Andre Vadla Ravnaas authored
      Original commit message from CVS:
      * sys/directdraw/gstdirectdrawsink.c
      (gst_directdraw_sink_buffer_alloc):
      Reverting previous commit, it had it all mixed up, was for a different
      patch (major automation screw-up). Sorry!
      b0638c5f
    • Ole Andre Vadla Ravnaas's avatar
      sys/directdraw/gstdirectdrawsink.c · 04adbf5b
      Ole Andre Vadla Ravnaas authored
      Original commit message from CVS:
      * sys/directdraw/gstdirectdrawsink.c
      (gst_directdraw_sink_buffer_alloc):
      Clear the flags on recycled buffers from buffer_alloc.
      Partially fixes #520885.
      04adbf5b
  2. 12 Feb, 2008 1 commit
  3. 07 Jan, 2008 1 commit
  4. 05 Jan, 2008 1 commit
    • Julien Moutte Moutte's avatar
      sys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window... · 7e0714b5
      Julien Moutte Moutte authored
      sys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window only when we need it. That will give a ch...
      
      Original commit message from CVS:
      2008-01-05  Julien Moutte  <julien@fluendo.com>
      
      * sys/directdraw/gstdirectdrawsink.c:
      (gst_directdraw_sink_set_window_id),
      (gst_directdraw_sink_set_caps),
      (gst_directdraw_sink_change_state),
      (gst_directdraw_sink_buffer_alloc),
      (gst_directdraw_sink_draw_borders),
      (gst_directdraw_sink_show_frame),
      (gst_directdraw_sink_setup_ddraw),
      (gst_directdraw_sink_window_thread),
      (gst_directdraw_sink_get_ddrawcaps),
      (gst_directdraw_sink_surface_create): Make sure we create our
      internal window only when we need it. That will give a chance to
      the application to get the prepare-xwindow-id bus message. Draw
      black borders when keeping aspect ratio. Handle the case where
      our
      rendering window disappears (closed or errors) like other sinks
      do. Various 80 columns fixes, improve state change order. That
      element could need some more love.
      7e0714b5
  5. 22 Sep, 2007 1 commit
  6. 08 Jun, 2007 1 commit
    • Jan Schmidt's avatar
      Rename the keep-aspect-ratio property to force-aspect-ratio to make it... · 01877c67
      Jan Schmidt authored
      Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent with xvimagesink and ximagesink.
      
      Original commit message from CVS:
      * docs/plugins/gst-plugins-bad-plugins.args:
      * sys/directdraw/gstdirectdrawsink.c:
      (gst_directdraw_sink_class_init):
      Rename the keep-aspect-ratio property to force-aspect-ratio to make
      it consistent with xvimagesink and ximagesink.
      01877c67
  7. 24 May, 2007 1 commit
    • Vincent Torri's avatar
      sys/directdraw/gstdirectdrawsink.*: Fix more warnings when compiling with MingW (#439914). · 59e42fc5
      Vincent Torri authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      Original commit message from CVS:
      Patch by: Vincent Torri  <vtorri at univ-evry fr>
      * sys/directdraw/gstdirectdrawsink.c:
      (gst_directdraw_sink_buffer_alloc),
      (gst_directdraw_sink_show_frame),
      (gst_directdraw_sink_check_primary_surface),
      (gst_directdraw_sink_check_offscreen_surface),
      (EnumModesCallback2), (gst_directdraw_sink_get_ddrawcaps),
      (gst_directdraw_sink_surface_create):
      * sys/directdraw/gstdirectdrawsink.h:
      Fix more warnings when compiling with MingW (#439914).
      59e42fc5
  8. 20 May, 2007 1 commit
    • Tim-Philipp Müller's avatar
      sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: remove static... · fa055153
      Tim-Philipp Müller authored
      sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: remove static function that doesn't exist; declare another ...
      
      Original commit message from CVS:
      * sys/directdraw/gstdirectdrawsink.c: (gst_ddrawsurface_finalize),
      (gst_directdraw_sink_buffer_alloc),
      (gst_directdraw_sink_get_ddrawcaps),
      (gst_directdraw_sink_surface_create):
      Bunch of small fixes: remove static function that doesn't exist;
      declare another one that does; printf format fix; use right macro
      when specifying debug category; remove a bunch of unused variables;
      #if 0 out an unused chunk of code (partially fixes #439914).
      fa055153
  9. 29 Apr, 2007 1 commit
  10. 11 Mar, 2007 1 commit
  11. 27 Feb, 2007 1 commit
  12. 18 Feb, 2007 1 commit
    • Sebastien Moutte's avatar
      sys/directdraw/: Prepare the plugin to move to good: · 71cf071f
      Sebastien Moutte authored
      Original commit message from CVS:
      * sys/directdraw/gstdirectdrawplugin.c:
      * sys/directdraw/gstdirectdrawsink.c:
      * sys/directdraw/gstdirectdrawsink.h:
      Prepare the plugin to move to good:
      Remove unused/untested code (rendering to an extern surface,
      yuv format rendering).Use GST_(DEBUG/*)_OBJECT macros
      Rename all functions from gst_directdrawsink to gst_directdraw_sink.
      Add gtk doc section
      Fix a bug in gst_directdraw_sink_show_frame, memcpy line by line
      respecting destination surface stride.
      * sys/directsound/gstdirectsoundplugin.c:
      * sys/directsound/gstdirectsoundsink.c:
      * sys/directsound/gstdirectsoundsink.h:
      Prepare the plugin to move to good:
      Rename all functions from gst_directsoundsink to gst_directsound_sink.
      Add gtk doc section
      * win32/common/config.h.in:
      * win32/MANIFEST:
      Add config.h.in
      71cf071f
  13. 11 Feb, 2007 1 commit
    • Sebastien Moutte's avatar
      Makefile.am: Add win32 MANIFEST · 4b58be7f
      Sebastien Moutte authored
      Original commit message from CVS:
      * Makefile.am:
      Add win32 MANIFEST
      * sys/directdraw/gstdirectdrawsink.c:
      * sys/directdraw/gstdirectdrawsink.h:
      Clear unused code and add comments.
      Remove yuv from template caps, it only supports RGB
      actually.
      Implement XOverlay interface and remove window and fullscreen
      properties.
      Add debug logs.
      Test for blit capabilities to return only the current colorspace if
      the hardware can't blit for one colorspace to another.
      * sys/directsound/gstdirectsoundsink.c:
      Add some debugs.
      * win32/MANIFEST:
      Add VS7 project files and solution.
      * win32/vs6/gst_plugins_bad.dsw:
      * win32/vs6/libgstdirectdraw.dsp:
      * win32/vs6/libgstdirectsound.dsp:
      * win32/vs6/libgstqtdemux.dsp:
      Update project files.
      4b58be7f
  14. 03 Jan, 2007 1 commit
    • Vincent Torri's avatar
      Add directdrawsink to build and dist it, so it gets built when compiling with... · 2ae3fda5
      Vincent Torri authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      Add directdrawsink to build and dist it, so it gets built when compiling with MingW on win32 and the required headers...
      
      Original commit message from CVS:
      Patch by: Vincent Torri  <vtorri at univ-evry fr>
      * configure.ac:
      * sys/Makefile.am:
      * sys/directdraw/Makefile.am:
      Add directdrawsink to build and dist it, so it gets built when
      compiling with MingW on win32 and the required headers and libraries
      are available (fixes: #392313).
      * sys/directdraw/gstdirectdrawsink.c:
      (gst_directdrawsink_center_rect), (gst_directdrawsink_show_frame),
      (gst_directdrawsink_setup_ddraw),
      (gst_directdrawsink_surface_create):
      Comment out some unused things and fix some printf format issues in
      order to avoid warnings when buildling with MingW (#392313).
      2ae3fda5
  15. 01 Nov, 2006 1 commit
    • Sergey Scobich's avatar
      sys/: Wait until the window is created before using it; guard unistd.h... · a0eefe10
      Sergey Scobich authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      sys/: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523)
      
      Original commit message from CVS:
      Patch by: Sergey Scobich  <sergey dot scobich at gmail com>
      * sys/directdraw/gstdirectdrawsink.c:
      (gst_directdrawsink_window_thread),
      (gst_directdrawsink_create_default_window):
      * sys/directdraw/gstdirectdrawsink.h:
      * sys/directsound/gstdirectsoundsink.c:
      Wait until the window is created before using it; guard unistd.h
      includes with HAVE_UNISTD_H. (#366523)
      * win32/vs8/libgstdirectdraw.vcproj:
      * win32/vs8/libgstdirectsound.vcproj:
      Update project files.
      a0eefe10
  16. 24 Jul, 2006 1 commit
    • Sebastien Moutte's avatar
      sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will... · bfd753e0
      Sebastien Moutte authored
      sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.
      
      Original commit message from CVS:
      * sys/directsound/gstdirectsoundsink.h:
      * sys/directsound/gstdirectsoundsink.c:
      Add an attenuation property that will directly attenuate the
      directsound buffer.
      Change the size of the directsound secondary buffer to a half second.
      Add more debug logs.
      Add a lock to protect dsound buffer write access.
      Fix a bad implementation of reset.
      * sys/directsound/gstdirectdrawsink.c:
      * sys/directsound/gstdirectdrawsink.h:
      Add a keep_aspect_ratio property.
      Do not use overlay if not supported.
      Add more debug logs.
      Remove overwrite of WM_ERASEBKGND message handling. It was not
      redrawing border when keep_aspect_ratio was enabled.
      * win32/common/config.h:
      update version waiting an auto-generated config.h
      bfd753e0
  17. 12 Jun, 2006 1 commit
  18. 25 Apr, 2006 1 commit
    • Stefan Kost's avatar
      Define GstElementDetails as const and also static (when defined as global) · 0835d422
      Stefan Kost authored
      Original commit message from CVS:
      * ext/amrwb/gstamrwbdec.c:
      * ext/amrwb/gstamrwbenc.c:
      * ext/amrwb/gstamrwbparse.c:
      * ext/arts/gst_arts.c:
      * ext/artsd/gstartsdsink.c:
      * ext/audiofile/gstafparse.c:
      * ext/audiofile/gstafsink.c:
      * ext/audiofile/gstafsrc.c:
      * ext/audioresample/gstaudioresample.c:
      * ext/bz2/gstbz2dec.c:
      * ext/bz2/gstbz2enc.c:
      * ext/cdaudio/gstcdaudio.c:
      * ext/directfb/dfbvideosink.c:
      * ext/divx/gstdivxdec.c:
      * ext/divx/gstdivxenc.c:
      * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
      * ext/faac/gstfaac.c: (gst_faac_base_init):
      * ext/faad/gstfaad.c:
      * ext/gsm/gstgsmdec.c:
      * ext/gsm/gstgsmenc.c:
      * ext/hermes/gsthermescolorspace.c:
      * ext/ivorbis/vorbisfile.c:
      * ext/lcs/gstcolorspace.c:
      * ext/libfame/gstlibfame.c:
      * ext/libmms/gstmms.c: (gst_mms_base_init):
      * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
      * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
      * ext/nas/nassink.c: (gst_nassink_base_init):
      * ext/neon/gstneonhttpsrc.c:
      * ext/sdl/sdlaudiosink.c:
      * ext/sdl/sdlvideosink.c:
      * ext/shout/gstshout.c:
      * ext/snapshot/gstsnapshot.c:
      * ext/sndfile/gstsf.c:
      * ext/swfdec/gstswfdec.c:
      * ext/tarkin/gsttarkindec.c:
      * ext/tarkin/gsttarkinenc.c:
      * ext/theora/theoradec.c:
      * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
      * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
      * ext/xvid/gstxviddec.c:
      * ext/xvid/gstxvidenc.c:
      * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
      * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
      * gst/chart/gstchart.c:
      * gst/colorspace/gstcolorspace.c:
      * gst/deinterlace/gstdeinterlace.c:
      * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
      * gst/festival/gstfestival.c:
      * gst/filter/gstbpwsinc.c:
      * gst/filter/gstiir.c:
      * gst/filter/gstlpwsinc.c:
      * gst/freeze/gstfreeze.c:
      * gst/games/gstpuzzle.c: (gst_puzzle_base_init):
      * gst/librfb/gstrfbsrc.c:
      * gst/mixmatrix/mixmatrix.c:
      * gst/mpeg1sys/gstmpeg1systemencode.c:
      * gst/mpeg1videoparse/gstmp1videoparse.c:
      * gst/mpeg2sub/gstmpeg2subt.c:
      * gst/mpegaudioparse/gstmpegaudioparse.c:
      * gst/multifilesink/gstmultifilesink.c:
      * gst/overlay/gstoverlay.c:
      * gst/passthrough/gstpassthrough.c:
      * gst/playondemand/gstplayondemand.c:
      * gst/qtdemux/qtdemux.c:
      * gst/rtjpeg/gstrtjpegdec.c:
      * gst/rtjpeg/gstrtjpegenc.c:
      * gst/smooth/gstsmooth.c:
      * gst/smoothwave/gstsmoothwave.c:
      * gst/spectrum/gstspectrum.c:
      * gst/speed/gstspeed.c:
      * gst/stereo/gststereo.c:
      * gst/switch/gstswitch.c:
      * gst/tta/gstttadec.c: (gst_tta_dec_base_init):
      * gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
      * gst/vbidec/gstvbidec.c:
      * gst/videocrop/gstvideocrop.c:
      * gst/videodrop/gstvideodrop.c:
      * gst/virtualdub/gstxsharpen.c:
      * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
      * gst/y4m/gsty4mencode.c:
      * sys/cdrom/gstcdplayer.c:
      * sys/directdraw/gstdirectdrawsink.c:
      * sys/directsound/gstdirectsoundsink.c:
      * sys/glsink/glimagesink.c:
      * sys/qcam/gstqcamsrc.c:
      * sys/v4l2/gstv4l2src.c:
      * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
      * sys/ximagesrc/ximagesrc.c:
      Define GstElementDetails as const and also static (when defined as
      global)
      0835d422
  19. 03 Mar, 2006 1 commit
  20. 05 Jan, 2006 1 commit
    • Sebastien Moutte's avatar
      added sys/directdraw added sys/directsound added win32/vs6/gst_plugins_bad.dsw... · f670909e
      Sebastien Moutte authored
      added sys/directdraw added sys/directsound added win32/vs6/gst_plugins_bad.dsw added win32/vs6/libgstdirectsound.dsp ...
      
      Original commit message from CVS:
      2006-01-05  Sebastien Moutte  <sebastien@moutte.net>
      * added sys/directdraw
      * added sys/directsound
      * added win32/vs6/gst_plugins_bad.dsw
      * added win32/vs6/libgstdirectsound.dsp
      * added win32/vs6/libgstdirectdraw.dsp
      * added win32/common/config.h
      f670909e