summaryrefslogtreecommitdiff
path: root/tools/element-templates/videosink
blob: d26de559b89216fff8365e2cf1f1107e20a25322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* vim: set filetype=c: */
% ClassName
GstVideoSink
% TYPE_CLASS_NAME
GST_TYPE_VIDEO_SINK
% pads
sinkpad-simple
% pkg-config
gstreamer-video-0.10
% includes
#include <gst/video/gstvideosink.h>
% prototypes

static GstFlowReturn
gst_replace_show_frame (GstVideoSink * video_sink, GstBuffer * buf);


% declare-class
  GstVideoSinkClass *video_sink_class = GST_VIDEO_SINK_CLASS (klass);
% set-methods
  video_sink_class->show_frame = GST_DEBUG_FUNCPTR (gst_replace_show_frame);
% methods

static GstFlowReturn
gst_replace_show_frame (GstVideoSink * video_sink, GstBuffer * buf)
{

  return GST_FLOW_OK;
}

% end