diff --git a/gstreamer-sharp/coreplugins/Makefile.am b/gstreamer-sharp/coreplugins/Makefile.am index d0b1b4b2bf..88d32d427b 100644 --- a/gstreamer-sharp/coreplugins/Makefile.am +++ b/gstreamer-sharp/coreplugins/Makefile.am @@ -1,10 +1,12 @@ -#ELEMENTS = capsfilter fakesrc fakesink fdsrc fdsink filesrc filesink identity queue tee typefind multiqueue -ELEMENTS = capsfilter typefind +ELEMENTS = capsfilter fakesrc fakesink fdsrc fdsink filesrc filesink identity queue tee typefind multiqueue NAMESPACE = Gst.CorePlugins INSPECT_FILES = $(patsubst %,inspect/%.raw,$(ELEMENTS)) CUSTOM_FILES = -METADATA_FILES = typefind.metadata +METADATA_FILES = typefind.metadata \ + fakesrc.metadata \ + fakesink.metadata \ + identity.metadata CS_FILES = $(patsubst %,%.cs,$(ELEMENTS)) XML_FILES = $(patsubst %,%.xml,$(ELEMENTS)) diff --git a/gstreamer-sharp/coreplugins/fakesink.metadata b/gstreamer-sharp/coreplugins/fakesink.metadata new file mode 100644 index 0000000000..15acf62e35 --- /dev/null +++ b/gstreamer-sharp/coreplugins/fakesink.metadata @@ -0,0 +1,8 @@ + + + Buffer + Pad + Buffer + Pad + + diff --git a/gstreamer-sharp/coreplugins/fakesrc.metadata b/gstreamer-sharp/coreplugins/fakesrc.metadata new file mode 100644 index 0000000000..0c88923d5b --- /dev/null +++ b/gstreamer-sharp/coreplugins/fakesrc.metadata @@ -0,0 +1,6 @@ + + + Buffer + Pad + + diff --git a/gstreamer-sharp/coreplugins/identity.metadata b/gstreamer-sharp/coreplugins/identity.metadata new file mode 100644 index 0000000000..6d5d4c4285 --- /dev/null +++ b/gstreamer-sharp/coreplugins/identity.metadata @@ -0,0 +1,5 @@ + + + Buffer + + diff --git a/gstreamer-sharp/coreplugins/inspect/fakesink.raw b/gstreamer-sharp/coreplugins/inspect/fakesink.raw new file mode 100644 index 0000000000..82a68c17bc --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/fakesink.raw @@ -0,0 +1,224 @@ + + fakesink +
+ Fake Sink + Sink + Black hole for data + Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>, Mr. 'frag-me-more' Vanderwingo <wingo@fluendo.com> +
+ + + + + + + + + + + + + + + sink + sink + always + ANY + + + + + + + + + + + + + + sink + sink + + + + + + + + + + + preroll-queue-len + guint + Preroll queue length + Number of buffers to queue during preroll + RW + + 0 + + + sync + gboolean + Sync + Sync on the clock + RW + FALSE + + + max-lateness + gint64 + Max Lateness + Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) + RW + + -1 + + + qos + gboolean + Qos + Generate Quality-of-Service events upstream + RW + FALSE + + + async + gboolean + Async + Go asynchronously to PAUSED + RW + TRUE + + + ts-offset + gint64 + TS Offset + Timestamp offset in nanoseconds + RW + + 0 + + + last-buffer + GstBuffer + Last Buffer + The last buffer received in the sink + RW + + + blocksize + guint + Block size + Size in bytes to pull per buffer (0 = default) + RW + + 4096 + + + render-delay + guint64 + Render Delay + Additional render delay of the sink in nanoseconds + RW + + 0 + + + state-error + GstFakeSinkStateError + State Error + Generate a state change error + RW + 0 + + + + + + + + + + + + silent + gboolean + Silent + Don't produce last_message events + RW + FALSE + + + dump + gboolean + Dump + Dump buffer contents to stdout + RW + FALSE + + + signal-handoffs + gboolean + Signal handoffs + Send a signal before unreffing the buffer + RW + FALSE + + + last-message + gchararray + Last Message + The message describing current status + RW + NULL + + + can-activate-push + gboolean + Can activate push + Can activate in push mode + RW + TRUE + + + can-activate-pull + gboolean + Can activate pull + Can activate in pull mode + RW + FALSE + + + num-buffers + gint + num-buffers + Number of buffers to accept going EOS + RW + + -1 + + + + + handoff + void + GstFakeSink + + GstBuffer + GstPad + + + + preroll-handoff + void + GstFakeSink + + GstBuffer + GstPad + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/fakesrc.raw b/gstreamer-sharp/coreplugins/inspect/fakesrc.raw new file mode 100644 index 0000000000..cbf5029d99 --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/fakesrc.raw @@ -0,0 +1,263 @@ + + fakesrc +
+ Fake Source + Source + Push empty (no data) buffers around + Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com> +
+ + + + + + + + + + + + + + + src + src + always + ANY + + + + + + + + + + + + + + src + src + + + + + + + + + + + blocksize + gulong + Block size + Size in bytes to read per buffer (-1 = default) + RW + + 4096 + + + num-buffers + gint + num-buffers + Number of buffers to output before sending EOS (-1 = unlimited) + RW + + -1 + + + typefind + gboolean + Typefind + Run typefind before negotiating + RW + FALSE + + + do-timestamp + gboolean + Do timestamp + Apply current stream time to buffers + RW + FALSE + + + data + GstFakeSrcDataType + data + Data allocation method + RW + 1 + + + + + + + sizetype + GstFakeSrcSizeType + sizetype + How to determine buffer sizes + RW + 1 + + + + + + + + sizemin + gint + sizemin + Minimum buffer size + RW + + 0 + + + sizemax + gint + sizemax + Maximum buffer size + RW + + 4096 + + + filltype + GstFakeSrcFillType + filltype + How to fill the buffer, if at all + RW + 1 + + + + + + + + + + datarate + gint + Datarate + Timestamps buffers with number of bytes per second (0 = none) + RW + + 0 + + + sync + gboolean + Sync + Sync to the clock to the datarate + RW + FALSE + + + pattern + gchararray + pattern + pattern + RW + NULL + + + signal-handoffs + gboolean + Signal handoffs + Send a signal before pushing the buffer + RW + FALSE + + + silent + gboolean + Silent + Don't produce last_message events + RW + FALSE + + + dump + gboolean + Dump + Dump buffer contents to stdout + RW + FALSE + + + parentsize + gint + parentsize + Size of parent buffer for sub-buffered allocation + RW + + 40960 + + + last-message + gchararray + last-message + The last status message + RW + NULL + + + can-activate-pull + gboolean + Can activate pull + Can activate in pull mode + RW + TRUE + + + can-activate-push + gboolean + Can activate push + Can activate in push mode + RW + TRUE + + + is-live + gboolean + Is this a live source + True if the element cannot produce data in PAUSED + RW + FALSE + + + format + GstFormat + Format + The format of the segment events + RW + 2 + + + + + + + + + + + + + handoff + void + GstFakeSrc + + GstBuffer + GstPad + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/fdsink.raw b/gstreamer-sharp/coreplugins/inspect/fdsink.raw new file mode 100644 index 0000000000..792ff9f191 --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/fdsink.raw @@ -0,0 +1,143 @@ + + fdsink +
+ Filedescriptor Sink + Sink/File + Write data to a file descriptor + Erik Walthinsen <omega@cse.ogi.edu> +
+ + + + + + + + + + + + + + + + sink + sink + always + ANY + + + + + + + + + + + + + + sink + sink + + + + + + + + + + + + preroll-queue-len + guint + Preroll queue length + Number of buffers to queue during preroll + RW + + 0 + + + sync + gboolean + Sync + Sync on the clock + RW + TRUE + + + max-lateness + gint64 + Max Lateness + Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) + RW + + -1 + + + qos + gboolean + Qos + Generate Quality-of-Service events upstream + RW + FALSE + + + async + gboolean + Async + Go asynchronously to PAUSED + RW + TRUE + + + ts-offset + gint64 + TS Offset + Timestamp offset in nanoseconds + RW + + 0 + + + last-buffer + GstBuffer + Last Buffer + The last buffer received in the sink + RW + + + blocksize + guint + Block size + Size in bytes to pull per buffer (0 = default) + RW + + 4096 + + + render-delay + guint64 + Render Delay + Additional render delay of the sink in nanoseconds + RW + + 0 + + + fd + gint + fd + An open file descriptor to write to + RW + + 1 + + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/fdsrc.raw b/gstreamer-sharp/coreplugins/inspect/fdsrc.raw new file mode 100644 index 0000000000..f572b23316 --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/fdsrc.raw @@ -0,0 +1,111 @@ + + fdsrc +
+ Filedescriptor Source + Source/File + Read from a file descriptor + Erik Walthinsen <omega@cse.ogi.edu> +
+ + + + + + + + + + + + + + + + + + src + src + always + ANY + + + + + + + + + + + + + + src + src + + + + + + + + + + + blocksize + gulong + Block size + Size in bytes to read per buffer (-1 = default) + RW + + 4096 + + + num-buffers + gint + num-buffers + Number of buffers to output before sending EOS (-1 = unlimited) + RW + + -1 + + + typefind + gboolean + Typefind + Run typefind before negotiating + RW + FALSE + + + do-timestamp + gboolean + Do timestamp + Apply current stream time to buffers + RW + FALSE + + + fd + gint + fd + An open file descriptor to read from + RW + + 0 + + + timeout + guint64 + Timeout + Post a message after timeout microseconds (0 = disabled) + RW + + 0 + + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/filesink.raw b/gstreamer-sharp/coreplugins/inspect/filesink.raw new file mode 100644 index 0000000000..d61e0e10ac --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/filesink.raw @@ -0,0 +1,165 @@ + + filesink +
+ File Sink + Sink/File + Write stream to a file + Thomas Vander Stichele <thomas at apestaart dot org> +
+ + + + + + + + + + + + + + + + sink + sink + always + ANY + + + + + + + + + + + + + + sink + sink + + + + + + + + + + + + preroll-queue-len + guint + Preroll queue length + Number of buffers to queue during preroll + RW + + 0 + + + sync + gboolean + Sync + Sync on the clock + RW + FALSE + + + max-lateness + gint64 + Max Lateness + Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited) + RW + + -1 + + + qos + gboolean + Qos + Generate Quality-of-Service events upstream + RW + FALSE + + + async + gboolean + Async + Go asynchronously to PAUSED + RW + TRUE + + + ts-offset + gint64 + TS Offset + Timestamp offset in nanoseconds + RW + + 0 + + + last-buffer + GstBuffer + Last Buffer + The last buffer received in the sink + RW + + + blocksize + guint + Block size + Size in bytes to pull per buffer (0 = default) + RW + + 4096 + + + render-delay + guint64 + Render Delay + Additional render delay of the sink in nanoseconds + RW + + 0 + + + location + gchararray + File Location + Location of the file to write + RW + NULL + + + buffer-mode + GstFileSinkBufferMode + Buffering mode + The buffering mode to use + RW + -1 + + + + + + + + + buffer-size + guint + Buffering size + Size of buffer in number of bytes for line or full buffer-mode + RW + + 65536 + + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/filesrc.raw b/gstreamer-sharp/coreplugins/inspect/filesrc.raw new file mode 100644 index 0000000000..7cdf309d56 --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/filesrc.raw @@ -0,0 +1,141 @@ + + filesrc +
+ File Source + Source/File + Read from arbitrary point in a file + Erik Walthinsen <omega@cse.ogi.edu> +
+ + + + + + + + + + + + + + + + src + src + always + ANY + + + + + + + + + + + + + + src + src + + + + + + + + + + + blocksize + gulong + Block size + Size in bytes to read per buffer (-1 = default) + RW + + 4096 + + + num-buffers + gint + num-buffers + Number of buffers to output before sending EOS (-1 = unlimited) + RW + + -1 + + + typefind + gboolean + Typefind + Run typefind before negotiating + RW + FALSE + + + do-timestamp + gboolean + Do timestamp + Apply current stream time to buffers + RW + FALSE + + + location + gchararray + File Location + Location of the file to read + RW + NULL + + + fd + gint + File-descriptor + File-descriptor for the file being mmap()d + RW + + 0 + + + mmapsize + gulong + mmap() Block Size + Size in bytes of mmap()d regions + RW + + 4194304 + + + sequential + gboolean + Optimise for sequential mmap access + Whether to use madvise to hint to the kernel that access to mmap pages will be sequential + RW + FALSE + + + touch + gboolean + Touch mapped region read data + Touch mmapped data regions to force them to be read from disk + RW + TRUE + + + use-mmap + gboolean + Use mmap to read data + Whether to use mmap() instead of read() + RW + FALSE + + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/identity.raw b/gstreamer-sharp/coreplugins/inspect/identity.raw new file mode 100644 index 0000000000..2d0365ed8d --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/identity.raw @@ -0,0 +1,195 @@ + + identity +
+ Identity + Generic + Pass data without modification + Erik Walthinsen <omega@cse.ogi.edu> +
+ + + + + + + + + + + + + + + sink + sink + always + ANY + + + src + src + always + ANY + + + + + + + + + + + + + + src + src + + + + + + + + sink + sink + + + + + + + + + + + qos + gboolean + QoS + Handle Quality-of-Service events + RW + FALSE + + + sleep-time + guint + Sleep time + Microseconds to sleep between processing + RW + + 0 + + + error-after + gint + Error After + Error after N buffers + RW + + -1 + + + drop-probability + gfloat + Drop Probability + The Probability a buffer is dropped + RW + + 0,000000 + + + datarate + gint + Datarate + (Re)timestamps buffers with number of bytes per second (0 = inactive) + RW + + 0 + + + silent + gboolean + silent + silent + RW + FALSE + + + single-segment + gboolean + Single Segment + Timestamp buffers and eat newsegments so as to appear as one segment + RW + FALSE + + + last-message + gchararray + last-message + last-message + RW + NULL + + + dump + gboolean + Dump + Dump buffer contents to stdout + RW + FALSE + + + sync + gboolean + Synchronize + Synchronize to pipeline clock + RW + FALSE + + + check-perfect + gboolean + Check For Perfect Stream + Verify that the stream is time- and data-contiguous. This only logs in the debug log. This will be deprecated in favor of the check-imperfect-timestamp/offset properties. + RW + FALSE + + + check-imperfect-timestamp + gboolean + Check for discontiguous timestamps + Send element messages if timestamps and durations do not match up + RW + FALSE + + + check-imperfect-offset + gboolean + Check for discontiguous offset + Send element messages if offset and offset_end do not match up + RW + FALSE + + + signal-handoffs + gboolean + Signal handoffs + Send a signal before pushing the buffer + RW + TRUE + + + + + handoff + void + GstIdentity + + GstBuffer + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/multiqueue.raw b/gstreamer-sharp/coreplugins/inspect/multiqueue.raw new file mode 100644 index 0000000000..04a1274fb1 --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/multiqueue.raw @@ -0,0 +1,119 @@ + + multiqueue +
+ MultiQueue + Generic + Multiple data queue + Edward Hervey <edward@fluendo.com> +
+ + + + + + + + + + + + + src%d + src + sometimes + ANY + + + sink%d + sink + request + gst_multi_queue_request_new_pad + ANY + + + + + + + + + + + + + + + + extra-size-bytes + guint + Extra Size (kB) + Amount of data the queues can grow if one of them is empty (bytes, 0=disable) + RW + + 10485760 + + + extra-size-buffers + guint + Extra Size (buffers) + Amount of buffers the queues can grow if one of them is empty (0=disable) + RW + + 5 + + + extra-size-time + guint64 + Extra Size (ns) + Amount of time the queues can grow if one of them is empty (in ns, 0=disable) + RW + + 3000000000 + + + max-size-bytes + guint + Max. size (kB) + Max. amount of data in the queue (bytes, 0=disable) + RW + + 10485760 + + + max-size-buffers + guint + Max. size (buffers) + Max. number of buffers in the queue (0=disable) + RW + + 5 + + + max-size-time + guint64 + Max. size (ns) + Max. amount of data in the queue (in ns, 0=disable) + RW + + 2000000000 + + + + + underrun + void + GstMultiQueue + + + + + overrun + void + GstMultiQueue + + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/queue.raw b/gstreamer-sharp/coreplugins/inspect/queue.raw new file mode 100644 index 0000000000..a527ccb55e --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/queue.raw @@ -0,0 +1,191 @@ + + queue +
+ Queue + Generic + Simple data queue + Erik Walthinsen <omega@cse.ogi.edu> +
+ + + + + + + + + + + + + sink + sink + always + ANY + + + src + src + always + ANY + + + + + + + + + + + + + + src + src + + + + + + + + sink + sink + + + + + + + + + + + current-level-buffers + guint + Current level (buffers) + Current number of buffers in the queue + RW + + 0 + + + current-level-bytes + guint + Current level (kB) + Current amount of data in the queue (bytes) + RW + + 0 + + + current-level-time + guint64 + Current level (ns) + Current amount of data in the queue (in ns) + RW + + 0 + + + max-size-buffers + guint + Max. size (buffers) + Max. number of buffers in the queue (0=disable) + RW + + 200 + + + max-size-bytes + guint + Max. size (kB) + Max. amount of data in the queue (bytes, 0=disable) + RW + + 10485760 + + + max-size-time + guint64 + Max. size (ns) + Max. amount of data in the queue (in ns, 0=disable) + RW + + 1000000000 + + + min-threshold-buffers + guint + Min. threshold (buffers) + Min. number of buffers in the queue to allow reading (0=disable) + RW + + 0 + + + min-threshold-bytes + guint + Min. threshold (kB) + Min. amount of data in the queue to allow reading (bytes, 0=disable) + RW + + 0 + + + min-threshold-time + guint64 + Min. threshold (ns) + Min. amount of data in the queue to allow reading (in ns, 0=disable) + RW + + 0 + + + leaky + GstQueueLeaky + Leaky + Where the queue leaks, if at all + RW + 0 + + + + + + + + + + underrun + void + GstQueue + + + + + running + void + GstQueue + + + + + overrun + void + GstQueue + + + + + pushing + void + GstQueue + + + + + + +
diff --git a/gstreamer-sharp/coreplugins/inspect/tee.raw b/gstreamer-sharp/coreplugins/inspect/tee.raw new file mode 100644 index 0000000000..f0790bbeed --- /dev/null +++ b/gstreamer-sharp/coreplugins/inspect/tee.raw @@ -0,0 +1,121 @@ + + tee +
+ Tee pipe fitting + Generic + 1-to-N pipe fitting + Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com> +
+ + + + + + + + + + + + + src%d + src + request + gst_tee_request_new_pad + ANY + + + sink + sink + always + ANY + + + + + + + + + + + + + + sink + sink + + + + + + + + + + num-src-pads + gint + Num Src Pads + The number of source pads + RW + + 0 + + + has-sink-loop + gboolean + Has Sink Loop + If the element should spawn a thread (unimplemented and deprecated) + RW + FALSE + + + has-chain + gboolean + Has Chain + If the element can operate in push mode + RW + TRUE + + + silent + gboolean + Silent + Don't produce last_message events + RW + TRUE + + + last-message + gchararray + Last Message + The message describing current status + RW + NULL + + + pull-mode + GstTeePullMode + Pull mode + Behavior of tee in pull mode + RW + 0 + + + + + + + alloc-pad + GstPad + Allocation Src Pad + The pad used for gst_pad_alloc_buffer + RW + GstPad + + + + + + +