[gst-cvs] gstreamer: init: Fix indent, and ref the gst_buffer_list_item_get_type() class
Jan Schmidt
thaytan at kemper.freedesktop.org
Sat Jun 20 16:16:00 PDT 2009
Module: gstreamer
Branch: master
Commit: c2e980f827c6bdacba333685d05583b0be1599d8
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=c2e980f827c6bdacba333685d05583b0be1599d8
Author: Jan Schmidt <thaytan at noraisin.net>
Date: Sun Jun 21 00:09:53 2009 +0100
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
---
gst/gst.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gst/gst.c b/gst/gst.c
index 5dfe64c..21a6cb6 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -289,7 +289,8 @@ parse_debug_list (const gchar * list)
#endif
#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)
gst_dll_handle = (HMODULE) hinstDLL;
@@ -742,8 +743,8 @@ scan_and_update_registry (GstRegistry * default_registry,
char *base_dir;
char *dir;
- base_dir = g_win32_get_package_installation_directory_of_module (
- gst_dll_handle);
+ base_dir =
+ g_win32_get_package_installation_directory_of_module (gst_dll_handle);
dir = g_build_filename (base_dir, "lib", "gstreamer-0.10", NULL);
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_buffer_flag_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_sync_reply_get_type ());
g_type_class_ref (gst_caps_flags_get_type ());
More information about the Gstreamer-commits
mailing list