ce12a07f3e5e45d9af4d04357783b6fb5fafd897
[platform/upstream/gstreamer.git] / tools / gstvideosink.c
1 % ClassName
2 GstVideoSink
3 % TYPE_CLASS_NAME
4 GST_TYPE_VIDEO_SINK
5 % pkg-config
6 gstreamer-video-0.10
7 % includes
8 #include <gst/video/gstvideosink.h>
9 % prototypes
10
11 static GstFlowReturn
12 gst_replace_show_frame (GstVideoSink * video_sink, GstBuffer * buf);
13
14
15 % declare-class
16   GstVideoSinkClass *video_sink_class = GST_VIDEO_SINK_CLASS (klass);
17 % set-methods
18   video_sink_class->show_frame = GST_DEBUG_FUNCPTR (gst_replace_show_frame);
19 % methods
20
21 static GstFlowReturn
22 gst_replace_show_frame (GstVideoSink * video_sink, GstBuffer * buf)
23 {
24
25   return GST_FLOW_OK;
26 }
27
28 % end
29