~ubuntu-branches/ubuntu/precise/gst-plugins-base0.10/precise-updates

« back to all changes in this revision

Viewing changes to gst-libs/gst/video/gstvideosink.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2011-12-12 12:40:13 UTC
  • mfrom: (36.1.15 experimental)
  • Revision ID: package-import@ubuntu.com-20111212124013-onyadfb150d8c5dk
Tags: 0.10.35.2-2
* debian/libgstreamer-plugins-base.install:
  + Add license translations file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <gst/base/gstbasesink.h>
28
28
 
29
29
G_BEGIN_DECLS
30
 
  
 
30
 
31
31
#define GST_TYPE_VIDEO_SINK (gst_video_sink_get_type())
32
32
#define GST_VIDEO_SINK(obj) \
33
33
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_VIDEO_SINK, GstVideoSink))
60
60
 
61
61
#define GST_VIDEO_SINK_WIDTH(obj) (GST_VIDEO_SINK_CAST (obj)->width)
62
62
#define GST_VIDEO_SINK_HEIGHT(obj) (GST_VIDEO_SINK_CAST (obj)->height)
63
 
  
 
63
 
64
64
typedef struct _GstVideoSink GstVideoSink;
65
65
typedef struct _GstVideoSinkClass GstVideoSinkClass;
66
66
typedef struct _GstVideoRectangle GstVideoRectangle;
84
84
 
85
85
/**
86
86
 * GstVideoSink:
87
 
 * @element: the parent object structure (which is GstBaseSink)
88
87
 * @height: video height (derived class needs to set this)
89
88
 * @width: video width (derived class needs to set this)
90
89
 *
93
92
 */
94
93
struct _GstVideoSink {
95
94
  GstBaseSink element;    /* FIXME 0.11: this should not be called 'element' */
96
 
  
 
95
 
 
96
  /*< public >*/
97
97
  gint width, height;
98
 
  
 
98
 
99
99
  /*< private >*/
100
100
  GstVideoSinkPrivate *priv;
101
101
 
105
105
/**
106
106
 * GstVideoSinkClass:
107
107
 * @parent_class: the parent class structure
108
 
 * @show_frame: render a video frame. Maps to #GstBaseSink::render and
109
 
 *     #GstBaseSink::preroll vfuncs. Rendering during preroll will be
110
 
 *     suppressed if the 'show-preroll-frame' property is set to #FALSE.
111
 
 *     Since: 0.10.25
 
108
 * @show_frame: render a video frame. Maps to #GstBaseSinkClass.render() and
 
109
 *     #GstBaseSinkClass.preroll() vfuncs. Rendering during preroll will be
 
110
 *     suppressed if the #GstVideoSink:show-preroll-frame property is set to 
 
111
 *     %FALSE. Since: 0.10.25
112
112
 *
113
113
 * The video sink class structure. Derived classes should override the
114
114
 * @show_frame virtual function.