[gstreamer-bugs] [Bug 301158] 2 casts of buf in the gst_ximagesink_chain function (ximagesink plugin)

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Tue Apr 19 04:25:46 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=301158
 GStreamer | gst-plugins | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.8.9



------- Additional Comments From Tim-Philipp Müller  2005-04-19 07:25 -------
There's not run-time type checking involved in GST_BUFFER(data), so the cast is
basically free. I guess it's not very pedagogical though to cast using
GST_BUFFER() and then later to check whether it's an event with GST_IS_EVENT().
That's done in plenty of plugins though, unfortunately. Anyway, fixed in CVS,
thanks.

Cheers
 -Tim


------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list