51 * @GST_PLAY_FLAG_SOFT_VOLUME: Use software volume |
51 * @GST_PLAY_FLAG_SOFT_VOLUME: Use software volume |
52 * @GST_PLAY_FLAG_NATIVE_AUDIO: only allow native audio formats, this omits |
52 * @GST_PLAY_FLAG_NATIVE_AUDIO: only allow native audio formats, this omits |
53 * configuration of audioconvert and audioresample. |
53 * configuration of audioconvert and audioresample. |
54 * @GST_PLAY_FLAG_NATIVE_VIDEO: only allow native video formats, this omits |
54 * @GST_PLAY_FLAG_NATIVE_VIDEO: only allow native video formats, this omits |
55 * configuration of ffmpegcolorspace and videoscale. |
55 * configuration of ffmpegcolorspace and videoscale. |
|
56 * @GST_PLAY_FLAG_DOWNLOAD: enable progressice download buffering for selected |
|
57 * formats. |
56 * |
58 * |
57 * Extra flags to configure the behaviour of the sinks. |
59 * Extra flags to configure the behaviour of the sinks. |
58 */ |
60 */ |
59 typedef enum { |
61 typedef enum { |
60 GST_PLAY_FLAG_VIDEO = (1 << 0), |
62 GST_PLAY_FLAG_VIDEO = (1 << 0), |
61 GST_PLAY_FLAG_AUDIO = (1 << 1), |
63 GST_PLAY_FLAG_AUDIO = (1 << 1), |
62 GST_PLAY_FLAG_TEXT = (1 << 2), |
64 GST_PLAY_FLAG_TEXT = (1 << 2), |
63 GST_PLAY_FLAG_VIS = (1 << 3), |
65 GST_PLAY_FLAG_VIS = (1 << 3), |
64 GST_PLAY_FLAG_SOFT_VOLUME = (1 << 4), |
66 GST_PLAY_FLAG_SOFT_VOLUME = (1 << 4), |
65 GST_PLAY_FLAG_NATIVE_AUDIO = (1 << 5), |
67 GST_PLAY_FLAG_NATIVE_AUDIO = (1 << 5), |
66 GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 6) |
68 GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 6), |
|
69 GST_PLAY_FLAG_DOWNLOAD = (1 << 7) |
67 } GstPlayFlags; |
70 } GstPlayFlags; |
68 |
71 |
69 #define GST_TYPE_PLAY_FLAGS (gst_play_flags_get_type()) |
72 #define GST_TYPE_PLAY_FLAGS (gst_play_flags_get_type()) |
70 GType gst_play_flags_get_type (void); |
73 GType gst_play_flags_get_type (void); |
71 |
74 |