mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
cacasink: minor cleanups for header.
Use G_BEGIN_DECLS macros, remove unused variables and fix typo. See #599018.
This commit is contained in:
parent
45042dffbc
commit
34a7a90f57
1 changed files with 3 additions and 11 deletions
|
@ -30,9 +30,7 @@
|
||||||
# include <caca0.h>
|
# include <caca0.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
G_BEGIN_DECLS
|
||||||
extern "C" {
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
#define GST_TYPE_CACASINK \
|
#define GST_TYPE_CACASINK \
|
||||||
(gst_cacasink_get_type())
|
(gst_cacasink_get_type())
|
||||||
|
@ -51,9 +49,6 @@ typedef struct _GstCACASinkClass GstCACASinkClass;
|
||||||
struct _GstCACASink {
|
struct _GstCACASink {
|
||||||
GstBaseSink parent;
|
GstBaseSink parent;
|
||||||
|
|
||||||
GstPad *sinkpad;
|
|
||||||
|
|
||||||
gulong format;
|
|
||||||
gint width, height;
|
gint width, height;
|
||||||
gint screen_width, screen_height;
|
gint screen_width, screen_height;
|
||||||
guint bpp;
|
guint bpp;
|
||||||
|
@ -72,9 +67,6 @@ struct _GstCACASinkClass {
|
||||||
|
|
||||||
GType gst_cacasink_get_type(void);
|
GType gst_cacasink_get_type(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
G_END_DECLS
|
||||||
}
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
|
#endif /* __GST_CACASINK_H__ */
|
||||||
#endif /* __GST_CACASINKE_H__ */
|
|
||||||
|
|
Loading…
Reference in a new issue