mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Some cleanups
Original commit message from CVS: Some cleanups Add a KEY_UNIT flag for a seek event.
This commit is contained in:
parent
71e51b171c
commit
0a2c1e9c61
3 changed files with 5 additions and 4 deletions
|
@ -73,7 +73,7 @@ void
|
|||
gst_buffer_print_stats (void)
|
||||
{
|
||||
g_log (g_log_domain_gstreamer, G_LOG_LEVEL_INFO,
|
||||
"%d live buffers", _gst_buffer_live);
|
||||
"%d live buffer(s)", _gst_buffer_live);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -68,6 +68,7 @@ typedef enum {
|
|||
|
||||
GST_SEEK_FLAG_FLUSH = (1 << (GST_SEEK_FLAGS_SHIFT + 0)),
|
||||
GST_SEEK_FLAG_ACCURATE = (1 << (GST_SEEK_FLAGS_SHIFT + 1)),
|
||||
GST_SEEK_FLAG_KEY_UNIT = (1 << (GST_SEEK_FLAGS_SHIFT + 2)),
|
||||
} GstSeekType;
|
||||
|
||||
typedef enum {
|
||||
|
|
|
@ -131,10 +131,10 @@ typedef void (*GstPadChainFunction) (GstPad *pad,GstBuffer *buf);
|
|||
typedef GstBuffer* (*GstPadGetFunction) (GstPad *pad);
|
||||
typedef gboolean (*GstPadEventFunction) (GstPad *pad, GstEvent *event);
|
||||
typedef gboolean (*GstPadConvertFunction) (GstPad *pad,
|
||||
GstSeekType src_format, gint64 src_value,
|
||||
GstSeekType *dest_format, gint64 *dest_value);
|
||||
GstFormat src_format, gint64 src_value,
|
||||
GstFormat *dest_format, gint64 *dest_value);
|
||||
typedef gboolean (*GstPadQueryFunction) (GstPad *pad, GstPadQueryType type,
|
||||
GstSeekType *format, gint64 *value);
|
||||
GstFormat *format, gint64 *value);
|
||||
typedef GList* (*GstPadIntConnFunction) (GstPad *pad);
|
||||
|
||||
typedef GstPadConnectReturn (*GstPadConnectFunction) (GstPad *pad, GstCaps *caps);
|
||||
|
|
Loading…
Reference in a new issue