2
* Copyright (C) 2001,2002,2003,2004,2005 Bastien Nocera <hadess@hadess.net>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program 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
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
* The Totem project hereby grant permission for non-gpl compatible GStreamer
19
* plugins to be used and distributed together with GStreamer and Totem. This
20
* permission are above and beyond the permissions granted by the GPL license
21
* Totem is covered by.
23
* Monday 7th February 2005: Christian Schaller: Add exception clause.
24
* See license_change file for details.
28
#ifndef HAVE_TOTEM_GST_HELPERS_H
29
#define HAVE_TOTEM_GST_HELPERS_H
32
#include <gdk-pixbuf/gdk-pixbuf.h>
36
/* GstPlayFlags flags from playbin2 */
38
GST_PLAY_FLAG_VIDEO = (1 << 0),
39
GST_PLAY_FLAG_AUDIO = (1 << 1),
40
GST_PLAY_FLAG_TEXT = (1 << 2),
41
GST_PLAY_FLAG_VIS = (1 << 3),
42
GST_PLAY_FLAG_SOFT_VOLUME = (1 << 4),
43
GST_PLAY_FLAG_NATIVE_AUDIO = (1 << 5),
44
GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 6),
45
GST_PLAY_FLAG_DOWNLOAD = (1 << 7),
46
GST_PLAY_FLAG_BUFFERING = (1 << 8),
47
GST_PLAY_FLAG_DEINTERLACE = (1 << 9)
50
void totem_gst_message_print (GstMessage *msg,
52
const char *filename);
54
GdkPixbuf * totem_gst_playbin_get_frame (GstElement *play);
56
GdkPixbuf * totem_gst_tag_list_get_cover (GstTagList *tag_list);
60
#endif /* HAVE_TOTEM_GST_HELPERS_H */