[gst-devel] Simple Video Sink Plugin
Patrick Holthaus
patrick.holthaus at uni-bielefeld.de
Tue Dec 12 20:11:59 CET 2006
Hey!
Thanks to everyone who provided me tips & tricks. Finally my plugin can be
load by GStreamer and is listed in the gst-inspect output.
Nontheless gst-inspect dies with a segmentation fault on listing the
properties of my element. I have no clue why. Any help is appreciated. I
attached the output of gdb and my source file.
Thanks again,
Patrick
-------------- next part --------------
$ gdb /usr/bin/gst-inspect-0.10
[..]
(gdb) set args javasink
(gdb) run
Starting program: /usr/bin/gst-inspect-0.10 javasink
Failed to read a valid object file image from memory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1213105696 (LWP 5683)]
Factory Details:
Long name: Video sink
Class: Sink/Video
Description: Java Sink for Gstreamer
Author(s): Patrick Holthaus <pholthau at techfak.uni-bielefeld.de>
Rank: none (0)
Plugin Details:
Name: javasink
Description: Java Sink
Filename: /home/pholthau/.gstreamer-0.10/plugins/libgstjavasink.so
Version: 0.10.0.1
License: LGPL
Source module: gst-plugin
Binary package: none
Origin URL: http://www.uni-bielefeld.de/
GObject
+----GstObject
+----GstElement
+----GstBaseSink
+----GstVideoSink
+----GstJavaSink
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw-rgb
framerate: [ 0/1, 2147483647/1 ]
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
Element Flags:
no flags set
Element Implementation:
No loopfunc(), must be chain-based or not configured yet
Has change_state() function: gst_base_sink_change_state
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): gst_javasink_chain
Has custom eventfunc(): gst_base_sink_event
Has bufferallocfunc(): gst_base_sink_pad_buffer_alloc
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "javasink0"
preroll-queue-len : Number of buffers to queue during preroll
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 0 Current: 0
sync : Sync on the clock
flags: readable, writable
Boolean. Default: true Current: true
max-lateness : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
flags: readable, writable
Integer64. Range: -1 - 9223372036854775807 Default: -1 Current: 20000000
qos : Generate QoS events upstream
flags: readable, writable
Boolean. Default: false Current: true
env : The Java Environment
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213105696 (LWP 5683)]
0xb7f29004 in ?? ()
(gdb) info threads
* 1 Thread -1213105696 (LWP 5683) 0xb7f29004 in ?? ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstjavasink.h
Type: text/x-chdr
Size: 1085 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061212/f91ed95e/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstjavasink.c
Type: text/x-csrc
Size: 4582 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061212/f91ed95e/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061212/f91ed95e/attachment.pgp>
More information about the gstreamer-devel
mailing list