mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
init: Fix indent, and ref the gst_buffer_list_item_get_type() class
Fix the check tests by reffing the GstBufferList class. Run gst-indent to make git happy about some existing stuff
This commit is contained in:
parent
ecf142bbe0
commit
c2e980f827
1 changed files with 5 additions and 3 deletions
|
@ -289,7 +289,8 @@ parse_debug_list (const gchar * list)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI
|
||||||
|
DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
if (fdwReason == DLL_PROCESS_ATTACH)
|
if (fdwReason == DLL_PROCESS_ATTACH)
|
||||||
gst_dll_handle = (HMODULE) hinstDLL;
|
gst_dll_handle = (HMODULE) hinstDLL;
|
||||||
|
@ -742,8 +743,8 @@ scan_and_update_registry (GstRegistry * default_registry,
|
||||||
char *base_dir;
|
char *base_dir;
|
||||||
char *dir;
|
char *dir;
|
||||||
|
|
||||||
base_dir = g_win32_get_package_installation_directory_of_module (
|
base_dir =
|
||||||
gst_dll_handle);
|
g_win32_get_package_installation_directory_of_module (gst_dll_handle);
|
||||||
|
|
||||||
dir = g_build_filename (base_dir, "lib", "gstreamer-0.10", NULL);
|
dir = g_build_filename (base_dir, "lib", "gstreamer-0.10", NULL);
|
||||||
GST_DEBUG ("scanning DLL dir %s", dir);
|
GST_DEBUG ("scanning DLL dir %s", dir);
|
||||||
|
@ -1019,6 +1020,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
||||||
g_type_class_ref (gst_bin_flags_get_type ());
|
g_type_class_ref (gst_bin_flags_get_type ());
|
||||||
g_type_class_ref (gst_buffer_flag_get_type ());
|
g_type_class_ref (gst_buffer_flag_get_type ());
|
||||||
g_type_class_ref (gst_buffer_copy_flags_get_type ());
|
g_type_class_ref (gst_buffer_copy_flags_get_type ());
|
||||||
|
g_type_class_ref (gst_buffer_list_item_get_type ());
|
||||||
g_type_class_ref (gst_bus_flags_get_type ());
|
g_type_class_ref (gst_bus_flags_get_type ());
|
||||||
g_type_class_ref (gst_bus_sync_reply_get_type ());
|
g_type_class_ref (gst_bus_sync_reply_get_type ());
|
||||||
g_type_class_ref (gst_caps_flags_get_type ());
|
g_type_class_ref (gst_caps_flags_get_type ());
|
||||||
|
|
Loading…
Reference in a new issue