Blame gst/playback/gstplay-enum.h

Packit 971217
/* GStreamer
Packit 971217
 * Copyright (C) <2007> Wim Taymans <wim.taymans@gmail.com>
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
#ifndef __GST_PLAY_ENUM_H__
Packit 971217
#define __GST_PLAY_ENUM_H__
Packit 971217
Packit 971217
#include <gst/gst.h>
Packit 971217
Packit 971217
G_BEGIN_DECLS
Packit 971217
Packit 971217
/**
Packit 971217
 * GstAutoplugSelectResult:
Packit 971217
 * @GST_AUTOPLUG_SELECT_TRY: try to autoplug the current factory
Packit 971217
 * @GST_AUTOPLUG_SELECT_EXPOSE: expose the pad as a raw stream
Packit 971217
 * @GST_AUTOPLUG_SELECT_SKIP: skip the current factory
Packit 971217
 *
Packit 971217
 * return values for the autoplug-select signal.
Packit 971217
 */
Packit 971217
typedef enum {
Packit 971217
  GST_AUTOPLUG_SELECT_TRY,
Packit 971217
  GST_AUTOPLUG_SELECT_EXPOSE,
Packit 971217
  GST_AUTOPLUG_SELECT_SKIP
Packit 971217
} GstAutoplugSelectResult;
Packit 971217
Packit 971217
#define GST_TYPE_AUTOPLUG_SELECT_RESULT (gst_autoplug_select_result_get_type())
Packit 971217
GType gst_autoplug_select_result_get_type (void);
Packit 971217
Packit 971217
/**
Packit 971217
 * GstPlayFlags:
Packit 971217
 * @GST_PLAY_FLAG_VIDEO: Enable rendering of the video stream
Packit 971217
 * @GST_PLAY_FLAG_AUDIO: Enable rendering of the audio stream
Packit 971217
 * @GST_PLAY_FLAG_TEXT: Enable rendering of subtitles
Packit 971217
 * @GST_PLAY_FLAG_VIS: Enable rendering of visualisations when there is
Packit 971217
 *       no video stream.
Packit 971217
 * @GST_PLAY_FLAG_SOFT_VOLUME: Use software volume
Packit 971217
 * @GST_PLAY_FLAG_NATIVE_AUDIO: only allow native audio formats, this omits
Packit 971217
 *   configuration of audioconvert and audioresample.
Packit 971217
 * @GST_PLAY_FLAG_NATIVE_VIDEO: only allow native video formats, this omits
Packit 971217
 *   configuration of videoconvert and videoscale.
Packit 971217
 * @GST_PLAY_FLAG_DOWNLOAD: enable progressice download buffering for selected
Packit 971217
 *   formats.
Packit 971217
 * @GST_PLAY_FLAG_BUFFERING: enable buffering of the demuxed or parsed data.
Packit 971217
 * @GST_PLAY_FLAG_DEINTERLACE: deinterlace raw video (if native not forced).
Packit 971217
 * @GST_PLAY_FLAG_SOFT_COLORBALANCE: Use a software filter for colour balance
Packit 971217
 * @GST_PLAY_FLAG_FORCE_FILTERS: force audio/video filters to be applied if
Packit 971217
 *   set.
Packit 971217
 *
Packit 971217
 * Extra flags to configure the behaviour of the sinks.
Packit 971217
 */
Packit 971217
typedef enum {
Packit 971217
  GST_PLAY_FLAG_VIDEO         = (1 << 0),
Packit 971217
  GST_PLAY_FLAG_AUDIO         = (1 << 1),
Packit 971217
  GST_PLAY_FLAG_TEXT          = (1 << 2),
Packit 971217
  GST_PLAY_FLAG_VIS           = (1 << 3),
Packit 971217
  GST_PLAY_FLAG_SOFT_VOLUME   = (1 << 4),
Packit 971217
  GST_PLAY_FLAG_NATIVE_AUDIO  = (1 << 5),
Packit 971217
  GST_PLAY_FLAG_NATIVE_VIDEO  = (1 << 6),
Packit 971217
  GST_PLAY_FLAG_DOWNLOAD      = (1 << 7),
Packit 971217
  GST_PLAY_FLAG_BUFFERING     = (1 << 8),
Packit 971217
  GST_PLAY_FLAG_DEINTERLACE   = (1 << 9),
Packit 971217
  GST_PLAY_FLAG_SOFT_COLORBALANCE = (1 << 10),
Packit 971217
  GST_PLAY_FLAG_FORCE_FILTERS = (1 << 11),
Packit 971217
} GstPlayFlags;
Packit 971217
Packit 971217
#define GST_TYPE_PLAY_FLAGS (gst_play_flags_get_type())
Packit 971217
GType gst_play_flags_get_type (void);
Packit 971217
Packit 971217
G_END_DECLS
Packit 971217
Packit 971217
#endif /* __GST_PLAY_ENUM_H__ */