Mon Jan 12 03:09:42 EST 2009 Peter Gavin <pg...@gm...>
* gstreamer: make peekStructure create a copy of the structure
this is probably safer because it's not always safe to make the structure immutable
hunk ./gstreamer/Media/Streaming/GStreamer/Core/Types.chs.pp 663
-peekStructure =
- mkNewStructure $ newForeignPtr_
+peekStructure ptr = do
+ copy <- gst_structure_copy ptr
+ takeStructure copy
+ where _ = {#call structure_copy#}
|