summaryrefslogtreecommitdiff
path: root/sys/directdraw
Commit message (Collapse)AuthorAgeFilesLines
* directdrawsink: update window width/height when it's not done in WndProcAndoni Morales Alastruey2013-05-241-0/+4
|
* directdrwasink: call previous WndProc if anyAndoni Morales Alastruey2013-05-242-1/+44
|
* directdrawsink: respect PAR with coordinatesAndoni Morales Alastruey2013-05-241-25/+26
|
* gst: Add better support for static pluginsSebastian Dröge2013-04-151-1/+1
|
* windows: Put the DirectX LDFLAGS in the correct place and reorder librariesSebastian Dröge2012-11-211-3/+4
|
* Fix FSF addressTim-Philipp Müller2012-11-043-6/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687520
* Use gst_element_class_set_static_metadata()Tim-Philipp Müller2012-10-171-5/+5
| | | | | where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
* replace gst_element_class_set_details_simple with gst_element_class_set_metadataMark Nauwelaerts2012-09-141-1/+1
|
* sys: make video sinks default to force-aspect-ratio=trueTim-Philipp Müller2012-06-291-1/+1
|
* gst: Update for GST_PLUGIN_DEFINE() API changesSebastian Dröge2012-04-051-1/+1
|
* gst: Update versioningSebastian Dröge2012-04-041-2/+2
|
* Merge branch 'master' into 0.11Wim Taymans2012-02-141-2/+2
|\
| * directdrawsink: Fix warnings on 64 bit mingw-w64Raimo Järvi2012-02-141-2/+2
| | | | | | | | | | | | | | gstdirectdrawsink.c:1561:24: error: assignment from incompatible pointer type gstdirectdrawsink.c:2028:3: error: format '%d' expects type 'int', but argument 8 has type 'size_t' https://bugzilla.gnome.org/show_bug.cgi?id=657522
| * various: fix pad template ref leaksVincent Penquerc'h2011-11-281-2/+2
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=662664
* directdrawsink: lower rank to secondaryLevente Farkas2011-06-051-1/+1
| | | | Signed-off-by: David Schleef <ds@schleef.org>
* directdrawsink: Handle pixel-aspect-ratioDavid Schleef2011-06-041-8/+17
| | | | Fixes: #651779. From Raimo Järvi.
* directdrawsink: avoid aspect-ratio borders overlying other windowsMark Nauwelaerts2011-02-081-2/+4
| | | | Fixes #632056.
* directdrawsink: avoid rendering to invalid areaMark Nauwelaerts2011-02-081-0/+14
| | | | | | Based on patch by Havard Graff <havard.graff@tandberg.com> Fixes #594280.
* directdrawsink: port GstXOverlay bits to new APITim-Philipp Müller2010-10-121-8/+9
| | | | Don't use deprecated API.
* Fix warnings in directdrawsink and directsoundsrcРуслан Ижбулатов2010-05-011-0/+1
| | | | Fixes #617331
* directdraw: Fix warningsBenjamin Otte2010-03-231-3/+3
|
* directdraw: Fix warningsBenjamin Otte2010-03-211-3/+3
|
* gst_element_class_set_details => gst_element_class_set_details_simpleBenjamin Otte2010-03-181-11/+7
|
* directdraw, directsound: unify CFLAGS and fix configure checks for ↵Руслан Ижбулатов2009-08-261-12/+12
| | | | | | | | | | DirectX-based plugins One set of CFLAGS for all DirectX-based plugins. Correct header/library checks for DirectX-based-plugins. Remove unused variable and label in directsoundsrc. Fixes #593068.
* directdrawsink: Fix crash when exposing in GST_STATE_READYJulien Isorce2009-08-091-4/+6
| | | | Fixes bug #541962.
* directdraw: Fix indentionSebastian Dröge2009-07-311-20/+17
|
* directdraw: Implement GstNavigation interfaceРуслан Ижбулатов2009-07-312-4/+196
| | | | Fixes bug #590208.
* [MOVED FROM GOOD] directdrawsink: Fix type mismatchesLRN2009-05-161-5/+5
| | | | Fixes bug #573343.
* [MOVED FROM GOOD] Remove version numbers from a few gst-launch examples.Stefan Kost2009-05-161-1/+1
| | | | The majority of the examples doe not use -0.10 and this will also help us to maintain the docs.
* [MOVED FROM GOOD] Update and add documentation for platform specific plugins ↵Stefan Kost2009-05-161-10/+6
| | | | | | (sys). Link to properties. Correct titles for examples. Fix examples.
* [MOVED FROM GOOD] Don't install static libs for plugins. Fixes #550851 for ↵Stefan Kost2009-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -good. Original commit message from CVS: * ext/aalib/Makefile.am: * ext/annodex/Makefile.am: * ext/cairo/Makefile.am: * ext/dv/Makefile.am: * ext/esd/Makefile.am: * ext/flac/Makefile.am: * ext/gconf/Makefile.am: * ext/gdk_pixbuf/Makefile.am: * ext/hal/Makefile.am: * ext/jpeg/Makefile.am: * ext/ladspa/Makefile.am: * ext/libcaca/Makefile.am: * ext/libmng/Makefile.am: * ext/libpng/Makefile.am: * ext/mikmod/Makefile.am: * ext/pulse/Makefile.am: * ext/raw1394/Makefile.am: * ext/shout2/Makefile.am: * ext/soup/Makefile.am: * ext/speex/Makefile.am: * ext/taglib/Makefile.am: * ext/wavpack/Makefile.am: * gst/alpha/Makefile.am: * gst/apetag/Makefile.am: * gst/audiofx/Makefile.am: * gst/auparse/Makefile.am: * gst/autodetect/Makefile.am: * gst/avi/Makefile.am: * gst/cutter/Makefile.am: * gst/debug/Makefile.am: * gst/effectv/Makefile.am: * gst/equalizer/Makefile.am: * gst/flx/Makefile.am: * gst/goom/Makefile.am: * gst/goom2k1/Makefile.am: * gst/icydemux/Makefile.am: * gst/id3demux/Makefile.am: * gst/interleave/Makefile.am: * gst/law/Makefile.am: * gst/level/Makefile.am: * gst/matroska/Makefile.am: * gst/median/Makefile.am: * gst/monoscope/Makefile.am: * gst/multifile/Makefile.am: * gst/multipart/Makefile.am: * gst/oldcore/Makefile.am: * gst/qtdemux/Makefile.am: * gst/replaygain/Makefile.am: * gst/rtp/Makefile.am: * gst/rtsp/Makefile.am: * gst/smpte/Makefile.am: * gst/spectrum/Makefile.am: * gst/udp/Makefile.am: * gst/videobox/Makefile.am: * gst/videocrop/Makefile.am: * gst/videofilter/Makefile.am: * gst/videomixer/Makefile.am: * gst/wavenc/Makefile.am: * gst/wavparse/Makefile.am: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: * sys/oss/Makefile.am: * sys/osxaudio/Makefile.am: * sys/osxvideo/Makefile.am: * sys/sunaudio/Makefile.am: * sys/v4l2/Makefile.am: * sys/waveform/Makefile.am: * sys/ximage/Makefile.am: Don't install static libs for plugins. Fixes #550851 for -good.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c ↵Ole André Vadla Ravnås2009-05-161-0/+2
| | | | | | | | | (gst_directdraw_sink_buffer_alloc, gst_directdraw_sink_bufferpool_clear): Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, gst_directdraw_sink_bufferpool_clear): Fix two more buffer ref leaks.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Fix buffer ref leak.Ole André Vadla Ravnås2009-05-161-6/+4
| | | | | | | | Original commit message from CVS: Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com> * sys/directdraw/gstdirectdrawsink.c: (gst_directdraw_sink_show_frame): Fix buffer ref leak.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c ↵Haakon Sporsheim2009-05-161-0/+3
| | | | | | | | | | (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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c ↵Haakon Sporsheim2009-05-161-1/+5
| | | | | | | | | | | (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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c ↵Haakon Sporsheim2009-05-161-19/+23
| | | | | | | | | | | | | (gst_directdraw_sink_show_frame, 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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c ↵Haakon Sporsheim2009-05-161-0/+6
| | | | | | | | | | | (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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2009-05-161-5/+13
| | | | | | | | | | | | | | 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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2009-05-161-0/+1
| | | | | | | | | 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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2009-05-161-13/+5
| | | | | | | | 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!
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.cOle André Vadla Ravnås2009-05-161-5/+13
| | | | | | | | 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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Properly chain up ↵Sebastian Dröge2009-05-161-1/+8
| | | | | | | | | | finalize functions. Fixes bug #515980. Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c: (gst_ddrawsurface_class_init), (gst_ddrawsurface_finalize), (gst_directdraw_sink_finalize): Properly chain up finalize functions. Fixes bug #515980.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.Tim-Philipp Müller2009-05-161-2/+2
| | | | | | | Original commit message from CVS: * sys/directdraw/gstdirectdrawsink.c: (gst_directdraw_sink_window_thread): FALSE is not a gpointer.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Make sure we create ↵Julien Moutte2009-05-161-38/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [MOVED FROM GOOD] fix header and commentsThomas Vander Stichele2009-05-162-33/+29
| | | | | Original commit message from CVS: fix header and comments
* [MOVED FROM GOOD] Make sure to dist everything needed for win32 builds.Jan Schmidt2009-05-161-0/+2
| | | | | | | | | | Original commit message from CVS: * configure.ac: * sys/Makefile.am: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: * sys/waveform/Makefile.am: Make sure to dist everything needed for win32 builds.
* [MOVED FROM GOOD] Rename the keep-aspect-ratio property to ↵Jan Schmidt2009-05-161-2/+3
| | | | | | | | | | | 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.
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.*: Fix more warnings when ↵Vincent Torri2009-05-162-15/+34
| | | | | | | | | | | | | | | | compiling with MingW (#439914). 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).
* [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: ↵Tim-Philipp Müller2009-05-161-59/+58
| | | | | | | | | | | | | | 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).
* [MOVED FROM GOOD] Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to ↵Tim-Philipp Müller2009-05-161-2/+2
| | | | | | | | | | | | | Makefile.am; save and restore the various flags in the directdraw/dir... Original commit message from CVS: * configure.ac: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/directsound detection section. Apparently improves cross-compiling for win32 with mingw32 under some circumstances (#437539).