• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2008 Jan Schmidt <thaytan@noraisin.net>
3  */
4 
5 #ifndef __RSN_PARSETTER_H__
6 #define __RSN_PARSETTER_H__
7 
8 #include <gst/gst.h>
9 
10 G_BEGIN_DECLS
11 
12 #define RSN_TYPE_RSNPARSETTER \
13   (rsn_parsetter_get_type())
14 #define RSN_PARSETTER(obj) \
15   (G_TYPE_CHECK_INSTANCE_CAST((obj),RSN_TYPE_RSNPARSETTER,RsnParSetter))
16 #define RSN_PARSETTER_CLASS(klass) \
17   (G_TYPE_CHECK_CLASS_CAST((klass),RSN_TYPE_RSNPARSETTER,RsnParSetterClass))
18 #define RSN_IS_PARSETTER(obj) \
19   (G_TYPE_CHECK_INSTANCE_TYPE((obj),RSN_TYPE_RSNPARSETTER))
20 #define RSN_IS_PARSETTER_CLASS(klass) \
21   (G_TYPE_CHECK_CLASS_TYPE((klass),RSN_TYPE_RSNPARSETTER))
22 
23 typedef struct _RsnParSetter      RsnParSetter;
24 typedef struct _RsnParSetterClass RsnParSetterClass;
25 
26 struct _RsnParSetter
27 {
28   GstElement element;
29 
30   GstPad *sinkpad, *srcpad;
31 
32   gboolean override_outcaps;
33   GstCaps *outcaps;
34 
35   gboolean is_widescreen;
36 
37   GstCaps *in_caps_last;
38   gboolean in_caps_was_ok;
39   GstCaps *in_caps_converted;
40 };
41 
42 struct _RsnParSetterClass
43 {
44   GstElementClass parent_class;
45 };
46 
47 GType rsn_parsetter_get_type (void);
48 
49 G_END_DECLS
50 
51 #endif /* __RSN_PARSETTER_H__ */
52