mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 15:36:42 +00:00
base: Do not use old-style definition
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
319ff17300
commit
9e58164cfb
4 changed files with 5 additions and 5 deletions
|
@ -213,7 +213,7 @@ typedef GHashTable GstXmpSchema;
|
||||||
#define gst_xmp_schema_lookup g_hash_table_lookup
|
#define gst_xmp_schema_lookup g_hash_table_lookup
|
||||||
#define gst_xmp_schema_insert g_hash_table_insert
|
#define gst_xmp_schema_insert g_hash_table_insert
|
||||||
static GstXmpSchema *
|
static GstXmpSchema *
|
||||||
gst_xmp_schema_new ()
|
gst_xmp_schema_new (void)
|
||||||
{
|
{
|
||||||
return g_hash_table_new (g_direct_hash, g_direct_equal);
|
return g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||||
}
|
}
|
||||||
|
@ -1066,7 +1066,7 @@ _init_xmp_tag_map (gpointer user_data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xmp_tags_initialize ()
|
xmp_tags_initialize (void)
|
||||||
{
|
{
|
||||||
static GOnce my_once = G_ONCE_INIT;
|
static GOnce my_once = G_ONCE_INIT;
|
||||||
g_once (&my_once, (GThreadFunc) _init_xmp_tag_map, NULL);
|
g_once (&my_once, (GThreadFunc) _init_xmp_tag_map, NULL);
|
||||||
|
|
|
@ -280,7 +280,7 @@ no_memory:
|
||||||
* Returns: (transfer full): a new #GstBufferPool to allocate video frames
|
* Returns: (transfer full): a new #GstBufferPool to allocate video frames
|
||||||
*/
|
*/
|
||||||
GstBufferPool *
|
GstBufferPool *
|
||||||
gst_video_buffer_pool_new ()
|
gst_video_buffer_pool_new (void)
|
||||||
{
|
{
|
||||||
GstVideoBufferPool *pool;
|
GstVideoBufferPool *pool;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
/* Helper functions to create profiles */
|
/* Helper functions to create profiles */
|
||||||
|
|
||||||
static GstEncodingProfile *
|
static GstEncodingProfile *
|
||||||
create_ogg_profile ()
|
create_ogg_profile (void)
|
||||||
{
|
{
|
||||||
GstEncodingContainerProfile *prof;
|
GstEncodingContainerProfile *prof;
|
||||||
GstCaps *ogg;
|
GstCaps *ogg;
|
||||||
|
|
|
@ -2202,7 +2202,7 @@ create_feedback_buffer (gboolean with_padding)
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstBuffer *
|
static GstBuffer *
|
||||||
create_remb_buffer ()
|
create_remb_buffer (void)
|
||||||
{
|
{
|
||||||
guint8 remb_buffer[20] = {
|
guint8 remb_buffer[20] = {
|
||||||
0x8f, 0xce, 0x00, 0x04,
|
0x8f, 0xce, 0x00, 0x04,
|
||||||
|
|
Loading…
Reference in a new issue