~titan-lien/ubuntu/saucy/totem/totem.dev

« back to all changes in this revision

Viewing changes to src/gst/totem-gst-helpers.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Sjoerd Simons, Michael Biebl, Josselin Mouette
  • Date: 2011-11-27 06:21:34 UTC
  • mfrom: (1.4.8) (5.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20111127062134-c3ikko9wdfn9m2av
Tags: 3.2.1-1
[ Sjoerd Simons ]
* New upstream release
* debian/control.in: Update build-depends
* debian/rules: Enable vala plugins
* debian/totem-plugins.install:
  - Add grilo and rotation plugins
  - Remove jamendo, thumbnail and tracker plugins

[ Michael Biebl ]
* debian/control.in:
  - Bump Depends on python-gobject to (>= 2.90.3).

[ Josselin Mouette ]
* Replace python-gobject dependencies by python-gi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2001,2002,2003,2004,2005 Bastien Nocera <hadess@hadess.net>
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
17
 *
 
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.
 
22
 *
 
23
 * Monday 7th February 2005: Christian Schaller: Add exception clause.
 
24
 * See license_change file for details.
 
25
 *
 
26
 */
 
27
 
 
28
#ifndef HAVE_TOTEM_GST_HELPERS_H
 
29
#define HAVE_TOTEM_GST_HELPERS_H
 
30
 
 
31
#include <gst/gst.h>
 
32
#include <gdk-pixbuf/gdk-pixbuf.h>
 
33
 
 
34
G_BEGIN_DECLS
 
35
 
 
36
/* GstPlayFlags flags from playbin2 */
 
37
typedef enum {
 
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)
 
48
} GstPlayFlags;
 
49
 
 
50
void totem_gst_message_print (GstMessage *msg,
 
51
                              GstElement *play,
 
52
                              const char *filename);
 
53
 
 
54
GdkPixbuf * totem_gst_playbin_get_frame (GstElement *play);
 
55
 
 
56
GdkPixbuf * totem_gst_tag_list_get_cover (GstTagList *tag_list);
 
57
 
 
58
G_END_DECLS
 
59
 
 
60
#endif                          /* HAVE_TOTEM_GST_HELPERS_H */