mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
query: move flags closer to buffering query
This commit is contained in:
parent
39a5e26ea9
commit
016d404ccf
1 changed files with 16 additions and 16 deletions
|
@ -82,22 +82,6 @@ typedef enum {
|
||||||
GST_QUERY_CAPS
|
GST_QUERY_CAPS
|
||||||
} GstQueryType;
|
} GstQueryType;
|
||||||
|
|
||||||
/**
|
|
||||||
* GstBufferingMode:
|
|
||||||
* @GST_BUFFERING_STREAM: a small amount of data is buffered
|
|
||||||
* @GST_BUFFERING_DOWNLOAD: the stream is being downloaded
|
|
||||||
* @GST_BUFFERING_TIMESHIFT: the stream is being downloaded in a ringbuffer
|
|
||||||
* @GST_BUFFERING_LIVE: the stream is a live stream
|
|
||||||
*
|
|
||||||
* The different types of buffering methods.
|
|
||||||
*/
|
|
||||||
typedef enum {
|
|
||||||
GST_BUFFERING_STREAM,
|
|
||||||
GST_BUFFERING_DOWNLOAD,
|
|
||||||
GST_BUFFERING_TIMESHIFT,
|
|
||||||
GST_BUFFERING_LIVE
|
|
||||||
} GstBufferingMode;
|
|
||||||
|
|
||||||
typedef struct _GstQueryTypeDefinition GstQueryTypeDefinition;
|
typedef struct _GstQueryTypeDefinition GstQueryTypeDefinition;
|
||||||
typedef struct _GstQuery GstQuery;
|
typedef struct _GstQuery GstQuery;
|
||||||
|
|
||||||
|
@ -323,6 +307,22 @@ void gst_query_parse_n_formats (GstQuery *query, guint *n_forma
|
||||||
void gst_query_parse_nth_format (GstQuery *query, guint nth, GstFormat *format);
|
void gst_query_parse_nth_format (GstQuery *query, guint nth, GstFormat *format);
|
||||||
|
|
||||||
/* buffering query */
|
/* buffering query */
|
||||||
|
/**
|
||||||
|
* GstBufferingMode:
|
||||||
|
* @GST_BUFFERING_STREAM: a small amount of data is buffered
|
||||||
|
* @GST_BUFFERING_DOWNLOAD: the stream is being downloaded
|
||||||
|
* @GST_BUFFERING_TIMESHIFT: the stream is being downloaded in a ringbuffer
|
||||||
|
* @GST_BUFFERING_LIVE: the stream is a live stream
|
||||||
|
*
|
||||||
|
* The different types of buffering methods.
|
||||||
|
*/
|
||||||
|
typedef enum {
|
||||||
|
GST_BUFFERING_STREAM,
|
||||||
|
GST_BUFFERING_DOWNLOAD,
|
||||||
|
GST_BUFFERING_TIMESHIFT,
|
||||||
|
GST_BUFFERING_LIVE
|
||||||
|
} GstBufferingMode;
|
||||||
|
|
||||||
GstQuery* gst_query_new_buffering (GstFormat format);
|
GstQuery* gst_query_new_buffering (GstFormat format);
|
||||||
void gst_query_set_buffering_percent (GstQuery *query, gboolean busy, gint percent);
|
void gst_query_set_buffering_percent (GstQuery *query, gboolean busy, gint percent);
|
||||||
void gst_query_parse_buffering_percent (GstQuery *query, gboolean *busy, gint *percent);
|
void gst_query_parse_buffering_percent (GstQuery *query, gboolean *busy, gint *percent);
|
||||||
|
|
Loading…
Reference in a new issue