2 * Copyright (C) <2011> Wim Taymans <wim.taymans@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
20 #ifndef __GST_VIDEO_EVENT_H__
21 #define __GST_VIDEO_EVENT_H__
24 #include <gst/video/video-prelude.h>
28 /* video still frame event creation and parsing */
31 GstEvent * gst_video_event_new_still_frame (gboolean in_still);
34 gboolean gst_video_event_parse_still_frame (GstEvent * event, gboolean * in_still);
36 /* video force key unit event creation and parsing */
39 GstEvent * gst_video_event_new_downstream_force_key_unit (GstClockTime timestamp,
40 GstClockTime stream_time,
41 GstClockTime running_time,
46 gboolean gst_video_event_parse_downstream_force_key_unit (GstEvent * event,
47 GstClockTime * timestamp,
48 GstClockTime * stream_time,
49 GstClockTime * running_time,
50 gboolean * all_headers,
54 GstEvent * gst_video_event_new_upstream_force_key_unit (GstClockTime running_time,
59 gboolean gst_video_event_parse_upstream_force_key_unit (GstEvent * event,
60 GstClockTime * running_time,
61 gboolean * all_headers,
65 gboolean gst_video_event_is_force_key_unit(GstEvent *event);
69 #endif /* __GST_VIDEO_EVENT_H__ */