[gstreamer-bugs] [Bug 612454] fix compile errors in latest gst-plugins-bad

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Mar 10 09:59:34 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=612454
  GStreamer | gst-plugins-bad | git

--- Comment #3 from Rob Clark <rob at ti.com> 2010-03-10 17:59:33 UTC ---
Created an attachment (id=155771)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=155771)
fix compile error with trace macro

note that this one isn't a problem with the current trace macros in
gstreamer.git tree..  but causes problems with some replacement trace macros
that I use which expect to be able to concatenate to the fmt string, ie.
something roughly like: 

  #define GST_CAT_LEVEL_LOG_obj(cat,level,object,str,args...) G_STMT_START{  \
    if (G_UNLIKELY (level <= __gst_debug_min)) {                             \
      const GstDebugTraceLocation loc = GST_DEBUG_TRACE_LOCATION();          \
      gst_debug_log2 ((cat), (level), &loc, NULL, "<%"GST_PTR_FORMAT"> "str,  
\
          (object), ##args );                                                \
    }                                                                        \
  }G_STMT_END

so this 4th patch isn't strictly required.  But it has no downside and it saves
me from having to re-patch my local code every time I update to newer
gst-plugins-bad ;-)

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