Closed GoogleCodeExporter closed 8 years ago
I would like to comment on this issue in a different situation.
When calling this kind of code repetadly like in a loop of singleton.
foo () {
Gst.init("GstreamerTranscoding", new String[] {});
final Pipeline pipe = new Pipeline("Gstreamer");
// add elements to pipeline
Gst.deinit();
}
Invalid native pointer Exception is thrown while calling Pipeline constructor.
However the same doesn't happen if the Gst.deinit() is removed.
Not sure if this is an issue or an already known bug. Any idea?
gstreamer-java --> 1.4
gstreamer-0.10 --> 0.10.35
Original comment by sw360...@gmail.com
on 23 Dec 2011 at 11:49
The Gst.init() / Gst.deinit() crash should probably be reported as a separate
issue.
Original comment by tsha...@gmail.com
on 24 Dec 2011 at 4:09
the constructor you use:
Structure b = new Structure(a);
is just a name for the structure:
http://gstreamer-java.googlecode.com/svn/trunk/javadoc/1.5/org/gstreamer/Structu
re.html#Structure(java.lang.String)
you should use this fucttion:
http://gstreamer-java.googlecode.com/svn/trunk/javadoc/1.5/org/gstreamer/Structu
re.html#fromString(java.lang.String)
if it's still not working reopen this bug.
Original comment by lfar...@lfarkas.org
on 4 Jan 2012 at 2:04
Original issue reported on code.google.com by
paolo.bo...@studenti.unipr.it
on 28 Nov 2011 at 6:36