mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
[MOVED FROM GOOD] fix header and comments
Original commit message from CVS: fix header and comments
This commit is contained in:
parent
958dc32505
commit
ca3a85c833
2 changed files with 29 additions and 33 deletions
|
@ -1,29 +1,26 @@
|
||||||
/* GStreamer
|
/* GStreamer
|
||||||
* Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
|
* Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
|
||||||
* Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
|
* Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
|
||||||
*
|
*
|
||||||
* Based on directfb video sink
|
* This library is free software; you can redistribute it and/or
|
||||||
* gstdirectdrawsink.c:
|
* modify it under the terms of the GNU Library General Public
|
||||||
*
|
* License as published by the Free Software Foundation; either
|
||||||
* This library is free software; you can redistribute it and/or
|
* version 2 of the License, or (at your option) any later version.
|
||||||
* modify it under the terms of the GNU Library General Public
|
*
|
||||||
* License as published by the Free Software Foundation; either
|
* This library is distributed in the hope that it will be useful,
|
||||||
* version 2 of the License, or (at your option) any later version.
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
*
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
* This library is distributed in the hope that it will be useful,
|
* Library General Public License for more details.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* You should have received a copy of the GNU Library General Public
|
||||||
* Library General Public License for more details.
|
* License along with this library; if not, write to the
|
||||||
*
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
* You should have received a copy of the GNU Library General Public
|
* Boston, MA 02111-1307, USA.
|
||||||
* License along with this library; if not, write to the
|
*
|
||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
* The development of this code was made possible due to the involvement
|
||||||
* Boston, MA 02111-1307, USA.
|
* of Pioneers of the Inevitable, the creators of the Songbird Music player
|
||||||
*
|
*
|
||||||
* The development of this code was made possible due to the involvement
|
*/
|
||||||
* of Pioneers of the Inevitable, the creators of the Songbird Music player
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:element-directdrawsink
|
* SECTION:element-directdrawsink
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
* Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
|
* Copyright (C) 2005 Sebastien Moutte <sebastien@moutte.net>
|
||||||
* Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
|
* Copyright (C) 2007 Pioneers of the Inevitable <songbird@songbirdnest.com>
|
||||||
*
|
*
|
||||||
* gstdirectdrawsink.h:
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
* License as published by the Free Software Foundation; either
|
* License as published by the Free Software Foundation; either
|
||||||
|
@ -24,7 +22,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef __GST_DIRECTDRAWSINK_H__
|
#ifndef __GST_DIRECTDRAWSINK_H__
|
||||||
#define __GST_DIRECTDRAWSINK_H__
|
#define __GST_DIRECTDRAWSINK_H__
|
||||||
|
|
||||||
|
@ -38,6 +35,7 @@
|
||||||
#include <ddraw.h>
|
#include <ddraw.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_TYPE_DIRECTDRAW_SINK (gst_directdraw_sink_get_type())
|
#define GST_TYPE_DIRECTDRAW_SINK (gst_directdraw_sink_get_type())
|
||||||
#define GST_DIRECTDRAW_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DIRECTDRAW_SINK,GstDirectDrawSink))
|
#define GST_DIRECTDRAW_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DIRECTDRAW_SINK,GstDirectDrawSink))
|
||||||
#define GST_DIRECTDRAW_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DIRECTDRAW_SINK,GstDirectDrawSinkClass))
|
#define GST_DIRECTDRAW_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DIRECTDRAW_SINK,GstDirectDrawSinkClass))
|
||||||
|
@ -118,14 +116,14 @@ struct _GstDirectDrawSink
|
||||||
/* thread processing our default window messages */
|
/* thread processing our default window messages */
|
||||||
GThread *window_thread;
|
GThread *window_thread;
|
||||||
|
|
||||||
/* TRUE when directdraw objects are setup */
|
/* TRUE when directdraw object is set up */
|
||||||
gboolean setup;
|
gboolean setup;
|
||||||
|
|
||||||
/* TRUE if the hardware support blitting from one colorspace to another */
|
/* TRUE if the hardware supports blitting from one colorspace to another */
|
||||||
gboolean can_blit_between_colorspace;
|
gboolean can_blit_between_colorspace;
|
||||||
|
|
||||||
/* this flag is used to force re-creation of our offscreen surface
|
/* This flag is used to force re-creation of our offscreen surface.
|
||||||
* it's need when hardware doesn't support fourcc blit and the bit deph
|
* It's needed when hardware doesn't support fourcc blit and the bit depth
|
||||||
* of the current display mode changes.
|
* of the current display mode changes.
|
||||||
*/
|
*/
|
||||||
gboolean must_recreate_offscreen;
|
gboolean must_recreate_offscreen;
|
||||||
|
@ -139,4 +137,5 @@ struct _GstDirectDrawSinkClass
|
||||||
GType gst_directdraw_sink_get_type (void);
|
GType gst_directdraw_sink_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GST_DIRECTDRAWSINK_H__ */
|
#endif /* __GST_DIRECTDRAWSINK_H__ */
|
||||||
|
|
Loading…
Reference in a new issue