[Bug 766510] New: videosink: test_video_center_rect raise a warning when turning on debug

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 16 10:52:38 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766510

            Bug ID: 766510
           Summary: videosink: test_video_center_rect raise a warning when
                    turning on debug
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gdesmott at gnome.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

GST_DEBUG=5 G_DEBUG=fatal-warnings make check TESTS=libs/video

0:00:00.023606512 27778      0x16d1600 DEBUG                  check
libs/video.c:2416:test_video_center_rect: test start

(lt-video:27778): GStreamer-CRITICAL **: gst_debug_log_valist: assertion
'category != NULL' failed

That's because the the unit test calls gst_video_sink_center_rect() without
instantiating a GstVideoSink first so the debug category has not been init.

Strictly speaking this is correct I think so the debug category should be
initialized if needed when this function is called.

-- 
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