[gstreamer-bugs] [Bug 625396] New: gst_debug_remove_log_function doesn't remove default log handler

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 27 07:18:58 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=625396
  GStreamer | gstreamer (core) | 0.10.30

           Summary: gst_debug_remove_log_function doesn't remove default
                    log handler
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.30
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wl2776 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


I've defined a custom log function, using OutputDebugString.

My application has the code:

gst_init(&argc,&argv);

GST_DEBUG_CATEGORY_INIT (player_category, "player", 0, 
                  g_locale_to_utf8("Отладочные сообщения плеера",-1,0,0,0));
gst_debug_set_active(TRUE);
gst_debug_add_log_function((GstLogFunction)gst_log_function,NULL);
gst_debug_remove_log_function(gst_debug_log_default);

I am getting duplicate messages, which suggests that the last line worked
incorrectly

I use GStreamer-winbuilds with merged commit
4cecd73c93b0728cd0e4980ed8d0940c93f9129e

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list