~ubuntu-branches/ubuntu/quantal/gst-plugins-bad0.10/quantal-proposed

« back to all changes in this revision

Viewing changes to gst/debugutils/fpsdisplaysink.h

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-07-19 14:32:43 UTC
  • mfrom: (18.4.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110719143243-p7pnkh45akfp0ihk
Tags: 0.10.22-2ubuntu1
* Rebased on debian unstable, remaining changes:
  - debian/gstreamer-plugins-bad.install
    * don't include dtmf, liveadder, rtpmux, autoconvert and shm, we include 
      them in -good

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <gst/gst.h>
24
24
 
25
25
G_BEGIN_DECLS
 
26
 
26
27
#define GST_TYPE_FPS_DISPLAY_SINK \
27
28
  (fps_display_sink_get_type())
28
29
#define GST_FPS_DISPLAY_SINK(obj) \
33
34
  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_FPS_DISPLAY_SINK))
34
35
#define GST_IS_FPS_DISPLAY_SINK_CLASS(klass) \
35
36
  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_FPS_DISPLAY_SINK))
36
 
    GType fps_display_sink_get_type (void);
 
37
 
 
38
GType fps_display_sink_get_type (void);
37
39
 
38
40
typedef struct _GstFPSDisplaySink GstFPSDisplaySink;
39
41
typedef struct _GstFPSDisplaySinkClass GstFPSDisplaySinkClass;
42
44
{
43
45
  GstBin bin;
44
46
 
45
 
  /*< private > */
 
47
  /*< private >*/
46
48
  /* gstreamer components */
47
49
  GstElement *text_overlay;
48
50
  GstElement *video_sink;
49
51
  GstPad *ghost_pad;
50
52
 
51
53
  /* statistics */
52
 
  gint frames_rendered, frames_dropped;
 
54
  gint frames_rendered, frames_dropped;  /* ATOMIC */
53
55
  guint64 last_frames_rendered, last_frames_dropped;
54
56
 
55
57
  GstClockTime start_ts;
64
66
  GstClockTime fps_update_interval;
65
67
  gdouble max_fps;
66
68
  gdouble min_fps;
 
69
  gboolean silent;
 
70
  gchar *last_message;
67
71
};
68
72
 
69
73
struct _GstFPSDisplaySinkClass
72
76
};
73
77
 
74
78
G_END_DECLS
 
79
 
75
80
#endif /* __FPS_DISPLAY_SINK_H__ */